/* Time-Line_____________________*/
.time-line {
    // width: 100%;
    padding: 80px 0 114px;
    position: relative;
    background: #F4FAF8;

    &::after {
        content: '';
        background-image: url('/img/mask/maskBolinha1.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right top;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        mix-blend-mode: darken;
        // opacity: 15%;
        pointer-events: none;
        transform: rotate(180deg) scaleX(-1);

    }


    .slider-wrapper {
        display: flex;
        max-height: 500px;
        justify-content: space-between;
        margin-top: 76px;
    }

    .slider-thumb {
        max-width: 518px;
    }

    .slider-thumb,
    .slider-preview {
        max-height: 100%;

    }

    &__image {

        position: relative;

        img {
            max-height: 500px;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0px 50px;

        }
    }

    .slider-preview {
        width: 538px !important;
        border-radius: 0px 50px;
        box-shadow:
            10px 0px 15px -5px rgba(99, 99, 99, 0.28),
            -10px 0px 15px -5px rgba(99, 99, 99, 0.28),
            0px 20px 20px 0px rgba(99, 99, 99, 0.28);
    }



    /* Estilos padrão para h4 */
    .slider-thumb .type-image h4 {
        font-family: $nunito-black;
        font-size: 36px;
        letter-spacing: -1.2px;
        line-height: 60px;
        color: $color-primary-light;
        opacity: 0.3;
    }

    /* Estilos específicos para cada h4 quando não estiverem selecionados */
    .slider-thumb .type-image:not(.selected):first-child h4 {
        font-family: $nunito-black;
        font-size: 24px;
        letter-spacing: -1.2px;
        line-height: 60px;
        color: $color-primary-light;
        opacity: 0.19;
    }

    .slider-thumb .type-image:not(.selected):nth-child(2) h4 {
        font-family: $nunito-black;
        font-size: 35px;
        letter-spacing: -1.75px;
        line-height: 60px;
        color: $color-primary-light;
        opacity: 0.3;
    }

    .slider-thumb .type-image:not(.selected):nth-last-child(2) h4 {
        font-family: $nunito-black;
        font-size: 35px;
        letter-spacing: -1.75px;
        line-height: 60px;
        color: $color-primary-light;
        opacity: 0.3;
    }

    .slider-thumb .type-image:not(.selected):last-child h4 {
        font-family: $nunito-black;
        font-size: 24px;
        letter-spacing: -1.2px;
        line-height: 60px;
        color: $color-primary-light;
        opacity: 0.19;

    }

    /* Estilos específicos para h4 quando selecionado */
    .slider-thumb .type-image.selected h4 {
        font-family: $nunito-black;
        font-size: 50px;
        letter-spacing: -2.5px;
        line-height: 45px;
        color: $color-primary;
        opacity: unset;
    }

    //  responsive notebooks screens 1021 x 1200
    @media screen and (min-width: $min-small) and (max-width: $max-small) {

        // Time line---_______________

        .slider-preview {
            width: 100% !important;
        }

    }

    //  responsive mobile screens 1020
    @media screen and (max-width: $mobile) {

        // Time line---
        padding: 80px 0;

        .slider-wrapper {
            flex-direction: column;
            max-height: 100%;

        }

        .slider-thumb {
            max-width: 100%;
            width: 100%;
            display: flex;
            justify-content: center;
            flex-direction: column;
        }

        .slider-thumb .type-image.selected h4,
        .slider-thumb .type-image h5,
        .slider-thumb .type-image p {
            display: block !important;

        }

        .slider-thumb .type-image:not(.selected) h4 {
            font-family: $nunito-black;
            font-size: 50px;
            letter-spacing: -2.5px;
            line-height: 45px;
            color: $color-primary;
            opacity: unset;
        }


        .slider-preview {
            width: 100% !important;
            height: 500px;
            border-radius: 0px 50px;
            box-shadow: unset
        }

        &__items {
            max-width: 500px;
            margin: 0 auto;
            padding: 0 80px;

            h4,
            h5,
            p {
                text-align: center;
            }
        }


        // &__image {

        //     width: 300px !important;


        // }

        .slick-dots {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0;
            padding: 30px 0;
            gap: 0 0.5rem;
            list-style-type: none;

            li {
                margin: 0 0.25rem;
            }

            button {
                display: block;
                width: 10px;
                height: 10px;
                padding: 0;
                border: 1px solid #053E60;
                border-radius: 100%;
                background: transparent;
                text-indent: -9999px;

                -webkit-transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
                -o-transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);

                transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
            }

            li.slick-active button {
                background: #0B96E0;
                width: 17px;
                height: 17px;
                border: 1px solid #0B96E0;
            }

        }

    }



}
