* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Quicksand';
}

::-webkit-scrollbar {
    display: none;
    /* Oculta a barra de rolagem */
}

.content-section {
    height: 100vh;
    /* Altura da tela */
    display: flex;
    justify-content: center;
    /* Centraliza verticalmente */
    align-items: center;
    /* Centraliza horizontalmente */
    background-color: #dfdcd1;
    /* Cor de fundo da seção */
    text-align: center;
    /* Centraliza o texto */
}

.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 100% da altura da janela */
    overflow: hidden;
}

#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Faz o vídeo cobrir toda a área sem distorção */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Cor preta com 50% de opacidade */
    z-index: 1;
    /* Garante que o overlay fique acima do vídeo */
}


.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centraliza a imagem */
    max-width: 500px;
    /* Limita o tamanho da logo, ajuste conforme necessário */
    z-index: 3;
    /* Garante que a logo fique acima do overlay */
}

.navbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 20px;
    align-items: center;
}

.navbar p {
    left: 10%;
    position: absolute;
    font-size: 20px;
    color: white;
    letter-spacing: 1px;
}

.back-button {
    text-decoration: none;
    color: white;
    font-size: 18px;
    border: 1px solid white;
    display: inline-block;
    transition: transform 0.2s ease;
    background-color: transparent;
    padding: 10px;
    font-family: 'Quicksand';
    cursor: pointer;
    letter-spacing: 1px;
}

.back-button:hover {
    transform: scale(1.1);
    /* Aumenta o tamanho do botão em 10% */
}

/* --------------------------------------- Nossa História ------------------------------------------ */

.left-content {
    flex: 0 0 50%;
    /* A parte esquerda ocupa 50% da largura */
    display: flex;
    flex-direction: column;
    /* Organiza os elementos em coluna */
    justify-content: flex-start;
    /* Garante que o conteúdo se alinhe no topo */
    height: 100vh;
    width: 100vh;
}

#texto-inicio {
    font-size: 30px;
    /* Defina o tamanho do título */
    margin-bottom: 60px;
    /* Espaço abaixo do título */
    letter-spacing: 5px;
    color: #3A4A40;
    margin-top: 10px;

}

.left-content #texto-inicio,
.left-content #texto {
    margin: 50px;
}

#texto {
    font-size: 18px;
    line-height: 1.6;
    /* Aumenta o espaçamento entre as linhas para facilitar a leitura */
    text-align: justify;
}

.right-content {
    flex: 0 0 50%;
    /* A parte direita ocupa 50% da largura da seção */
    padding-left: 20px;
    /* Espaço à esquerda do conteúdo da direita */
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* Organiza os elementos em coluna */
    justify-content: flex-start;
    /* Garante que o conteúdo se alinhe no topo */
}

.right-content #texto {
    margin: 100px;
}

.image-slider {
    position: relative;
    width: 105vh;
    height: 100vh;
    /* Preenche toda a área */
    display: flex;
    background-color: #f4f4f4;
    /* Cor de fundo opcional */
}

.image-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 110vh;
}

.slider-image {
    min-width: 100%;
    /* Faz com que cada imagem ocupe 100% do container */
    height: 100%;
    /* Ajusta a altura ao container */
    object-fit: cover;
    /* Ajusta a imagem sem distorcer */
    display: none;
    /* Esconde imagens não ativas */
}

.slider-image.active {
    display: block;
    /* Mostra a imagem ativa */
}

button.prev,
button.next {
    position: absolute;
    top: 0;
    height: 100%;
    /* Ocupa toda a altura do slider */
    width: 50px;
    /* Largura fixa para as setas */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
    /* Gradiente do cinza para transparente */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: white;
    /* Cor do ícone da seta */
    font-size: 24px;
    /* Tamanho da seta */
    opacity: 0.8;
    /* Transparência */
    transition: opacity 0.3s;
}

button.prev {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
    /* Gradiente para a esquerda */
}

button.next {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent);
    /* Gradiente para a direita */
}

button.prev:hover,
button.next:hover {
    opacity: 1;
    /* Destaque ao passar o mouse */
}

.left-content button.next {
    right: -33px
}

/* --------------------------------------- Última seção ------------------------------------------ */

.parte-esquerda {
    flex: 55%;
    /* Coluna esquerda maior */
    background-color: #525050;
    /* Cor de fundo */
    padding: 20px;
    height: 100vh;
}

#titulo {
    font-size: 30px;
    color: white;
    letter-spacing: 5px;
    padding-top: 20px;
    transform: translateX(-9%);
}

