﻿.container {
    width: 100%;
    height: auto;
    overflow: hidden
}

.banner-hero {
    height: 400px;
    width: 100%;
    position: relative;
    background-color: var(--dark-green);
    overflow-x: hidden;
}

.slideshow li span img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    object-fit: cover;
    opacity: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 36s linear infinite 0s;
    animation: imageAnimation 36s linear infinite 0s;
}



.slideshow li .div-title {
    z-index: 1000;
    position: absolute;
    bottom: 200px;
    width: 100%;
    opacity: 0;
}

    .slideshow li .div-title h2 {
        color: var(--white);
        font-family: Ubuntu;
        font-size: 40px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        background-color: var(--secondary-green);
        display: inline-block;
    }

    .slideshow li .div-title h3 {
        color: var(--white);
        font-family: Ubuntu;
        font-size: 80px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

.animation-right {
    right: calc(50% - 554px);
    text-align: end;
    -webkit-animation: titleAnimationRight 36s linear infinite 0s;
    animation: titleAnimationRight 36s linear infinite 0s;
}

.animation-left {
    left: calc(50% - 554px);
    text-align: start;
    -webkit-animation: titleAnimationLeft 36s linear infinite 0s;
    animation: titleAnimationLeft 36s linear infinite 0s;
}


.slideshow li:nth-child(1) span {
}

.slideshow li:nth-child(2) span img {
    /*        background-image: url(../assets/Carrosel/imagem2.png);*/
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}

.slideshow li:nth-child(3) span img {
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s;
}

.slideshow li:nth-child(4) span img {
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s;
}

.slideshow li:nth-child(5) span img {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}

.slideshow li:nth-child(6) span img {
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}

.slideshow li:nth-child(2) .div-title {
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}

.slideshow li:nth-child(3) .div-title {
    -webkit-animation-delay: 12s;
    animation-delay: 12s;
}

.slideshow li:nth-child(4) .div-title {
    -webkit-animation-delay: 18s;
    animation-delay: 18s;
}

.slideshow li:nth-child(5) .div-title {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}

.slideshow li:nth-child(6) .div-title {
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}

.contorno-home {
    background: var(--dark-green);
    bottom: 55px;
    border-radius: 2px;
    width: 230px;
    height: 50px;
    display: flex;
    justify-content: center;
    border-radius: 30px;
    align-items: center;
    float: inline-end;
}

    .contorno-home a {
        text-decoration: none;
        color: white;
    }

.playnow-home {
    width: 217px;
    height: 45px;
    background-color: var(--dark-green);
    border: 2px solid var(--secondary-green);
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--white);
    transition: .85s ease;
}

    .playnow-home:hover {
        border: 2px solid var(--purple);
    }


.banner-hero-content {
    width: 100%;
    height: 500px;
    background-color: var(--dark-green-one);
    position: relative;
    display: flex;
}

.banner-hero-text-div {
    width: 50%;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
}

    .banner-hero-text-div.justify-right {
        justify-content: right;
    }

    .banner-hero-text-div.justify-left {
        justify-content: left;
    }

.left {
    background-position-y: bottom;
    background-image: url(../assets/BG-Esquerdo.webp);
}

.right {
    background-image: url(../assets/BG-Direito.webp);
    background-position-y: bottom;
    background-position-x: right;
}

.text-mobile {
    display: none;
}

