:root { /*sirve para definir custom properties*/
    /*en este caso se va a definir una paleta de colores customizada*/
    --blanco: #ffffff;
    --obscuro: #212121;
    --primario: rgba(255,193,7,1);
    --secundario: #0097a7;
    --colormenu: rgba(0,151,167, 0.6);
    --gris: #757575;
    --fuente-principal: 4.8rem;
}
html {
  min-height: 100%;
  position: relative;
}
body {
  margin: 0;
  margin-bottom: 40px;
}

h1 {
    font-size: 7.8rem;
}



.hero {
    background-image: url(../img/imagen1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
   /*padding: 20px;*/
    position:relative;
    margin-bottom: 2rem;
    animation-name: inicio;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
   
}

@keyframes inicio {
  from {background-image: url(../img/imagen1.jpg);}
  
  to {background-image: url(../img/monitor.jpg);}
}



/* transicion consultoria
--------------------------------*/

.consul {
   
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 300px;
    position:relative;
    margin-bottom: 2rem;
    animation-name: cons;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blanco);

   
}



@keyframes cons {
  from {background-image: url(../img/consultoria1.jpg);}
  
  to {background-image: url(../img/consultoria2.jpg);}
}



@media screen and (max-width: 900px){
    .conul img{
      width: 10%;
    }
     }


/* Services Section
--------------------------------*/
#services {
  padding: 40px 0;
  background-color: #E5E7FB;
}

#services .box {
  padding: 40px;
  box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
  background: #fff;
  transition: 0.4s;
  height: 100%;
}

#services .box:hover {
  box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
}

#services .box .icon {
  float: left;
}

#services .box .icon i {
  color: #444;
  font-size: 64px;
  transition: 0.5s;
  line-height: 0;
  margin-top: 34px;
}

#services .box .icon i:before {
  background: #0c2e8a;
  background: linear-gradient(45deg, #50d8af 0%, #a3ebd5 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#services .box h4 {
  margin-left: 100px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
}

#services .box h4 a {
  color: #444;
}

#services .box p {
  font-size: 14px;
  margin-left: 100px;
  margin-bottom: 0;
  line-height: 24px;
}

@media (max-width: 767px) {
  #services .box .box {
    margin-bottom: 20px;
  }
  #services .box .icon {
    float: none;
    text-align: center;
    padding-bottom: 15px;
  }
  #services .box h4, #services .box p {
    margin-left: 0;
    text-align: center;
  }
}
.servicio .icono {
    height: 6rem;
    width: 7rem;
    background-color: var(--primario);
    border-radius: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.servicio #service {
  text-align: center;
  color: #89650C;
}

.servicio
{
  background: linear-gradient(white, gray);
}



.products{
    width: 100%;
    height: auto;

        /*add flexbox*/
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-flow: wrap;
       /* background-image: url(../img/productos1.jpg);*/
  }


  .product{
    width: 20%;
    height: 300px;
    margin: 20px;
    box-sizing: 50px;
    text-align: center;
    font-weight: bold;
  
  }
  

/*Productos*/
  .product{
    width: 20%;
    height: 300px;
    background: yellow;
    margin: 20px;
    box-sizing: 50px;
    border-radius: 20px 0 20px 0;
    transition: all 0.3s ease;
  }

.product:hover{
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  box-shadow: inset 0 0 0 3px #555953;
  font-weight: bold;
}
  /*add responsive*/
  @media screen and (max-width: 1200px){
    .product{
      width: 40%;
    }
  }
  @media screen and (max-width: 800px){
    .product{
      width: 90%;
    }
 
  }

  .products .icono {
    height: 6rem;
    width: 7rem;
    background-color: var(--primario);
    border-radius: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;

}
.product .icono {
  margin-top: 50px;
}

/*Alianzas*/
#alianzas{
    width: 80%;
    margin: 0 auto;
    height: 300px;
  border: 1px solid #333;
  box-shadow: 8px 8px 5px #444;
  padding: 8px 12px;
  background-image: linear-gradient(180deg, #fff, #ddd 40%, #ccc);
}

.whatsapp {
  position:fixed;
  width:60px;
  height:60px;
  bottom:10px;
  left:14px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;

}

.whatsapp-icon {
  margin-top:13px;
}

/*Alianzas*/
#alianzas{
    width: 75%;
    margin: 0 auto;
    height: auto;
  border: 2px solid #333;
  box-shadow: 8px 8px 5px #444;
  padding: 8px 12px;
}

/*Pagina de Alianzas*/

 .item img{
  width: 100%;
  height: 80%;
  display: inline-block;;

 }
.item{
  width: 80%;
  height: auto;
  display: inline-block;
}

@media screen and (min-width: 560px){
  .containerimg{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 560px){
.containerimg{
  display: grid;
  grid-template-rows: :repeat(1, 1fr);
}

@media screen and (min-width: 690px){
  .containerimg{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 960px){
  .containerimg{
    grid-template-columns: repeat(4, 1fr);
  }
}

.containerimg{
   width: 90%
    height: auto;
}

.containerimg .item{
  margin-left: auto;
    margin-right: auto;
    display: block;
}

.conferencias{
   padding: 40px 0;
  background-color: #E5E7FB;
}