:root {
  --darkGreen: #134330;
  --brown: #f6f7d1;
  --green: #52b84b;
}



/*@font-face {
  font-family: Teresa-Bold;
  src: url(../fonts/Teresa-Bold.ttf);
}

@font-face {
  font-family: Teresa-Semibold;
  src: url(../fonts/Teresa-Semibold.ttf);
}

@font-face {
  font-family: Karla-Italic;
  src: url(../fonts/Karla-Italic-VariableFont_wght.ttf);
}

@font-face {
  font-family: Karla;
  src: url(../fonts/Karla-VariableFont_wght.ttf);
}*/

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: unset;
  font-family: 'Karla', sans-serif;
 }
html{
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body{
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100vh;
	background-color: var(--white);
	overflow-x: hidden;
  padding-top: 76px;
}

img{
	width: 100%;
}

header{
  width: 100%;
  height: 76px;
  display: flex;
  background-color: var(--darkGreen);
  box-shadow: 0px 3px 5px 0px #00000008;
  justify-content: space-between;
  padding: 0 10vh;
  position: fixed;
  top: 0;
  z-index: 99;
}

section{
  width: 100%;
}
.content{
  width: 90%;
  margin: auto;
  max-width: 963px;
  padding: 35px 0;
}

.logoMenu{
  background-color: white;
  border-radius: 5px;
  width: 150px;
  height: 170px;
  padding: 10px;
  padding-top: 30px;
  box-shadow: 0px 3px 5px 0px #00000008;
  transform: translateY(-20px);
}

.desk-menu{
  display: flex;
  align-items: center;
  height: inherit;

}

.menuButton{
  color: var(--brown);
  font-family: sans-serif;
  font-weight: 400;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  transition: all 0.5s ease;
  font-size: 0.9rem;
}

.menuButton:hover{
  background-color: var(--brown);
  color: var(--darkGreen);
}

.fullsecction{
  width: 100%;
}

.bannerCop{
  display: flex;
  align-items: stretch;
  background-color: #fab631;
  flex-wrap: wrap;
}

.imgCop{
  max-width: 900px;
}

.bluecop{
  background-color: #155477;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bluecop h1{
  color: white;
  font-size: 2.5rem;
  font-stretch: condensed;
  font-weight: bold;
  text-align: center;
  line-height: 80%;
}

.bluecop .subCop{
  color: white;
  font-size: 2.25rem;
  font-weight: lighter !important;
  font-stretch: normal;
}

.yellowButton{
  background-color: #fab631;
    color: #155477;
    cursor: pointer;
    border-radius: 5px;
    padding: 8px 25px;
    font-weight: bolder;
    width: 100%;
    transition: all 0.5 ease;
}

.yellowButton:hover{
  background-color: white;
}


.greenBack{
  background-color: var(--darkGreen);
}
.flex-center{
  display: flex;
  align-items: center;
  color: var(--brown);
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap ;
}
.flexitem1{
  flex: 1;
}
.bigText{
  font-size: 2.5rem;
  font-weight: bolder;
}

.green{
  color: var(--green);
}


.flip-card {
  background-color: transparent;
    width: 235px;
    height: 306px;
    perspective: 1000px;
    box-shadow: 0px 3px 5px 0px #00000008;
    border-radius: 5px;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
    border-radius: 5px;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
    border-radius: 5px;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
    border-radius: 5px;
}

/* Style the back side */
.flip-card-back {
  background-color: var(--brown);
  color: var(--darkGreen);
  transform: rotateY(180deg);
    border-radius: 5px;
    text-align: left;
    padding: 15px;
    font-size: 0.9rem;
}

.bold{
  font-weight: bolder;
  font-size: 1rem;
}

.card-title{
  position: absolute;
  color: white;
  font-size: 1.1rem;
  font-weight: bolder;
  bottom: 0;
  text-align: left;
  padding: 15px;
  text-shadow: 0px 2px 1px black;;
}



.dobleimage{
  display: flex;
  justify-content: stretch;
  align-items: center;
  flex-wrap: wrap;
}

.backitem{
  flex: 1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 20vh;
  min-width: 300px;
}

.black{
      padding: 20px;
    background-color: #00000033;
}

.black h1{
  color: white;
  font-weight: bolder;
}

.black p{
  color: white;
}

.minicard{
  border-radius: 5px;
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.minicard h1{
  color: white;
  font-weight: bolder;
  font-size: 1.2rem;
}

.minicardTile{
  position: absolute;
  bottom: 0;
  padding: 10px;
}

footer{
  padding: 10%;
  padding-top: 30px;
  background-color: var(--green);
}

.footer-flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logofooter{
  width: 150px;
}

.textinfo{
  color: var(--brown);
}

.menuHamburger{
    display: none;
  }
#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
  width: 30px;  /* Cambiado a 30px */
  height: 30px; /* Cambiado a 30px */
  position: relative;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
  display: block;
  position: absolute;
  height: 4px; /* Reducido proporcionalmente */
  width: 100%;
  background: #d3531a;
  border-radius: 4px; /* Ajustado proporcionalmente */
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 12px; /* Ajustado a la nueva altura */
}

#nav-icon1 span:nth-child(3) {
  top: 24px; /* Ajustado a la nueva altura */
}

