@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/Poppins-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/Poppins-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Shadows Into Light";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/Shadows-Into-Light-Regular.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  color: #212121;
}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ccedff;
  padding: 0 10px;
}

.content {
  max-width: 800px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 15px;
}

h1,
p {
  margin: 0;
}

h1 {
  font-family: "Shadows Into Light", cursive;
  color: #212121;
  margin-top: 0;
  font-size: 2.25rem;
  font-weight: 400;
}

p {
  text-align: center;
  color: #212121;
  line-height: 1.6;
}

.button {
  display: inline-block;
  text-decoration: none;
  background-color: #005685;
  color: #f5f5f5;
  border-radius: 10px;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  padding: 0.667em 1.333em;
  font-weight: 500;
  transition: background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background-color: #00466d;
}

@media (max-width: 767px) {
  .content {
    max-width: 600px;
  }
}

@media (max-width: 478px) {
  .content {
    max-width: 350px;
    padding: 25px 10px;
  }
}
