/* nothing-you-could-do-regular */
@font-face {
  font-display: swap;
  font-family: 'Nothing You Could Do';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/nothing-you-could-do-v20-latin-regular.woff2') format('woff2');
}

/* poppins-200 */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/poppins-v23-latin-200.woff2') format('woff2');
}
/* poppins-regular */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v23-latin-regular.woff2') format('woff2');
}
/* poppins-500 */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v23-latin-500.woff2') format('woff2');
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f0eae3;
}

header {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
}
header img {
  width: 100%;
}

h1 {
  position: relative;
  padding: 40px 0;
  font-size: 2.5rem;
  font-family: 'Nothing You Could Do', cursive;
  color: #213d4e;
  text-align: center;
}

main {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

main p {
  font-size: 1.2rem;
}

.button {
  display: block;
  width: 250px;
  max-width: 90%;
  margin: 60px auto 60px auto;
  background-color: #548bad;
  color: white;
  padding: 20px 25px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #406b85;
}

footer {
  background-color: #fff;
  padding: 60px 20px 140px 20px;
  margin-top: 50px;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

footer div {
  width: 80%;
  max-width: 400px;
}

footer h3 {
  margin-top: 0;
  color: #a49a70;
}

@media (max-width: 600px) {
h1 {
    font-size: 2.3rem;
  }

  main p {
    font-size: 1rem;
  }

  .button {
    font-size: 1rem;
    padding: 12px 20px;
  }

  footer {
    flex-direction: column;
    align-items: center;
  }
}
