* {
    box-sizing: border-box;
    margin: 0;
    padding: 0%;
    font-family: 'Raleway', sans-serif;
  }
  ul {
    list-style: none;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  html {
    font-size: 62.5%;
  }
  button {
    all: unset;
    cursor: pointer;
  }
  /* HEADER */
  nav {
    font-family: 'Raleway', sans-serif;
    top: 0%;
    letter-spacing: 4px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: clamp(100px,14vh,14vh);
    padding: 3vh 3% 3vh 3%;
    width: 100%;
    background-color: white;
    z-index: 10;
    box-shadow: 0px 4px 4px rgba(19, 20, 20, 0.6);
  }
nav .logo img{
    height: 50px;
}
#COMPROMISO{
  font-weight: 700;
}
nav > ul {
  display: flex;
  justify-content: space-around;
  width: clamp(700px,70%,70%);
  min-width: 500px;
  font-size: 1.6rem;
  align-items: center;
 
}

  nav ul button {
    color: black;
    text-decoration: none;
  }
  nav ul img{
    height: 27.5px;
  }
  nav .redes {
    width: 10vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    
    padding-left: clamp(10px,3vw,3vw);
    
  }
  nav .redes li{
    padding: 0 2%;
  }

  .burger div {
    height: 3px;
    width: 25px;
    margin: 5px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .burger {
    display: none;
    cursor: pointer;
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .toggle .line2 {
    opacity: 0;
  }
  
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }/* ------------boton innoba----------- */
.innoba{
  
  display: flex;
  justify-content: center;
  align-items: center;
 
}
.innoba a{
  
  align-self: center;
}
.innoba button{
  color: white;
  background-color:rgb(65,88,157) ;
  font-size: 2rem;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 30px;
  width: fit-content;
  letter-spacing: normal;
}

  /* --------------Banner IMG ----------------- */

  .mainImg{
    background: url(../img/imagenCompromiso.jpg) no-repeat ; 
background-size : cover;
  height: 80vh;
  margin-bottom: 26vh;
  margin-top: 14vh;
  }
  
    
 
  .mainImg .banner{
    background-color: rgb(61,198,242);
    height: 90vh;
    width: clamp(200px,33vw,30vw);
    margin-left: 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

.title {
    margin: auto;

}
  .mainImg .line{
    height: 5px;
    width: 60px;
    background-color: white;
    margin-bottom: 3vh;
    margin-left: 3px;
    
    
    
  }
  h1{
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 5rem;
    
  
  }

  
.mainImg button{
  padding: 2rem;
}
.mainImg .container {
 display: flex;
 justify-content: center;
 align-items: center;
 height: fit-content;
 position: absolute;
 bottom: 5%;
 /* position the top  edge of the element at the middle of the parent */
 left: 50%; /* position the left edge of the element at the middle of the parent */

 transform: translateY(-50%); /* This is a shorthand of
                                      translateX(-50%) and translateY(-50%) */
 padding-bottom: 8rem;
}

.mainImg .chevron {
  position: absolute;
  width:calc(1rem * 3.5);
  height: calc(1rem * 0.8);
  opacity: 0;
  transform: scale(0.3);
  animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
  animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move-chevron 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
 content: '';
 position: absolute;
 top: 0;
 height: 100%;
 width: 50%;
 background: white;
}

.chevron:before {
 left: 0;
 transform: skewY(30deg);
}

.chevron:after {
 right: 0;
 width: 50%;
 transform: skewY(-30deg);
}

@keyframes move-chevron {
 25% {
  opacity: 1;
	}
 33.3% {
  opacity: 1;
  transform: translateY(calc(1rem * 3.8));
 }
 66.6% {
  opacity: 1;
  transform: translateY(calc(1rem* 5.2));
 }
 100% {
  opacity: 0;
  transform: translateY(calc(1rem * 8)) scale(0.5);
 }
}
/* ------- items compromiso----------- */
.containerItems{
  padding-bottom: 10vh;
}
.itemCont{

    display:grid;
    grid-template-columns: 16vw 55vw;
    grid-template-rows: fit-content;
    grid-template-areas:
    "one two"
    "one three"
    "one four";
    position: relative;

    margin: 1vh 12vw;
    border-bottom: 2px solid rgb(61,198,242) ;
    padding-bottom: 8vh;
    margin-top: 8vh;
}

.itemCont img {
    width: 14vw;
    height: auto;
    grid-area: one;

}
.itemCont > div {
    padding-left: 3vw;
}

.itemCont h3{
    font-size: 4rem;
    grid-area: two;
}
.itemCont p{
    font-size: 1.6rem;
    padding-top: 1rem;
    grid-area: three;
    margin-bottom: 2.5rem;

}
.itemCont span{
    position: absolute;
    bottom: 0%;
    font-size: 1.8rem;
    font-weight: 700;
    grid-area: four;
}
.item{
    margin-right: 2vw;
}
.itemCont a {
    font-weight: 400;
}

  /* ------- FOOTER------------- */


  footer{
    background-color: rgba(65,88,157);
    display: grid;
    grid-template-columns: 1fr 4fr 2fr;
    grid-template-rows: 100%;
    justify-content:center ;
    align-content: space-around;
    height: fit-content;
    color: white;
    font-size: 1.4rem;
}
footer section {
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
footer .sede span{
  padding-top: 5px;
  font-size: 1.2rem;
}


footer .atencion{
    padding: 10% 5% 10% clamp(10px,20%,20%);
    padding-bottom: clamp(10px,10vh,10vh);
    min-width:fit-content;
}



footer .sede{
    justify-content: space-around;
    flex-direction: column;
    height: 85%;
    padding-left: 5vw;

}
.logoyredes{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.logoyredes #logoblanco{
  height: 50px;
  width: auto;
}
#mailfoo{
    display: flex;
    flex-direction: column;
    padding-top: 2vh;
}
.logoyredes div{
  margin: auto;
}
.logoyredes div a{
  margin-right: 5px;
}

.logoyredes img {
  height: 30px;

  
}





 /* ----------MEDIA QUERY------------- */
 @media (max-width: 1300px) {
  nav button {
      font-size: 1.3rem;
      margin-right: 5px;
  }
  
  nav button {
    font-size: 1.3rem;
    margin-right: 5px;
  }
  .redes img {
    height: 20px;
  }

  .innoba button {
    color: white;
    background-color: rgb(65, 88, 157);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    width: fit-content;
    letter-spacing: normal;
    text-align: center;
  }

  nav .logo img {
    height: 40px;
  }
  #INICIO{
    padding-left: 5px;
  }
  .itemCont img {
    width: 14vw;
    height: auto;
    grid-area: one;
    margin: auto;

}
}

@media (max-width: 800px) {
  body {
    overflow-x: hidden;
  }
  body > * {
      max-width: 100vw;
  }
.links {
    min-width: 0;
  }
  nav h1 {
    font-size: 2rem;
  }
.links {
    position: absolute;
    right: 0;
    top: 14vh;
    height: 90vh;
    padding-bottom: 10vh;
    background-color: white;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    box-shadow: 0px 7px 7px rgba(19, 20, 20, 0.6);
    align-content: center;
    font-size: 1.8rem;
  }
  .links li {
    opacity: 0;
    align-self: center;
    font-size: 1.4rem;
  }
  .burger {
    display: block;
  }
  #CONTACTO{
    padding-right: 0;
  }

  .innoba button{
    color: white;
    background-color:rgb(65,88,157) ;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 30px;
    width: fit-content;
    letter-spacing: normal;
  }
  footer .atencion{
    padding: 10% 5% 10% clamp(10px,5vh,5vh);
    padding-bottom: clamp(10px,5vh,10px);
}

nav .logo img {
  height: 40px;
}


/* --------------Banner IMG ----------------- */

.mainImg{
  background: url(../img/imgnuestraempresa.jpg) no-repeat cover ; 
background-size : cover;
height: 50vh;
margin-bottom: 20vh;
}
.mainImg img{
  width: 100vw;
  max-width: 100%;
  
}
.mainImg .banner{
  height: 110%;
  z-index: 2;
  width: clamp(250px,30vw,30vw);
  margin-left: 10vw;
}
.mainImg .line{
  height: 3px;
  width: 45px;
  margin-bottom: 1rem;
}

.mainImg .container{
  bottom: 50%;
  display: none;
}

.title{
  margin-top: 10vh;
}
.title h1{
  font-size: 3.4rem;
}



/* -------------- cont items -------------- */
.containerItems{
  padding-bottom: 10vh;
}
.itemCont{

    display:grid;
    grid-template-columns: 86vw;
    grid-template-rows: 10vh fit-content fit-content auto;
    grid-template-areas:
    "two "
    "one "
    "three "
    "four ";
    position: relative;

    margin: 1vh 6vw;
    border-bottom: 2px solid rgb(61,198,242) ;
    padding-bottom: 6vh;
    margin-top: 6vh;
}

.itemCont img {
    width: 35vw;
    height: auto;
    grid-area: one;
    margin: 0 auto;
    padding-top: 2vh;
    padding-bottom: 2vh;

}
.itemCont > div {
    padding-left: 3vw;
}

.itemCont h3{
    font-size: 4rem;
    grid-area: two;
}
.itemCont p{
    font-size: 1.6rem;
    padding-top: 1rem;
    grid-area: three;
    margin-bottom: 5rem;

}
.itemCont span{
    position: absolute;
    bottom: 0%;
    font-size: 1.6rem;
    font-weight: 700;
    grid-area: four;
}
.item{
    margin-right: 2vw;
}
.itemCont a {
    font-weight: 400;
}
/* ---------------- footer--------------- */
/* -----------------footer-------------- */
footer .sede {
  max-width: 96%;
  height: 100%;
  padding-top:1VH ;
  padding-bottom: 2vh;
  
  
} 
footer {
max-width: 99%;}

footer .sede span {
  font-size: 0.6rem;
}
footer {
  height: fit-content;
}

footer .atencion {
  justify-content: space-evenly;
  padding: 10% 1% 10% clamp(10px, 2vh, 2vh);
  padding-bottom: clamp(10px, 5vh, 10px);
  font-size: 0.8rem;
  max-height: min-content;
}

.logoyredes {
  padding-top: 3vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.logoyredes #logoblanco {
  height: 25px;
  width: auto;
}

.logoyredes div {
  margin: auto;
}
.logoyredes div a {
  margin-right: 2px;
}

.logoyredes img {
  height: 12px;
}

nav .redes {
  padding-left: 0%;
}
}

















@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translatex(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes one {
  100% {
    transform: rotate(360deg);
  }
}

.nav-active {
  transform: translateX(0%);
}