@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('fuente-gilroy.css');


@font-face {
  font-family: 'Gilroy';
  font-weight: 400;
  src: url('https://fonts.cdnfonts.com/s/16219/Gilroy-Regular.woff') format('woff');
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot');
  src:  url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
        url('fonts/icomoon.woff') format('woff'),
        url('fonts/icomoon.ttf') format('truetype'),
        url('fonts/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.icon-menu {
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  speak: never;
  line-height: 1;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*fuente icomoon*/
.icon-contacto.direccion:before{content:'\e900'}
.icon-contacto.telefono:before{content:'\e901'}
.icon-correo:before{content:'\e902'}
.icon-flecha.abajo:before{content:'\e903'}
.icon-flecha.arriba:before{content:'\e904'}
.icon-flecha.derecha:before{content:'\e905'}
.icon-flecha.izquierda:before{content:'\e906'}
.icon-llanta:before{content:'\e907'}
.icon-lupa:before{content:'\e908'}
.icon-menu.facebook:before{content:'\e909'}
.icon-menu.linkedin:before{content:'\e90a'}
.icon-menu.neumaticos:before{content:'\e90b'}
.icon-menu.quienes:before{content:'\e90c'}
.icon-menu.servicios:before{content:'\e90d'}
.icon-menu.sucursales:before{content:'\e90e'}
.icon-menu.youtube:before{content:'\e90f'}
.icon-play:before{content:'\e910'}
.icon-servicio:before{content:'\e911'}
.icon-siguenos.facebook:before{content:'\e912'}
.icon-siguenos.linkedin:before{content:'\e913'}
.icon-siguenos.youtube:before{content:'\e914'}
.icon-sucursal:before{content:'\e915'}
.icon-whatsapp:before{content:'\e916'}
@media(min-width:992px){
    .icon-flecha.abajo:after{content:'\e903'}
    .icon-flecha.arriba:after{content:'\e904'}
    .icon-flecha.derecha:after{content:'\e905'}
    .icon-flecha.izquierda:after{content:'\e906'}
}

html {
  font-family: 'Gilroy', sans-serif !important;
}
body{
   
    background-color: #ffffff;
    color: #eee;
    font-size: 16px;
}

/*texto*/
/*texto *enriquecido*/
.texto.enriquecido{font-size:calc(10px + 0.6vmin);font-weight:500}
.texto.enriquecido:not([class*='co-tx-']){color:#072956}
.texto.enriquecido *{line-height:1.2em}
.texto.enriquecido *:not(:last-child):not(li){margin-bottom:calc(10px + 1vmin)}
.texto.enriquecido a{color:#e9ca1b;text-decoration:underline}
.texto.enriquecido b,
.texto.enriquecido strong{font-weight:700}
.texto.enriquecido h1{font-size:1.6em;font-weight:700}
.texto.enriquecido h2{font-size:1.5em;font-weight:700}
.texto.enriquecido h3{font-size:1.4em;font-weight:700}
.texto.enriquecido h4{font-size:1.3em;font-weight:700}
.texto.enriquecido h5{font-size:1.2em;font-weight:700}
.texto.enriquecido h6{font-size:1.1em;font-weight:700}
.texto.enriquecido li:not(:last-child),
.texto.enriquecido li *:not(:last-child){margin-bottom:10px}
.texto.enriquecido li:not(:first-child),
.texto.enriquecido li *:not(:first-child){margin-top:10px}
.texto.enriquecido ol,
.texto.enriquecido ul[style*='list']{padding-left:20px}
.texto.enriquecido ol>li::marker,
.texto.enriquecido ul[style*='list']>li::marker{color:#88afe2;font-weight:700}
.texto.enriquecido ul:not([style*='list']){list-style:none}
.texto.enriquecido ul:not([style*='list'])>li{padding-left:15px}
.texto.enriquecido ul:not([style*='list'])>li::before{content:'';background:#88afe2;display:inline-block;height:0.7em;width:6px;margin:0 9px 0 -15px;vertical-align:baseline;transform:skewX(-10deg);transform-origin:left center}
.texto.enriquecido span[style*='background-color:']{padding:0.1em}
@media(min-width:992px){
    .texto.enriquecido a{transition:color 0.4s}
    .texto.enriquecido a:hover{color:#ffef00}
}

/*texto titulo*/
.texto.titulo.grado{color:#072956;font-weight:900}
.texto.titulo.grado span{color:#f5d63a}
.texto.titulo.grado.tit1{font-size:calc(10px + 4vmin)}
.texto.titulo.grado.tit2{font-size:calc(10px + 3vmin)}
.texto.titulo.grado.tit3{font-size:calc(10px + 2.5vmin)}
.texto.titulo.grado.tit4{font-size:calc(10px + 2vmin)}
.texto.titulo.grado.tit5{font-size:calc(10px + 1.5vmin)}

/*subrayado*/
.subrayado{display:flex;align-items:center;width:100%}
.subrayado i{background:#f5d63a;display:block;font-size:12px;height:8px;width:1em;max-width:1em;flex:0 0 1em;transform:skewX(-10deg)}
.subrayado i:not(:last-child){margin-right:6px}
.figura {
  overflow: hidden;
}

.figura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* cuadrado con los laterales en diagonal */
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}
/* carousel */
.carousel{
    height: 105vh;
    margin-top: -135px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 100%;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 4em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    color: #f1683a;
}
.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 90%;
    right: 35%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 1000px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }

    
    
}


.boton_aula {
    color: #FFF;
    background-color: #d59e00;
    border-color: #d59e00;
  }
  
  .boton_aula:hover {
    color: #FFF;
    background-color: #8b6e19;
    border-color: #8b6e19;
    
  }
  
  