* {
    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;
  }
  #SERVICIOS{
  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/imagenServicios.jpg) no-repeat center; 
  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: 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);
  }
  }
  
  /* -----------------construccion------------- */

  .construc{
    height: 50vw;

  }
  
  

  /* --------------------ACORDION--------------- */

  /* Thanks for checking out this PEN.
If you have any question, please feel free to contact me via email(immad.hamid@gmail.com) 
For more pen visit codepen.io/immad-hamid  */
.div1, .div2, .div3 {
  width: 33.333%;
}

.widthlow{
  width: 12%;
}

.widthmax{
  width: 76%;
  transition: width 1s;
}

.widthlow h2, .widthmax h2 {
  opacity: 0;
}

.widthmax:hover .smoky {
  opacity: 1;
  -webkit-transition-property: opacity; /* Safari */
  -webkit-transition-duration: 0.5s; /* Safari */
  -webkit-transition-delay: 0.5s; /* Safari */
  transition-property: opacity;
  transition-duration: 0.5s;
  transition-delay: 0.5s;
}

.accord-wrapper {
  background-image: url(https://images.pexels.com/photos/1020315/pexels-photo-1020315.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  height: 400px;
}

.accord-wrapper > div {
  float: left;
  transition: width 0.5s ease-in-out;
  -moz-transform: skew(-20deg, 0);
  -ms-transform: skew(-20deg, 0);
  -webkit-transform: skew(-20deg, 0);
  transform: skew(-20deg, 0);
  -moz-transform: skew(-20deg, 0deg);
  -ms-transform: skew(-20deg, 0deg);
  -webkit-transform: skew(-20deg, 0deg);
  padding-right: 1%;
  background-color: transparent;

}

.accord-content {
  color: #fff;
  padding: 35px;
  height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
}

.accord-content h2 {
  color: #66a5ff;
  font-style: normal;
  -moz-transform: skew(20deg, 0);
  -ms-transform: skew(20deg, 0);
  -webkit-transform: skew(20deg, 0);
  transform: skew(20deg, 0);
  -moz-transform: skew(20deg, 0deg);
  -ms-transform: skew(20deg, 0deg);
  -webkit-transform: skew(20deg, 0deg);
  max-width: 232px;
  margin: 0 auto;
  text-align: left;
  font-family: "proxima-nova",sans-serif;
  font-weight: 700;
  font-size:28px;
  -webkit-transition-property: opacity; /* Safari */
  -webkit-transition-duration: 0.2s; /* Safari */
  -webkit-transition-delay: 0.2s; /* Safari */
  transition-property: opacity;
  transition-duration: 0.2s;
  transition-delay: 0.2s;
}

.accord-content h2 span {
  color: #fff;
}

.div1 .accord-content {
  position: relative;
  z-index: 1;
}

.div1:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -74px;
  height: 100%;
  width: calc(100% + 60px);
  background-color: rgba(7, 7, 79, 0.6);
}

.div2 .accord-content {
  background: none;
  position: relative;
  z-index: 1;
}

.div2:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(7, 7, 79, 0.6);
}

.div3:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -74px;
  height: 100%;
  width: calc(100% + 60px);
  background-color: rgba(7, 7, 79, 0.6);
}

.div3 .accord-content {
  background: none;
  position: relative;
  z-index: 1;
}
.accord-content {
  position: relative;
}

.accord-content .smoky {
        -moz-transform: skew(20deg, 0deg) translateX(-50%);
    -ms-transform: skew(20deg, 0deg) translateX(-50%);
    -webkit-transform: skew(20deg, 0deg) translateX(-50%);
    transform: skew(20deg, 0deg) translateX(-50%);
    -moz-transform: skew(20deg, 0deg) translateX(-50%);
    -ms-transform: skew(20deg, 0deg) translateX(-50%);
    -webkit-transform: skew(20deg, 0deg) translateX(-50%);
    font-family: "proxima-nova",sans-serif;
    font-size: 22px;
    position: absolute;
    left: calc(50% + 60px);
    width: 100%;
    padding-right: 90px;
    opacity: 0;
      }


#agridig{
  font-size: 3rem;
}

/* --------------------ITEMS------------------ */

.containerItems{
  padding-bottom: 10vh;
  padding-top: 10vh;
}
.itemCont{

  display:grid;
  grid-template-columns: 16vw 55vw;
  grid-template-rows: auto fit-content auto;
  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.8rem;
    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 .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;

  
  }

  footer .sede span{
    padding-top: 5px;
    font-size: 1.2rem;
  }
  .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;
  margin: auto;
  
  }
  
  
  
  
  
  /* ----------MEDIA QUERY------------- */
  @media (max-width: 1200px) {
    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;
    }
  }

  
  @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.4rem;
    }
    .links li {
      opacity: 0;
      align-self: center;
      font-size: 1.4rem;
    }
    .burger {
      display: block;
    }
    #CONTACTO{
      padding-right: 0;
    }
    nav .logo img {
      height: 40px;
    }
  
  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;
  }
  
  /* --------------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;
  }

  .construc h2{
    color: black;
    font-size: 4rem;
    margin: auto;
    text-transform: uppercase;
    text-align: center;
  }
  /* -------- elegirnos-------------- */
  
  .elegirnos{
  margin-bottom: 8vh;
  padding-bottom: 8vh;
  }
  .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% ;
  
  }
/* -------------------acordion------------ */

.div1 ul{
  font-size: 1.3rem;
  margin-left: -45px;
  margin-top: -60px;
}

  /* -------------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;
  }


  .accord-content h2{
    font-size: 2rem;
  }

  .div3 .accord-content h2{
    margin-left: -10px;
    margin-top: 100px;
  }
  /* -----------------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%);
  }