@import url("https://fonts.googleapis.com/css2?family=Poppins&family=Rubik&display=swap");

.bolded {font-weight: bold;}

.caveat-cursive {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: x-large;
  font-style: normal;
}
.courgette-regular {
  font-family: "Courgette", cursive;
  font-weight: 400;
  font-style: normal;
}

.gloria-hallelujah-regular {
  font-family: "Gloria Hallelujah", cursive;
  font-weight: 400;
  font-style: normal;
}

.edu-tas-beginner {
  font-family: "Edu TAS Beginner", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


.urbanist {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-size: x-large;
}

.poetsen-one-regular {
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins", "Courier New", Courier, monospace;
}

body {
  font-family: "Roboto", sans-serif;
  display: grid;
  grid-template-rows: 1fr;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;

}

.container {
  margin: 0 auto;
  width: 100;
  overflow: hidden;
}

.hero {
  background-image:
    url("assets/3P5A7541.jpg");
  background-size: cover;
  min-height: 100vh;
  height: 100vh;
  color: #fff;
}

.nav {
  --state-close: scale(0);
  --state-hamburguer: scale(1);
  --state-menu: translate(-100%);
  background-color: white;
  padding: 1em;
  display: grid;
  justify-content: space-between;
  align-items: center;
  grid-template-columns: repeat(2, max-content);
 
}

.nav:target {
  --state-menu: translate(0);
  --state-close: scale(1);
  --state-hamburguer: scale(0);
}

.nav__logo {
  max-width: 5em;
  z-index: 1;
}

.nav__hamburguer,
.nav__close {
  cursor: pointer;
  grid-column: -2/-1;
  grid-row: 1/2;
  transition: 0.4s transform;
  z-index: 100;
}

.nav__hamburguer {
  transform: var(--state-hamburguer);
}

.nav__close {
  transform: var(--state-close);
}

.nav__icon {
  width: 40px;
}

.nav__links {
  background-color: white;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  z-index: 10;
  display: grid;
  align-content: center;
  gap: 2em;
  padding-left: 5%;
  transform: var(--state-menu);
  transition: 0.3s transform;
}

.nav__item {
  list-style: none;
}

.nav__link {
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: 2px;
}


a {
  color: black;
  text-decoration: none;
}
a :hover {
  color: #72c810;
}

.nav__item :hover {
  color: #72c810;
}

.tituloheader {
  display: flex;
  min-width: 17em;
  font-size: larger;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding-top: 40%;
  gap: 2em;
  z-index: 3;
}

.textoheader p {
  font-size: 1em;
}

.buttonheader {
  background-color: black;
  min-height: 5em;
  align-items: center;
  justify-content: center;
  padding: 1em;
}

.buttonheader:hover {
  background-color: #021729;
  border-width: 1px;
}

.buttonheader p {
  padding-top: 0.5em;
}

.titulo {
  margin-bottom: 1em;
  padding: 0 1em 1em 1em;
  align-self: center;
  font-size: 2em;
}
.titulo2 {
  padding: 1em;
  padding-top: 0;
  align-self: center;
}
.btn-wsp {
  position: fixed;
  width: 60px;
  height: 60px;
  line-height: 63px;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: all 300ms ease;
}
.btn-wsp:hover {
  background: #20ba5a;
  color: white;
}

@keyframes elegantMovement {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.comoelprimerdia {
  font-size: 2em;
  padding: 1rem;
  animation: elegantMovement 3s ease-in-out infinite;
  z-index: 0;
}

.conocenos-link {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.conocenos-link:hover {
  color: #72c810;
}

.servicios {
  background: rgb(77, 134, 19);
  background: linear-gradient(
    90deg,
    rgb(30, 148, 26) 0%,
    rgb(13, 107, 14) 100%
  );
  min-height: 100vh;
  color: white;
  text-align: center;
  padding-top: 3em;
}

.containernuestrahistoria {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2em;
  padding: 2em;
  background-color: #13731a;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' width='80' height='40'%3E%3Cpath fill='%233d9d44' fill-opacity='0.4' d='M0 40a19.96 19.96 0 0 1 5.9-14.11 20.17 20.17 0 0 1 19.44-5.2A20 20 0 0 1 20.2 40H0zM65.32.75A20.02 20.02 0 0 1 40.8 25.26 20.02 20.02 0 0 1 65.32.76zM.07 0h20.1l-.08.07A20.02 20.02 0 0 1 .75 5.25 20.08 20.08 0 0 1 .07 0zm1.94 40h2.53l4.26-4.24v-9.78A17.96 17.96 0 0 0 2 40zm5.38 0h9.8a17.98 17.98 0 0 0 6.67-16.42L7.4 40zm3.43-15.42v9.17l11.62-11.59c-3.97-.5-8.08.3-11.62 2.42zm32.86-.78A18 18 0 0 0 63.85 3.63L43.68 23.8zm7.2-19.17v9.15L62.43 2.22c-3.96-.5-8.05.3-11.57 2.4zm-3.49 2.72c-4.1 4.1-5.81 9.69-5.13 15.03l6.61-6.6V6.02c-.51.41-1 .85-1.48 1.33zM17.18 0H7.42L3.64 3.78A18 18 0 0 0 17.18 0zM2.08 0c-.01.8.04 1.58.14 2.37L4.59 0H2.07z'%3E%3C/path%3E%3C/svg%3E");
  color: white;
}
.nuestrahistoria2 {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente */
  align-items: center; /* Centra horizontalmente */
  padding: 1.5em;
  text-align: center; /* Alinea el texto al centro */
}

.nuestrahistoria1,
.nuestrahistoria1a,
.nuestrahistoria1b,
.nuestrahistoria2 {
  padding: 1.5em;
  text-align: justify;
}

.nuestrahistoria1,
.nuestrahistoria1a,
.nuestrahistoria1b {
  background-color: #00471b;
  color: white;
}

.nuestrahistoria2 h2 {
  font-family: "Courgette", cursive;
  font-size: 2em;
  margin-bottom: 1em;
  text-align: center;
}

.nuestrahistoria2 p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 1em;
}

.nuestrahistoria1a {
 display: none;
}

.nuestrahistoria1b {
  display: none;
}

.nuestrahistoria1 {
  display: none;
}

.imageneshistoria{ 
  display: none;
}


.historiacelu {
 
  flex-direction: column;
  justify-content: center;}

  .historiacelu img {
  width: 20em;

  }

@media (min-width: 768px) {
  .containernuestrahistoria {
    grid-template-columns: repeat(2, 1fr);
  }
}


.imageneshistoria {
  display: flex;
  width: 100%;
  text-align: center;
}

.img1 {
  width: 20%; /* Ancho de la imagen */
  height: 12em; /* Alto de la imagen */
  background-image: url("assets/G7C01731.jpg"); /* URL de la primera imagen */
  background-size: cover; /* Ajusta la imagen para cubrir todo el contenedor */
  background-position: center; /* Centra la imagen */
}

.img2 {
  width: 20%; /* Ancho de la imagen */
  height: 12em;
  background-image: url("assets/3P5A7672.jpg"); /* URL de la segunda imagen */
  background-size: cover;
  background-position: center;
}

.img3 {
  width: 20%; /* Ancho de la imagen */
  height: 12em;
  background-image: url("assets/3P5A7473.jpg"); /* URL de la tercera imagen */
  background-size: cover;
  background-position: center;
}

.img4 {
  width: 20%; /* Ancho de la imagen */
  height: 12em;
  background-image: url("assets/G7C01504.jpg"); /* URL de la cuarta imagen */
  background-size: cover;
  background-position: center;
}

.img5 {
  width: 20%; /* Ancho de la imagen */
  height: 12em;
  background-image: url("assets/G7C01872.jpg"); /* URL de la quinta imagen */
  background-size: cover;
  background-position: center;
}
.nosotros {
  background-color: white;
  color: black;
  min-height: 100vh;
  text-align: center;
  padding-top: 3em;
}

.containernosotros {
  background-color: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.containernosotros div {
  transition: transform 0.3s ease;
}

.containernosotros div:hover {
  transform: scale(1.1);
}
.rapidez {
  background-image: url("assets/3P5A7541.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 30em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.transparencia {
  background-image: url("assets/3P5A7672.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 30em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.seriedad {
  background-image: url("assets/G7C01504.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 30em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contacto {
  color: #72c810;
  min-height: 100vh;
  text-align: center;
  padding-top: 3em;
}
.contacto h2 {
  font-size: xx-large;
}
.containercontacto {
  background-color: white;
}

.containercontacto p {
  font-size: x-large;
}
.horario p {
  font-size: xx-large;
}

.containercontacto h2 {font-size: xx-large;}
.ubicacion {
  background-color: #3d9d44;
  color: white;
  min-height: 30em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.horario {
  background-color: #335710;
  background-image: url(assets/closeup-shot-small-green-leaves-bush.jpg);;
  color: white;
  min-height: 30em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.iconosredessociales {
  gap: 1em;
  display: block;
  align-items: center;
}

.redessociales {
  background-image:url(assets/pexels-photomix-company-101841.jpg) ;
  color: white;
  min-height: 30em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
}

.iconoredsocial {
  width: 5em;
  margin: 0, 5em;
}

.iconoredsocial:hover {
  filter: opacity(0.5);
}

.opiniones {
  padding: 1em;
  display: flex;
  justify-content: center;
}

.cartatitulo {
  text-align: center;
  font-size: 3em;
  color: #72c810;
}
.lacarta ul {
  list-style: none;
  text-align: center;
  color: #335710;
}
.lacarta {
  align-items: center;
  justify-content: center;
}

.ultimotexto {
  background-color: #3d9d44;
  color: white;
  padding: 1em;
  text-align: center;
}

.botoncarta {
  color: white;
  width: 10em;
  padding: 1em;
  background: linear-gradient(270deg, #417406, #366407, #3d9d44);
  background-size: 600% 600%;
  animation: gradientAnimation 10s ease infinite;
  border-radius: 3%;
  transition: color 0.3s;
}

.botoncarta:hover {
  background: green;
}


.ver-carta {
  text-align: center;
  height: 10em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #72c810;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.ver-carta h2 {
  font-weight: 500;
  font-size: xx-large;
  color: white;
}


.imageneshistoria2 {
  display: flex;
  width: 100%;
  text-align: center;
}

.img6 {
  width: 20%; /* Ancho de la imagen */
  height: 12em; /* Alto de la imagen */
  background-image: url("assets/IMG-20240415-WA0027.jpg"); /* URL de la primera imagen */
  background-size: cover; /* Ajusta la imagen para cubrir todo el contenedor */
  background-position: center; /* Centra la imagen */
}

.img7 {
  width: 20%; /* Ancho de la imagen */
  height: 12em;
  background-image: url("assets/IMG-20240415-WA0067.jpg"); /* URL de la segunda imagen */
  background-size: cover;
  background-position: center;
}

.img8 {
  width: 20%; /* Ancho de la imagen */
  height: 12em;
  background-image: url("assets/IMG-20240415-WA0113.jpg"); /* URL de la tercera imagen */
  background-size: cover;
  background-position: center;
}

.img9 {
  width: 20%; /* Ancho de la imagen */
  height: 12em;
  background-image: url("assets/IMG-20240415-WA0073.jpg"); /* URL de la cuarta imagen */
  background-size: cover;
  background-position: center;
}

.img10 {
  width: 20%; /* Ancho de la imagen */
  height: 12em;
  background-image: url("assets/IMG-20240415-WA0095.jpg"); /* URL de la quinta imagen */
  background-size: cover;
  background-position: center;
}

.footer {
  background-color: white;
  min-height: 10vh;
  display: flex;
  flex-direction: column;
  color: black;
  text-align: center;
  align-items: center;
  padding: 1, 5em;
  justify-content: center;
}

.logofooter {
  max-width: 5em;
}

.opcionesfooter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1em;
  gap: 1em;
  text-align: center;
}

footer ul {
  list-style: none;
}

.fin {
  background-color: #80a272;
  color: #fff;
  text-align: center;
}

.btn-carta {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #FF6C0D;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.btn-carta i {
  margin-right: 8px;
}

.btn-carta:hover {
  background-color: #72c810;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
  .btn-wsp {
    display: block;
    width: 63px;
    height: 63px;
    line-height: 66px;
  }
}

/* MODIFICACIONES MEDIA QUERY TABLET*/

@media (min-width: 768px) {
  .nav {
    --state-hamburguer: scale(0);
    --state-menu: translate(0);
    background-color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
  }

  .nav:target {
    --state-close: scale(0);
  }

  .nav__links {
    padding: 0;
    background-color: unset;
    position: unset;
    gap: 1.5em;
    grid-auto-flow: column;

    transform: unset;

    grid-column: -2/-1;
    grid-row: 1/2;
  }

  .nav__link {
    font-size: 1rem;
    letter-spacing: none;
  }

  #logonav {
    display: none;
  }

  .tituloheader {
    padding-top: 30%;
  }
  .textoheader p {
    font-size: 1, 5em;
  }

  .historiacelu {display: none;}

  .comoelprimerdia {
    font-size: 3em;
  }

  .nuestrahistoria1 {
    background-image: url("assets/nuevaimagen.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 30em;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .nuestrahistoria1a {
    background-image: url("assets/G7C01926.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 30em;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .nuestrahistoria1b {
    background-image: url("assets/3P5A7473.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 30em;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .containernuestrahistoria {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Divide en 3 columnas iguales */
  }

  .containercontacto {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .footer {
    flex-direction: row;
  }
  .opcionesfooter {
    flex-direction: row;
    align-items: center;
  }
  .logofooter {
    width: 50em;
  }
}

/* MODIFICACIONES MEDIA QUERY COMPUTADOR*/
@media (min-width: 992px) {
  @media (min-width: 1024px) {
    .nav__link {
      /* Aquí se aplican los estilos anteriores */
      position: relative;
      display: inline-block;
    }

    .nav__link::after {
      content: "";
      position: absolute;
      width: 100%;
      transform: scaleX(0);
      height: 2px;
      bottom: -3px;
      left: 0;
      background-color: #72c810; /* Color de la línea de subtítulo */
      transform-origin: bottom right;
      transition: transform 0.25s ease-out;
    }

    .nav__link:hover::after {
      transform: scaleX(1);
      transform-origin: bottom left;
    }
  }

  .containernuestrahistoria {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Divide en 3 columnas iguales */
  }

  .imageneshistoria {
    display: none;
  }

  .historiacelu {display: none;}

  .containernosotros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .containercontacto {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .navbar {
    display: flex;
    justify-content: space-between;
  }

  .tituloheader {
    padding-top: 15%;
  }

  .textoheader p {
    font-size: 2em;
  }

  .comoelprimerdia {
    font-size: 4em;
  }
  .lacarta {
    display: flex;
    justify-content: space-around;
  }
  .opcionesfooter {
    flex-direction: row;
    gap: 10em;
    align-items: center;
  }
}