.banner-hero-text-div p {
    width: 554px;
    color: var(--Branco-e-Cinza-Branco, #FFF);
    text-align: justify;
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 1.5rem;
    margin-left: auto;
}

.banner-hero-text-div h1 {
    color: var(--Verde-Verde, #2CB526);
    text-align: right;
    font-family: Ubuntu;
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.banner-hero-text-div h2 {
    color: var(--light-gray);
    text-align: right;
    font-family: Ubuntu;
    font-size: 42px;
    font-style: normal;
    font-weight: 300;
    display: inline-block;
    line-height: normal;
    background: var(--purple);
}

.banner-hero-text-div h3 {
    width: 554px;
    color: var(--Branco-e-Cinza-Branco, #FFF);
    font-family: Ubuntu;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    margin-left: auto;
}

    .banner-hero-text-div h3 span {
        color: var(--secondary-green);
        font-family: Ubuntu;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 150%;
    }

.banner-hero-text-div .text-lg-econtab {
    text-align: right;
    margin-left: 255px;
}

.banner-hero-text-div .banner-text-lg {
    text-align: center;
}


/* Animation for the slideshow images */
@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    8% {
        opacity: 1;
        animation-timing-function: ease-out;
    }

    17% {
        opacity: 1;
    }

    25% {
        opacity: 0;
        filter: blur(6px) brightness(0.1);
    }

    100% {
        opacity: 0
    }
}
/* Animation for the title */

@keyframes titleAnimationRight {
    0% {
        opacity: 0;
        transform: translateX(-200%);
    }

    8% {
        opacity: 1;
        transform: translateX(0);
    }

    17% {
        opacity: 1;
        transform: scale(1);
    }

    19% {
        opacity: 0
    }

    25% {
        opacity: 0;
        transform: translateX(200%);
    }

    100% {
        opacity: 0
    }
}

@keyframes titleAnimationLeft {
    0% {
        opacity: 0;
        transform: translateX(+200%);
    }

    8% {
        opacity: 1;
        transform: translateX(0);
    }

    17% {
        opacity: 1;
        transform: scale(1);
    }

    19% {
        opacity: 0
    }

    25% {
        opacity: 0;
        transform: translateX(-200%);
    }

    100% {
        opacity: 0
    }
}


@media screen and (max-device-width: 480px) and (orientation:portrait) {

    .slideshow li span {
    }

    .banner-hero-text-div {
        width: 100%;
        justify-content: unset;
        padding-top: 50px;
    }

    .banner-hero-content {
        height: 400px;
    }

    .right {
        display: none;
    }

    .left {
        background-position-y: -185px;
    }

    .banner-text-lg {
        display: none;
    }

    .text-mobile {
        display: block;
        text-align: center;
        padding: 0px 10px;
    }

    .banner-hero-text-div h1 {
        font-size: 32px;
    }

    .banner-hero-text-div h2 {
        font-size: 24px;
    }

    .banner-hero-text-div p {
        text-align: center;
        width: auto;
    }

        .banner-hero-text-div p:last-child {
            font-weight: 500;
        }


        .banner-hero-text-div p span {
            color: var(--secondary-green);
            font-weight: 700;
        }

    .banner-title-mobile {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
        gap: 6px;
    }

    .slideshow li .div-title h2 {
        font-size: 30px;
    }

    .slideshow li .div-title h3 {
        font-size: 42px;
    }

    .slideshow li .div-title {
        bottom: 100px;
    }

    .animation-left {
        left: 30px;
    }

    .animation-right {
        left: -30px;
    }
}


@media screen and (min-width: 481px) and (max-width: 620px) {

    .banner-hero-text-div {
        width: 100%;
        justify-content: unset;
        padding-top: 50px;
    }

    .banner-hero-content {
        height: 400px;
    }

    .right {
        display: none;
    }

    .left {
        background-position-y: -265px;
    }

    .banner-text-lg {
        display: none;
    }

    .text-mobile {
        display: block;
        text-align: center;
        padding: 0px 30px;
    }

    .banner-hero-text-div h1 {
        font-size: 32px;
    }

    .banner-hero-text-div h2 {
        font-size: 24px;
    }

    .banner-hero-text-div p {
        text-align: center;
        width: auto;
    }

        .banner-hero-text-div p:last-child {
            font-weight: 500;
        }


        .banner-hero-text-div p span {
            color: var(--secondary-green);
            font-weight: 700;
        }

    .banner-title-mobile {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
        gap: 6px;
    }

    .slideshow li .div-title {
        bottom: 100px;
    }

    .animation-left {
        left: 60px;
    }

    .slideshow li .div-title h2 {
        font-size: 30px;
    }

    .slideshow li .div-title h3 {
        font-size: 42px;
    }

    .animation-left {
        left: 30px;
    }

    .animation-right {
        left: -30px;
    }

    .banner-text-lg {
        /* padding: 2px 59px; */
        width: 600px;
    }
}

@media screen and (min-width: 621px) and (max-width: 1080px) {
    .slideshow li span {
        background-position: center;
    }

    .banner-hero-text-div {
        width: 100%;
        justify-content: unset;
        padding-top: 50px;
    }

    .banner-hero-content {
        height: 400px;
    }

    .right {
        display: none;
    }

    .left {
        background-position-y: -265px;
    }

    .banner-text-lg {
        display: none;
    }

    .text-mobile {
        display: block;
        text-align: center;
        width: 75%;
    }

    .banner-hero-text-div h1 {
        font-size: 32px;
    }

    .banner-hero-text-div h2 {
        font-size: 24px;
    }

    .banner-hero-text-div p {
        text-align: center;
        width: auto;
    }

        .banner-hero-text-div p:last-child {
            font-weight: 500;
        }


        .banner-hero-text-div p span {
            color: var(--secondary-green);
            font-weight: 700;
        }

    .banner-title-mobile {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
        gap: 6px;
    }

    .animation-right {
        left: -60px;
    }

    .animation-left {
        left: 60px;
    }

    .slideshow li .div-title h2 {
        font-size: 35px;
    }

    .slideshow li .div-title h3 {
        font-size: 55px;
    }
}


@media screen and (min-width: 1080px) {
    .right {
        background-size: 600px;
    }
}

@media screen and (max-width: 1200px) {

    .banner-hero-text-div p,
    .banner-hero-text-div h3 {
        width: auto;
        margin-left: 50px;
    }

    .banner-hero-text-div .text-lg-econtab {
        text-align: right;
        margin-left: auto;
        margin-right: 50px;
    }

    .banner-hero-text-div.justify-right {
        justify-content: center;
    }
}

@media screen and (max-width: 1040px) {
    .banner-hero {
        height: 240px;
    }

    .slideshow li .div-title {
        bottom: 80px;
    }
}

@media(max-width: 1080px) {
    .contorno-home {
        float: none;
        margin: auto;
    }
}

@media(max-width: 480px) {
    .contorno-home {
        margin-bottom: 3rem;
    }
}
