* {
    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;
}

#EMPRESA {
  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: 25px;
  }
  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/imgnuestraempresa.jpg) no-repeat ; 
background-size : cover;
  height: 80vh;
  margin-bottom: 18vh;
  margin-top: 14vh;
  }
  
    
 
  .mainImg .banner{
    background-color: rgb(165,211,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: 10%;
 /* 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);
 }
}
/* -------------------MISION-------------- */

.mision{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 15vw 5vh 15vw;

}

.mision h3{
    font-size: 3.2rem;
    padding-bottom: 2rem;
}

.mision .line{
    height: 5px;
    width: 60px;
    background-color:rgb(65,88,157) ;
    margin-bottom: 3rem;
}


.mision p{
    text-align: center;
    font-size: 2rem;
    padding-bottom: 2.5rem;
}


/* ---------------GRID1------------- */
.one{
  grid-area: one;
}
.two{
  grid-area: two;
}
.three{
  grid-area: three;
}
.four{
  grid-area: four;
}
.five{
  grid-area: five;
}
.six{
  grid-area: six;
}


.grid1 {
  width: 100%;
  display: grid;

  grid-template-columns: 33% 33% 33%;
  grid-template-rows: clamp(min-content,25vh,25vh);
  grid-template-areas: 
  "one two three"
  "four five six"                 ;
  row-gap: 1rem;
  column-gap: 2rem;
  padding: 5% 10%;
}

/* ---------------GRID1------------- */

.grid2 {
  width: 100%;
  display: grid;

  grid-template-columns:  49% 49%;
  grid-template-rows: clamp(min-content,25vh,25vh);
  grid-template-areas: 
  "one two"
  "three four"                 ;
  row-gap: 1rem;
  column-gap: 2rem;
  padding: 0% 23.3%;
}


  /* -------- elegirnos-------------- */
  .elegirnos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(235,235,235);
    padding-top: 8vh;
    min-height: fit-content;
    margin-bottom: 10vh;
    padding-bottom: 10vh;
  }
  .elegirnos h3{
    font-size: 3rem;
    
  }

  .elegirnos .line{
    height: 5px;
    width: 60px;
    background-color:rgb(65,88,157) ;
    margin-bottom: 10rem;
    margin: auto;
    margin-top: 2rem;
}
.bloques{
  display: flex;
  flex-direction: column;
  padding-top: 8vh;
  min-height: fit-content;
}

.grid2el{
  display: grid;
  grid-template-columns: 30vw 30vw;
  grid-template-rows: auto;
  margin: auto;
  align-items: end;
  min-height: fit-content;
  
}
.blockCon{
  padding: 5vh 0.5vw 0 0.5vw;
  min-height: fit-content;
}

 h4{
  font-size: 1.4rem;
  letter-spacing: 3px;
  line-height: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: rgb(72,94,160);
  min-height: fit-content;
}

.block{
  display: flex;
  background-color: white;
  min-height: 30vh;
  height: fit-content;
  
  padding: 12% 8% 0 8%;
  transition: box-shadow .8s;
  transition: background-color .6s;
  padding-bottom: 2rem;


}
.block:hover{
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(165,211,242, 0.82) 100px 20px 220px;
  background-color: rgb(165,211,242);
}
.block p{
  text-align: center;
  font-size: 1.6rem;
}


  /* ------- 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 .atencion{
    padding: 10% 5% 10% clamp(10px,20%,20%);
    padding-bottom: clamp(10px,10vh,10vh);
    min-width:fit-content;
}
footer .sede span{
  padding-top: 5px;
  font-size: 1.2rem;
}


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;
  }
  .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;
  }
  .block{
    padding-bottom: 2rem;
  }

 
}

  @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;
    }
  
    footer .atencion{
      padding: 10% 5% 10% clamp(10px,5vh,5vh);
      padding-bottom: clamp(10px,5vh,10px);
  }

  .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;
  }

  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;
  }

  .mainImg .container{
    bottom: 50%;
    display: none;
  }

  .title{
    margin-top: 5vh;
  }
  .title h1{
    font-size: 3.4rem;
  }











  
  


/* -------- elegirnos-------------- */

.elegirnos{
  margin-bottom: 8vh;
  padding-bottom: 8vh;
  
}

.grid1 {
  width: 100%;
  display: grid;

  grid-template-columns: 100%;
  grid-template-rows: auto;
  grid-template-areas: 
  "one"
  "four"
  "two"
  "five"
   "three"
   "six";
  row-gap: 1rem;
  column-gap: 2rem;
  padding: 5% 10%;
}
.grid2 {
  width: 100%;
  display: grid;

  grid-template-columns: 100%;
  grid-template-rows: auto;
  grid-template-areas: 
  "one"
  "three"
  "two"
  "four";
   
  row-gap: 1rem;
  column-gap: 2rem;
  padding: 5% 10%;
}
.grid1el{
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto;
  margin: auto;
  align-items: end;
  min-height: fit-content;
  margin: 0 5% ;
}

.grid2el{
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto;
  margin: auto;
  align-items: end;
  min-height: fit-content;
  margin: 0 5% ;
  
}
/* ---------------- 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%);
  }