@keyframes aparecerDerecha {
    from {right: 0%; transform: translateX(0%); opacity: 0;}
    to {right: 50%; transform: translateX(-50%); opacity: 1;}
}

@keyframes aparecer {
    from {transform: scale(1.2);}
    to {transform: scale(1);}
}

.lightSlider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.lightSlider .slide:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.40) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
}

.lightSlider .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: aparecer 1s forwards;
    -webkit-animation: aparecer 1s forwards;
    transition: all 0.6s ease;
    transform: scale(1.2);
}

.lightSlider .slide > img {
    object-fit: cover;
    width: 100%!important;
    height: 100%!important;
}

.lightSlider .text-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation-delay: 5s;
    animation: aparecerDerecha 2s forwards;
    -webkit-animation: aparecerDerecha 2s forwards;
    z-index: 10;
    max-width: var(--containerWidth);
    padding: 82px 0 160px;
}

.lightSlider .text-wrap h1, .lightSlider .text-wrap h2{
    font-size: 48px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.96px;
    color: var(--blanco);
    margin-bottom: 0;
    max-width: 740px;
}
.lightSlider .text-wrap p{
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    color: var(--grisMuyClaro);
    margin-bottom: 0;
    max-width: 600px;
}


.lightSlider .video-wrap, 
.lightSlider .video-wrap .video iframe {
    width: 100%;
    height: 100%;
}

.lightSlider .video-wrap .video {
    height: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lightSlider .video-wrap .video video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
}

.lightSlider .video-wrap .video iframe {
    position: absolute;
    left: 0;
    top: 0;
}

.lightSlider .arrow {
    display: block;
    position: absolute;
    bottom: 64px;
    width: 26px;
    height: 26px;
    z-index: 200;
    cursor: pointer;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.lightSlider .arrow:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.lightSlider .arrow.arrowRight {
    right: 64px;
}

.lightSlider .arrow.arrowRight:before {
    background: url(./right-arrow.svg) center center/contain no-repeat;

}
.lightSlider .arrow.arrowRight:hover{
    transform: translateX(5px);
}

.lightSlider .arrow.arrowLeft {
    right: 100px;
}

.lightSlider .arrow.arrowLeft:before {
    background: url(./left-arrow.svg) center center/contain no-repeat;
}
.lightSlider .arrow.arrowLeft:hover{
    transform: translateX(-5px);
}

.lightSlider .moreInfo {
    display: block;
    position: absolute;
    z-index: 200;
    bottom: 30px;
    left: 20px;
    text-transform: uppercase;
    transform-origin: 0 0;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

.lightSlider .moreInfo > a {
    display: flex;
    align-items: center;
    color: white;
    line-height: 18px;
    font-size: 13px;
    letter-spacing: 5px;
}

.lightSlider .moreInfo > a:before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-right: 10px;
    background: url(./moreInfo-arrow.svg) center center/contain no-repeat;
}

.lightSlider .point-nav {
    position: absolute;
    width: 100%;
    bottom: 64px;
    z-index: 100;
    max-width: var(--containerWidth);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 34px;
}

.lightSlider .point-nav .point {
    width: auto;
    min-width: 228px;
    height: auto;
    cursor: pointer;
    color: var(--grisClaro);
    font-size: 16px;
    font-weight: 600;
    line-height: 160%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lightSlider .point-nav .point.active,
.lightSlider .point-nav .point:hover {
   color: var(--blanco);
}

.lightSlider .point-nav .point .barra{
    height: 3px;
    width: 100%;
    background-color: var(--gris);
    position: relative;
}
.lightSlider .point-nav .point .barra:before{
    content: "";
    width: 100%;
    height: 100%;
    background: var(--gradiente-2);
    position: absolute;
    top: 0;
    left: 0;
    transition: transform .3s ease-in-out;
    transform: scaleX(0);
    transform-origin: 0 0;
}
.lightSlider .point-nav .point.active .barra:before{
    animation: fillBar 8s forwards;
}

@keyframes fillBar {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
