body {
  font-family: "Poppins", sans-serif;
  background-color: #272044;
}

section {
  max-width: 1600px;
  padding: 100px 30px;
}

section.secondary {
  background-color: #f8f8f8;
}

h2 {
  font-weight: 700;
  font-size: 40px;
  margin: 0;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #272044;
  margin: 0;
}

h4 {
  font-weight: 700;
  font-size: 16px;
  color: #272044;
  letter-spacing: 5px;
  margin: 0;
  text-transform: uppercase;
}

h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #272044;
}

p {
  font-weight: 400;
  font-size: 16px;
  color: #272044;
  opacity: 0.6;
}

header {
  text-align: center;
  padding: 282px 150px;
  color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/background-header.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
}

header h4 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 5px;
  color: white;
  line-height: 1.5;
}

header h1 {
  font-size: 96px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

header h2 {
  font-size: 40px;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}

header a.button {
  padding: 16px 32px;
  background-color: white;
  color: #272044;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  display: inline-block;
  margin-top: 32px;
}

main {
  background-color: white;
}

footer {
  text-align: left;
  color: white;
  background-image: linear-gradient(
      rgba(39, 32, 68, 0.7),
      rgba(39, 32, 68, 0.7)
    ),
    url(../images/background-footer.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
}

footer h4 {
  color: white;
  letter-spacing: normal;
}

footer p {
  color: white;
}

footer a {
  text-decoration: underline;
  color: white;
}

.button {
  padding: 16px 32px;
  background-color: #462cb2;
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  display: block;
  margin: 30px;
}

.img-responsive {
  width: 100%;
  aspect-ratio: 21/19;
}

.embed {
  width: 100%;
  aspect-ratio: 1/1;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
}

.grid-ubatuba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 100px;
  padding: 100px;
}

.grid-ubatuba h4 {
  opacity: 0.2;
}

.grid-3-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

.cards-gallery {
  margin: 70px 170px;
}

.card {
  background-color: white;
  margin: 30px 0px;
}

.card-header.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.card-header img {
  aspect-ratio: 1/1;
}

.card-body {
  padding: 30px;
}

.gallery {
  margin: 100px 170px;
}

.grid-footer {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  grid-gap: 100px;
}

.text-center {
  text-align: center;
}

a:hover {
  color: #578ab1;
  cursor: pointer;
}

@media (max-width: 900px) {
  header {
    padding: 60px;
  }

  header h1 {
    font-size: 44px;
  }

  header h2 {
    font-size: 20px;
  }

  header h4 {
    font-size: 16px;
  }

  h2 {
    font-size: 30px;
    text-align: center;
  }

  section {
    margin: 0;
    padding: 30px 20px;
  }

  .grid {
    grid-template-columns: 1fr;
    padding: 20px;
    grid-gap: 10px;
    margin: 0 !important;
  }

  .gallery {
    margin: 0;
  }

  .cards-gallery {
    grid-template-columns: 1fr;
    margin: 0 !important;
    grid-gap: 20px;
  }

  .card-header img {
    display: none;
  }

  .embed {
    width: 100%;
    aspect-ratio: 21/19;
  }
}

@media (max-width: 1200px) {
  section {
    padding: 40px 30px;
    margin: 0;
  }

  .gallery {
    margin: 0;
  }

  .grid {
    grid-template-columns: 1fr;
    margin: 50px;
    grid-gap: 30px;
  }
}
