@import url("https://fonts.googleapis.com/css2?family=Poppins&family=Rubik&display=swap");

* {
  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;
}

.bolded {font-weight: bold;}

.container {
  margin: 0 auto;
  width: 100;
  overflow: hidden;
}
.headerreal {
  background-color: #25d366; margin-top: 0em;
  color: #72c810; text-align: center;}

.hero {
 
  background-size: cover;
  min-height: 100vh;
  height: 100vh;

}

.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;
}

.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;

  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;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
  min-height: 100vh;
  padding-top: 40%;
  gap: 2em;
}

.imagenheader {background-image: url(assets/G7C02061.jpg); height: 15em; background-size: cover; background-position: center; }

.textoheader p {
  font-size: 1em;
}

.comoelprimerdia {
  font-size: 2em;
}

.buttonheader {
  background-color: black;
  min-height: 5em;
  align-items: center;
  justify-content: center;
  padding: 1em;
}

.buttonheader:hover {
 background-color: #20ba5a;
 border-width: 1px;
}

.buttonheader p {
  padding-top: 0.5em;
}

.titulo {
  align-self: center;
  font-size: 3em;
}
.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;
}
.botones {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra horizontalmente los botones */
  align-items: center;     /* Centra verticalmente los botones */
  gap: 1em;                /* Espacio entre los botones */
  height: 20em;            /* Altura del contenedor */
}


.btn-carta {
  background-color: #4CAF50;
  color: white;
  padding: 10em, 20em;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15em;
  height: 6em;
}

.btn-carta:hover {
  background-color: #72c810;
}

.btn-carta a {
  text-align: center;
  justify-content: center;
  align-items: center;
}




@media only screen and (max-width: 600px) {
 	.btn-flotante {
		font-size: 14px;
		padding: 12px 20px;
		bottom: 20px;
		right: 20px;
	}
}


.ver-carta {background-color: #72c810; text-align: center; height: 10em; display: flex; flex-direction: column; justify-content: center; align-items: center;}
.botoncarta { background-color: #25d366; width: 10em; padding: 1em;}
.itemmenu {display: flex; justify-content: space-evenly;}
.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;
}

@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;
  }

  .comoelprimerdia {
    font-size: 3em;
  }

  .nuestrahistoria1 {
    background-image: linear-gradient(rgb(9, 48, 4), rgba(0, 0, 0, 0.2)),
      url("assets/3P5A7338.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    min-height: 30em;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .nuestrahistoria1a {
    background-image: linear-gradient(rgb(9, 48, 4), rgba(0, 0, 0, 0.2)),
      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: linear-gradient(rgb(9, 48, 4), rgba(0, 0, 0, 0.2)),
      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) {

  .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 */
  }
  .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%;
  }

  .imagenheader {background-image: url(assets/G7C02061.jpg); background-position: center; padding-top: 15em; height: 3em; background-size: cover;}

.headerreal {margin-top: 7em;}

  .textoheader p {
    font-size: 2em;
  }

  .comoelprimerdia {
    font-size: 4em;
  }

.containercarta {display: grid; grid-template-columns: repeat(2, 1fr);}



  .lacarta{display: flex; justify-content: space-around;}



  #lacarta {
    text-align: center;
  }
.itemcarta {padding: 3em;}

.botones {flex-direction: row ;}

.imagenes {
    display: flex;
    justify-content: center; 
    gap: 2em;
  }
  
  .img1 {
    width: 12em; /* Ancho de la imagen */
    height: 12em; /* Alto de la imagen */
    background-image: url('assets/3P5A7368.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: 12em; /* Ancho de la imagen */
    height: 12em;
    background-image: url('assets/3P5A7653.jpg'); /* URL de la segunda imagen */
    background-size: cover;
    background-position: center;
  }
  
  .img3 {
    width: 12em; /* 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: 12em; /* 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: 12em; /* Ancho de la imagen */
    height: 12em;
    background-image: url('assets/G7C01872.jpg'); /* URL de la quinta imagen */
    background-size: cover;
    background-position: center;
  }
  
  .opcionesfooter {
    flex-direction: row;
    gap: 10em;
    align-items: center;
  }
}
