* {
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f4faff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

/*HEADER*/
.nav {
  background-color: #f4faff;
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 0;
  z-index: 9;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin-right: 28px;
}

.nav-list a {
  text-decoration: none;
  font-weight: 500;
  color: #005d8f;
  padding: 10px;
}

.nav-list a:hover {
  color: #1e96fc;
}

/*MAIN*/
.main {
  width: 100%;
  background-image: url(images/pexels-eye4dtail-165985.jpg);
  background-color: rgba(0, 0, 0, 0.7);
  background-blend-mode: multiply;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-left: 10%;
}

.main h1 {
  color: #f4faff;
  font-size: 54px;
}

.main p {
  color: #1e96fc;
  font-size: 28px;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 35px;
}

.main a {
  text-decoration: none;
  color: #181818;
}

.call-to-action {
  cursor: pointer;
  background-color: #f4faff;
  border: 0;
  padding: 8px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  transition: 0.9s;
}

.call-to-action:hover {
  transform: scale(1.1);
}

/*ODS*/
.ods {
  background-color: #f4faff;
  width: 100%;
  padding: 100px 10% 0 10%;
  margin-bottom: 80px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ods div {
  max-width: 60%;
  padding-right: 40px;
}

.ods div h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

.ods-list {
  list-style: none;
}

.ods-list li {
  padding: 6px;
  transition: 1s;
}

.ods-list li:hover {
  transform: scale(1.1);
}

.ods img {
  width: 34%;
  max-width: 350px;
  border-radius: 8px;
}

/*CHALLENGE*/
.challenge {
  width: 90%;
  margin: 120px auto;
  padding: 70px 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.challenges {
  background-color: #f0f4f8;
  margin-top: 15px;
  padding: 15px 5% 0 5%;
  border-radius: 8px;
}

.challenges h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
  text-align: center;
}

.challenges ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.challenges li {
  padding: 0 0 18px 36px;
  font-size: 16px;
  position: relative;
}

.challenges li::before {
  content: "💧";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
}

.challenges li:nth-child(2)::before {
  content: "🚫";
}

.challenges li:nth-child(3)::before {
  content: "🏞️";
}

.challenges li:nth-child(4)::before {
  content: "🌍";
}

.challenges li:nth-child(5)::before {
  content: "🤝";
}

.attitudes h3 {
  font-size: 24px;
  padding: 40px 0 5px;
  color: #023e8a;
}

.attitudes p {
  padding: 10px 0 5px;
  text-align: justify;
  font-size: 16px;
}

.attitudes ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.attitudes ul li {
  background-color: #f0f4f8;
  margin-bottom: 10px;
  padding: 12px 18px;
  border-left: 5px solid #023e8a;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.attitudes ul li:hover {
  background-color: #caf0f8;
}

/*QUIZ*/
.quiz {
  background-color: #f4faff;
  width: 100%;
  min-height: calc(100vh - 160px);
  padding: 80px 10% 80px 10%;
}

.quiz h2 {
  background-color: #e0f7fa;
  border-radius: 12px;
  color: #00796b;
  margin-bottom: 22px;
  padding: 10px;
  text-align: center;
}

.quiz-question {
  margin-bottom: 28px;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  border-left: 4px solid #e0f7fa;
}

.quiz-question p {
  margin-bottom: 10px;
  font-weight: bold;
}

.quiz-question label {
  display: block;
  margin-bottom: 6px;
}

.quiz-question input:hover {
  cursor: pointer;
}

.quiz button {
  background-color: #00796b;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.9s;
}

.quiz button:hover {
  transform: scale(1.025);
}

.resultado-quiz {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  color: #004d40;
  transition: all 0.3s ease;
  margin-top: 10px;
}

/*FOOTER*/
.footer {
  background-color: #2c3e50;
  width: 100%;
  height: 80px;
  position: relative;
  bottom: 0;
  color: #f4faff;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-credits {
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-credits a {
  color: #f4faff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a {
  color: #f4faff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0077cc;
}

@media (max-width: 960px) {
  /*HEADER*/
  .nav-list {
    margin-right: 0;
  }

  .nav-list a {
    font-size: 16px;
  }

  /*MAIN*/
  .main {
    background-size: cover;
    padding-left: 5%;
  }

  .main h1 {
    font-size: 30px;
  }

  .main p {
    font-size: 22px;
  }

  /*ODS*/
  .ods {
    padding: 76px 5% 0 5%;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
  }

  .ods div {
    max-width: 100%;
    padding-right: 0;
  }

  .ods div h2 {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .ods img {
    margin-top: 20px;
    width: 50%;
    max-width: 400px;
  }

  /*CHALLENGE*/
  .challenge {
    width: 93%;
    margin: 20px auto;
    padding: 70px 15px 20px 15px;
  }

  .challenges {
    margin-top: 0;
    padding: 15px 1% 0 2%;
  }

  .challenges h3 {
    font-size: 22px;
  }

  .attitudes h3 {
    font-size: 22px;
    padding: 20px 0 0;
  }

  /*QUIZ*/
  .quiz {
    padding: 80px 3% 0 3%;
    height: calc(100vh + 300px);
  }

  .quiz h2 {
    font-size: 22px;
  }

  .quiz-question {
    margin-bottom: 16px;
  }

  .quiz button {
    padding: 4px 8px;
    font-size: 14px;
  }

  .resultado-quiz {
    font-size: 14px;
    margin-top: 12px;
  }

  /*FOOTER*/
  .footer {
    padding: 10px 3%;
    margin-top: 0;
  }

  .footer-content {
    text-align: center;
    font-size: 10px;
  }
}

@media (max-width: 344px) {
  .nav-list a {
    padding: 9px;
  }

  .quiz h2 {
    font-size: 18px;
  }
}

@media (max-height: 740px) {
  .quiz {
    height: calc(100vh + 500px);
  }
}
