.home__page {
    background-image: url('../../img/site/bg_home_2.png');
    background-position: top center;
    background-size: 110% auto;
    background-repeat: no-repeat;
    padding-top: 6rem;
    margin-top: -3rem;
}
body.gray .home__page {
    background-image: url('../../img/site/bg_home_gray.png');
    background-position: top center;
    background-size: 120% auto;
    background-repeat: no-repeat;
    padding-top: 6rem;
    margin-top: -3rem;
}

#slider__home {
    width: 100%;
}

#slider__home.splide--ttb>.splide__pagination {
    right: unset !important;
    left: .5rem !important;
}
#slider__home .splide__pagination__page {
    background-color: #c30f00 !important;
    opacity: 1 !important;
    height: 24px !important;
    width: 10px !important;
    border-radius: 10px !important;
    transition: .3s;
}
#slider__home .splide__pagination__page.is-active {
    background-color: #fff !important;
    height: 60px !important;
    /* margin: px 0 !important; */
    transform: none !important;
    transition: .3s;
}

#slider__home .content__slide {
    display: flex;
    align-items: flex-end;
    width: 95%;
    height: 100%;
    margin-left: auto;

}
#slider__home .content__slide .product {
    width: 75%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}
#slider__home .content__slide .product .text {
    width: 30%;
    margin-bottom: 15%;
    margin-right: 1.5rem;
    flex-grow: 0.2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#slider__home .content__slide .product .text img {
    width: 65%;
    min-width: 180px;
    height: auto;
}
#slider__home .content__slide .product .text p {
    font-family: "Poppins SemiBold", sans-serif;
    text-align: right;
    font-size: 1.1rem;
    line-height: normal;
    margin: .5rem 0;
    width: 80%;
    margin-bottom: 2rem;
    margin-top: 1rem;
}
#slider__home .content__slide .product .text a {
    /* background-color: #c30f00; */
    color: #fff;
    display: flex;
    padding: .5rem 1.5rem;
    text-decoration: none;
    transition: .3s;
    position: relative;
    font-family: "Poppins SemiBold", sans-serif;
}
#slider__home .content__slide .product .text a::before {
    content: " ";
    border-radius: 2rem 0 0 0 ;
    position: absolute;
    width: 200%;
    z-index: -1;
    left: 0%;
    height: 100%;
    top: 0;
    background-color: #c30f00;
    transition: .3s;
}

#slider__home .content__slide .product .text a:hover {
    color: #c30f00;
}
#slider__home .content__slide .product .text a:hover::before {
    background-color: #fff;
}





#slider__home .content__slide .product .img {
    flex-grow: 0.7;
    height: 100%;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}


#slider__home .content__slide .notice {
    width: 25%;
    margin-bottom: 7%;
}
#slider__home .content__slide .notice .img {
    width: 100%;
    border-radius: 1.5rem 0 0 0;
    transition: .3s;
    background-size: 100% auto;
    animation: outBackground .3s forwards;
}
#slider__home .content__slide .notice:hover .img {
    animation: fadeBackground .3s forwards;
}


#slider__home .content__slide .notice .text {
    background-color: #fff;
    border-radius: 1.5rem 0 0 0;
    margin-top: -1.5rem;
    color: #242424;
    margin-bottom: 0;
    padding: 1.5rem .5rem;
    z-index: 2;
    position: relative;
}
#slider__home .content__slide .notice .text h3 {
    margin-bottom: 0;
    text-align: right;
    font-family: "Poppins SemiBold", sans-serif;
    font-size: 1.2rem;
    width: 85%;
    margin-left: auto;
}
#slider__home .content__slide .notice .text hr {
    background-color: #c30f00;
    width: 85%;
    /* margin-left: 15%; */
    margin: 1rem 0 1rem 15%;
}

#slider__home .content__slide .notice .text p {
    margin-bottom: 0;
    font-family: "Calibri", sans-serif;
    text-align: right;
    color: #292929;
    font-weight: 700;
    width: 90%;
    margin-left: auto;
}

#slider__home .content__slide .notice a.link {
    width: 100%;
    background-color: #ed1d24;
    padding: 1.2rem 1rem .2rem 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-family: "Poppins SemiBold", sans-serif;
    border-radius: 0 0 0 1.5rem;
    margin-top: -1rem;
    transition: .3s;
    font-size: .9rem;
}
#slider__home .content__slide .notice a.link:hover {
    background-color: #292929;
}

#slider__home .content__slide .notice a.link i {
    margin-left: 5px;
    margin-top: 3px;
    font-size: 2rem;
}