#titulo2 {
    font-size: 30px;
    color: white;
    letter-spacing: 5px;
    padding-top: 90px;
    transform: translateX(-24%);
}

#subtitulo {
    font-size: 26px;
    color: white;
    text-align: left;
    margin-left: 50px;
    margin-bottom: 10px;
}

#texto-coluna {
    font-size: 18px;
    color: #dfdcd1;
    text-align: left;
    margin-left: 20px;
}

.container-coluna {
    column-gap: 50px;
    column-count: 2;
    padding-top: 100px;
    margin-bottom: 50px;
}

.parte-direita {
    flex: 45%;
    /* Coluna direita menor */
    background-image: url('../assets/images/aerea_fabrica.JPEG');
    /* Imagem será aplicada aqui */
    background-size: cover;
    /* Para cobrir toda a coluna */
    padding: 20px;
    color: white;
    /* Cor do texto, caso necessário */
    height: 100vh;
    background-position: 20%;
}

.icon-button {
    background: transparent;
    /* Fundo transparente */
    border: none;
    /* Sem borda */
    color: white;
    /* Cor do ícone */
    font-size: 40px;
    /* Tamanho do ícone */
    cursor: pointer;
    /* Cursor de ponteiro ao passar o mouse */
    margin-left: 40px;
    /* Espaçamento à esquerda do ícone */
}

#instagram-button {
    color: white;
    transition: transform 0.3s ease;
}

#instagram-button:hover {
    transform: scale(1.1);
}

/*--------------------------------- Sobreposição ---------------------------------*/

.button-container {
    flex-direction: column;
    display: flex;
    position: fixed;
    z-index: 1000;
}

#scrollToTop {
    position: fixed;
    bottom: 80px;
    right: 20px;
    padding: 10px;
    width: 40px;
    height: 40px;
    background-color: #3A4A40;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    /* Certifique-se de que o botão esteja acima de outros elementos */
    box-shadow: 0 1px 5px #3A4A40;
    transition: transform 0.3s ease;
}

#scrollToTop:hover {
    transform: scale(1.1);
}

#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    width: 50px;
    height: 50px;
    background-color: white;
    color: #3A4A40;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    /* Certifique-se de que o botão esteja acima de outros elementos */
    box-shadow: 0 1px 5px #303030;
    font-size: 25px;
}

#whatsapp-button:hover {
    background-color: #3A4A40;
    color: white;
}





/*--------------------------------------- Para dispositivos Móveis ---------------------------------- */




/**-----------------------------------------------------------------------------------------------------*/

@media screen and (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
        height: auto;
    }

    .logo {
        max-width: 400px;
    }

    .navbar p {
        left: 33%
    }

    #scrollToTop {
        display: none;
        margin-bottom: 10px;
    }

    /*--------------------------- Nossa história --------------------------*/

    .content-section {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        overflow: hidden;
    }

    .right-content #texto {
        padding: 20px;
        margin: 0;
        margin-top: 0px;
    }

    .left-content #texto-inicio,
    .left-content #texto {
        margin: 0px;
    }

    .left-content #texto {
        padding: 20px;
        margin: 0;
        margin-bottom: 0px;
    }

    #texto-inicio {
        padding-top: 50px;
        margin-bottom: 10px;
        margin: 0;
        flex-grow: 1;
        position: relative;
    }

    #texto {
        font-size: 16px;
        line-height: 1.6;
        /* Aumenta o espaçamento entre as linhas para facilitar a leitura */
        text-align: justify;
        flex-grow: 1;
        position: relative;
        height: auto;
    }

    .image-slider {
        width: 100vw;
        /* Ajusta o slider para caber na tela */
        height: 70%;
        /* Altura ajustável */
        overflow: hidden;
    }

    .image-container {
        width: 100vw;
        /* Ajusta o container de imagens */
        height: auto;
    }

    .slider-image {
        min-width: 100vw;
        /* Garante que cada imagem ocupe toda a largura */
        height: auto;
        /* Altura proporcional */
    }

    .left-content,
    .right-content {
        width: 100%;
        padding: 0;
        flex: content;
    }

    button.prev,
    button.next {
        height: 100%;
        /* Ajusta a altura das setas no mobile */
        width: 50px;
        /* Um pouco menor para telas menores */
        font-size: 20px;
        /* Tamanho da seta ajustado */
    }

    .left-content button.next {
        right: 0
    }


    /*--------------------------- Última seção --------------------------*/

    #last-section {
        display: flex;
        flex-direction: column;
    }

    .parte-esquerda,
    .parte-direita {
        flex: none;
        /* Remove o flex de proporção */
        width: 100%;
        /* Ocupa toda a largura da tela */
        height: auto;
        /* Ajusta a altura conforme o conteúdo */
    }

    .parte-esquerda {
        display: flex;
        flex-direction: column;
        /* Empilha os elementos verticalmente */
        align-items: flex-start;
        /* Alinha o conteúdo à esquerda */
        padding: 20px;
    }

    #titulo,
    #titulo2,
    #subtitulo,
    #texto-coluna {
        transform: translateX(0);
        /* Remove o deslocamento horizontal */
        margin-left: 0;
        /* Remove margens adicionais */
        width: 100%;
        /* Garante que ocupe a largura disponível */
        margin-bottom: 20px;
    }

    #texto-coluna {
        font-size: 20px;
    }

    #titulo {
        margin-top: 0px;
    }

    #titulo2 {
        width: 100vw;
        font-size: 25px;
    }

    .container-coluna {
        column-count: 1;
        /* Altera para uma única coluna */
        padding-top: 20px;
        margin-bottom: 20px;
    }

    .parte-direita {
        background-position: center;
        /* Ajusta a posição da imagem */
        height: 200px;
        /* Define uma altura específica para a imagem */
    }

    .parte-esquerda #instagram-button {
        font-size: 45px;
        margin-right: 30px;
    }

    /*---------------------------------- Sobreposição -------------------------------*/

    #whatsapp-button {
        font-size: 30px;
        width: 65px;
        height: 65px;
    }

}