#nav-icon1.open span:nth-child(1) {
  top: 12px; /* Ajustado */
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -30px; /* Ajustado */
}

#nav-icon1.open span:nth-child(3) {
  top: 12px; /* Ajustado */
  transform: rotate(-135deg);
}

/* Icono 2 */

#nav-icon2 {
}

#nav-icon2 span {
  display: block;
  position: absolute;
  height: 4px;  /* Ajustado proporcionalmente */
  width: 50%;
  background: var(--brown);
  opacity: 1;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 4px 4px 0; /* Ajustado */
}

#nav-icon2 span:nth-child(odd) {
  left: 0px;
  border-radius: 4px 0 0 4px; /* Ajustado */
}

#nav-icon2 span:nth-child(1), #nav-icon2 span:nth-child(2) {
  top: 0px;
}

#nav-icon2 span:nth-child(3), #nav-icon2 span:nth-child(4) {
  top: 12px; /* Ajustado */
}

#nav-icon2 span:nth-child(5), #nav-icon2 span:nth-child(6) {
  top: 24px; /* Ajustado */
}

#nav-icon2.open span:nth-child(1),#nav-icon2.open span:nth-child(6) {
  transform: rotate(45deg);
}

#nav-icon2.open span:nth-child(2),#nav-icon2.open span:nth-child(5) {
  transform: rotate(-45deg);
}

#nav-icon2.open span:nth-child(1) {
  left: 5px;
  top: 5px;
}

#nav-icon2.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 5px;
}

#nav-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(5) {
  left: 5px;
  top: 22px; /* Ajustado */
}

#nav-icon2.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 22px; /* Ajustado */
}

/* Icono 3 */

#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 12px; /* Ajustado */
}

#nav-icon3 span:nth-child(4) {
  top: 24px; /* Ajustado */
}

#nav-icon3.open span:nth-child(1) {
  top: 12px; /* Ajustado */
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 12px; /* Ajustado */
  width: 0%;
  left: 50%;
}

/* Icono 4 */

#nav-icon4 {
}

#nav-icon4 span:nth-child(1) {
  top: 0px;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
  top: 12px; /* Ajustado */
  transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
  top: 24px; /* Ajustado */
  transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
  transform: rotate(45deg);
  top: -3px;
  left: 4px; /* Ajustado */
}

#nav-icon4.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 27px; /* Ajustado */
  left: 4px; /* Ajustado */
}

.menumovil{
  width: 100%;
  height: 100vh;
  background-color: var(--brown);
  z-index: 50;
  position: fixed;
  padding: 100px 20px 0px 20px;
  top: -100%;
  transition: all 0.5s ease;

}
.menuButton-m{
      border-bottom: 1px solid var(--darkGreen);
    color: var(--green);
    display: block;
    font-weight: bolder;
}

.show{
  top: 0%;
}

@media only screen and (max-width: 960px) {
  .menuHamburger{
    display: flex;
    align-items: center;
  }

  .desk-menu{
    display: none;
  }
}


@media only screen and (max-width: 960px) {
  header{
    padding: 0 20px;
  }

  .logoMenu{
    width: 100px;
    height: 120px;
  }
}

