/* From Uiverse.io by Cevorob */
.burger {
    position: relative;
    width: 40px;
    height: 30px;
    background: transparent;
    cursor: pointer;
}

.burger input {
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: white;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked~span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 5px;
}

.burger input:checked~span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.burger input:checked~span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
    left: 5px;
}

/* Área de depoimentos com scroll infinito */

.scroll {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    overflow-x: hidden;
    mask: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.scroll__container {
    display: flex;
    padding: 30px 0;
    gap: 20px;
    /* Importante: permite que o conteúdo exceda a largura da tela 100% */
    width: max-content; 
    transition: all 1s ease-in-out;
    animation: scrollinfinito 40s linear infinite;
    overflow-x: visible; /* Alterado para visible pois o pai (.scroll) corta */
}

.scroll__container .line1 {
    display: flex; /* Garante que os itens fiquem lado a lado */
    gap: 20px;
}


.scroll__container .line2 {
    display: flex; /* Garante que os itens fiquem lado a lado */
    gap: 20px;
}

.scrollr__container {
    display: flex;
    padding: 30px 0;
    gap: 20px;
    width: max-content;
    animation: scrollreverse 40s linear infinite;
}

/* Animação de scroll infinito */
@keyframes scrollinfinito {
    from {
        translate: 0;
    }

    to {
        translate: calc(-50% - 5px);
    }
}

/* Animação de scroll infinito reverso*/
@keyframes scrollreverse {
    from {
        translate: calc(-50% - 5px);
    }

    to {
        translate: 0;
    }
}

/* Fim da área de depoimentos com scroll infinito */

/* Responsive scroll */

/* 2xl */
@media (max-width: 1536px) {}

/* xl */
@media (max-width: 1280px) {
    .scroll {
        max-width: 1000px;
    }
}

/* lg */
@media (max-width: 1024px) {
    .scroll {
        max-width: 800px;
    }
}

/* md */
@media (max-width: 768px) {
    .scroll {
        mask: none;
    }

    .scroll__container {
        flex-direction: column;
        width: 100%;
        overflow-x: hidden;
        animation: none;
    }

    .scroll__container .line1 {
        flex-direction: column;
    }

    .scroll__container .line2 {
        display: none;
    }

    .scrollr__container {
        display: none;
    }

    .scroll__item {
        width: 100%;
        max-width: 100%;
    }

    /*.scroll__item {
        width: 65%;
    }*/

    .scroll__item p {
        width: 100%;
    }
}

/* sm */
@media (max-width: 640px) {
    .scroll__item {
        width: 100%;
        max-width: 100%;
    }

    .scroll__item p {
        width: 100%;
    }
}

/* xs */
@media (max-width: 475px) {
    .scroll__item {
        width: 100%;
        max-width: 100%;
    }

    .scroll__item p {
        width: 100%;
        text-align: start;
    }
}

/* Fim do responsive scroll */