/*--------------------------------------- 1080p ---------------------------------- */




/**----------------------------------------------------------------------------------*/

@media screen and (min-width: 1980px) and (max-width: 2559px) {

    .logo {
        max-width: 700px;
    }

    .navbar p {
        font-size: 30px;
    }

    .back-button {
        font-size: 28px;
    }

    /*--------------------- Última seção ----------------------- */

    #titulo {
        font-size: 40px;
        margin-top: 50px;
    }

    #titulo2 {
        font-size: 40px;
    }

    #subtitulo {
        font-size: 42px;
    }

    #texto-coluna {
        font-size: 30px;
    }

    /*----------------- Nossa história -----------------*/

    .left-content {
        flex: 1;
        padding-left: 0px;
    }

    .right-content {
        flex: 1;
        padding-left: 0px;
    }

    #texto-inicio {
        font-size: 50px;
    }
    
    #texto {
        font-size: 38px;
    }
    
    .right-content #texto {
        margin: 100px;
    }
    
    .image-slider {
        width: 100vh;
    }
    
    .image-container {
        width: 100vh;
    }
    
    .left-content button.next {
        right: 0px
    }

    /*--------------------- Sobreposição ----------------------- */

    #scrollToTop {
        bottom: 120px;
        width: 70px;
        height: 70px;
        font-size: 25px;
    }

    #whatsapp-button {
        width: 90px;
        height: 90px;
        font-size: 50px;
    }

}



/*--------------------------------------- 4K ---------------------------------- */




/**----------------------------------------------------------------------------------*/

@media screen and (min-width: 2560px) {

    .logo {
        max-width: 900px;
    }

    .navbar p {
        font-size: 40px;
    }

    .back-button {
        font-size: 38px;
    }

    /*--------------------- Última seção ----------------------- */

    #titulo {
        font-size: 50px;
        margin-top: 50px;
    }

    #titulo2 {
        font-size: 50px;
    }

    #subtitulo {
        font-size: 52px;
    }

    #texto-coluna {
        font-size: 40px;
    }

    /*----------------- Nossa história -----------------*/

    .left-content {
        padding-left: 0px;
    }

    .right-content {
        padding-left: 0px;
    }

    #texto-inicio {
        font-size: 50px;
    }
    
    #texto {
        font-size: 38px;
    }
    
    .right-content #texto {
        margin: 100px;
    }
    
    .image-slider {
        width: 120vh;
    }
    
    .image-container {
        width: 100%;
    }
    
    .left-content button.next {
        right: 0px
    }

    /*--------------------- Sobreposição ----------------------- */

    #scrollToTop {
        bottom: 120px;
        width: 70px;
        height: 70px;
        font-size: 25px;
    }

    #whatsapp-button {
        width: 90px;
        height: 90px;
        font-size: 50px;
    }

}