.noticias__home {
    padding: 0 0 5rem 0;
}
.noticias__home h1.title {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 3rem;
    font-family: "Arial Black", sans-serif;
    color: #222222;
}

.noticias__home .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.noticias__home .content .noticia {
    max-width: 300px;
    width: 100%;
    margin: 1rem;
}
.noticias__home .content .noticia .img {
    border-radius: 1.5rem 0 0 1rem;
    margin-bottom: -1rem;
    position: relative;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    width: 100%;
    animation: outBackground .3s forwards;
}
.noticias__home .content .noticia:hover .img {
    animation: fadeBackground .3s forwards;
}


.noticias__home .content .noticia .text {

    padding: 1.2rem .5rem;
    padding-top: 2.2rem;
    background-color: #c30f00;
    border-radius: 0 0 0 1rem;
    text-align: right;
}
.noticias__home .content .noticia .text h3 {
    width: 90%;
    margin-left: auto;
    font-family: "Poppins SemiBold", sans-serif;
    font-size: 1.2rem;
}
.noticias__home .content .noticia .text p {
    margin-bottom: 0;
    width: 90%;
    margin-left: auto;
    font-family: "Calibri", sans-serif;
    font-weight: bold;
}
.noticias__home .content .noticia a.link {
    width: max-content;
    margin-left: auto;
    padding: .5rem 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #292929;
    font-family: "Poppins SemiBold", sans-serif;
    background-color: #fff;
    border-radius: 0 0 0 1.5rem;
    transition: .3s;
    font-size: .9rem;
}
.noticias__home .content .noticia a.link i {
    margin-left: 5px;
    margin-top: 3px;
    font-size: 1.2rem;
}

.noticias__home .content .noticia a.link:hover {
    background-color: #292929;
    color: #fff;
}




.video__home {
    position: relative;
    margin: 5rem 0;
}
.video__home .maskIframe {
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: relative;
}
.video__home .maskIframe a.discover {
    position: absolute;
    top: 10%;
    left: 15%;
    transition: .3s;
    display: flex;
    width: 230px;
    height: max-content;
}
.video__home .maskIframe a.discover:hover {
    transform: scale(1.1);
}
.video__home .maskIframe a.discover img {
    width: 100%;
    height: auto;
}


.video__home .maskIframe img.moto {
    position: absolute;
    left: 35%;
    height: 90%;
    top: -10%;
}



.video__home iframe {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.video__home iframe.hide {
    pointer-events: none;
}

@keyframes outBackground {
    from {
        background-size: 120% auto;
    }
    to {
        background-size: 100% auto;

    }
}
@keyframes fadeBackground {
    from {
        background-size: 100% auto;
    }
    to {
        background-size: 120% auto;

    }
}


@keyframes btnOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%);
        opacity: 0.7;
    }
    75% {
        transform: translateX(-100%);
        opacity: 0.5;
    }
    100% {
        transform: translateX(-300%);
        opacity: 0;
    }
}
@keyframes ImageOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(50%);
        opacity: 0.7;
    }
    75% {
        transform: translateX(100%);
        opacity: 0.5;
    }
    100% {
        transform: translateX(300%);
        opacity: 0;
    }
}
@keyframes MaskOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: scale(0.7);
        opacity: 0.5;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}
@keyframes IframeIn {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    75% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}



@media screen and (max-width: 991px), (orientation: portrait) {
    .home__page {
        background-size: 300% auto;
        padding-top: 3rem;
    }
    #slider__home .content__slide .notice {
        display: none;
    }
    #slider__home .content__slide .product {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #slider__home .content__slide .product .text {
        width: 100%;
        height: 50%;
        margin-bottom: 0;
        margin-right: 0;
        flex: unset;
        align-items: center;
        justify-content: center;
    }
    #slider__home .content__slide .product .text p {
        text-align: center;
        margin-bottom: 10px;
    }
    #slider__home .content__slide .product .text a::before {
        width: 100%;
        border-radius: 100px;
    }
    #slider__home .content__slide .product .img {
        padding-bottom: 100%;
        width: 100%;
        /* display: none; */
        height: unset;
    }
    .noticias__home {
        padding-bottom: 0;
        margin-top: 1.5rem;
    }
    .video__home .maskIframe a.discover img {
        pointer-events: none;
    }
    .video__home .maskIframe a.discover {
        z-index: 999;
    }
    .video__home .maskIframe a.discover img {
        width: 84%;
    }

}
