* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  appearance: none;
  list-style: none;

  font-family: "Lato", sans-serif;
  line-height: 1;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;

  color: #C6A969;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #FFFFEC;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

a:hover {
  color: #597E52;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100vw;
  height: 80px;
  background-color: #F1E4C3;

  a i {
    font-size: 2rem;
    color: #597E52;
  }
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
}

.checkbtn {
  display: none;
}

img {
  border-radius: 1rem;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 4rem 2rem;
  gap: 2rem;
}

.section-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 1rem;

  .acerca-de {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    gap: 1rem;

    h2 {
      font-size: 1.5rem;
      font-weight: bold;
      color: #C6A969;
    }
  }

  .acerca-imagen img {
    height: 250px;
    width: 250px;
    object-fit: cover;
  }
}

.section-2 {
  width: 100%;
  height: 100vh;
  padding: 1rem;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.section-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;

  h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #C6A969;
  }

  .tarjetas {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    gap: 2rem;

    .tarjeta {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 1rem;
      width: 300px;

      img {
        width: 100%;
        height: 150px;
        object-fit: cover;
      }

      .footer-tarjeta {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 1rem;

        h3 {
          font-weight: bold;
          color: #C6A969;
        }

        a {
          width: fit-content;
        }
      }
    }
  }
}

.section-4 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  background-color: #F1E4C3;
  padding: 1rem 2rem;
  border-radius: 1rem;

  h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #C6A969;
  }

  form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;

    label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: center;
      gap: 1rem;
      width: 100%;
    }

    input {
      padding: 5px 8px;
      border-radius: 1rem;
    }

    textarea {
      padding: 5px 8px;
      border-radius: 1rem;
      width: 100%;
      height: 150px;
      resize: none;
    }

    button {
      width: 100%;
      padding: 8px 11px;
      border-radius: 1rem;
      color: #F1E4C3;
      background-color: #C6A969;
    }

    button:hover {
      cursor: pointer;
      background-color: #597E52;
    }
  }
}

footer {
  display: flex;
  flex-direction: row;
  margin-top: auto;
  gap: 1rem;
  width: 100vw;
  height: 80px;
  background-color: #F1E4C3;
  padding: 1rem 2rem;
}

.egg {
  position: fixed;
  top: 93vh;
  left: 90vw;

  i {
    font-size: 2rem;
    color: #597E52;
  }
}

/* Estilos para pantallas más pequeñas (hasta 768px) */
@media (max-width: 768px) {
  .navbar {
    justify-content: flex-start;
    padding-top: 1rem;
    position: absolute;
    top: 80px;
    left: 100%;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    background-color: #F1E4C3;
    transition: all ease-in-out 0.3s;
  }

  .checkbtn {
    display: block;

    i {
      font-size: 2rem;
    }
  }

  .section-1 {
    flex-direction: column-reverse;

    h2 {
      text-align: center;
    }
  }

  .section-2 {
    width: 100vw;
    height: 50vh;
  }

  .section-3 {
    .tarjetas {
      .tarjeta {
        width: auto;
      }
    }
  }

  .section-4 {
    width: 100%;
    
    form {
      width: 100%;

      input {
        width: 100%;
      }
    }
  }

  /* ACTIVE */
  .navbar.active {
    left: 0;
  }

  .navbar.active ul.menu {
    opacity: 1;
  }
}
