html {
    scroll-behavior: smooth;
}

@media screen and (min-width: 1024px) {

    body {
        margin: 0;
        font-family: Arial, sans-serif;
        height: 100vh;
        /* Garante que a altura ocupa toda a janela */
        display: block;
        /* Remove o display flex para não centralizar verticalmente */
        /* Evita rolagem por possíveis bordas extras */
    }

    body::before,
    body::after {
        content: "";
        position: fixed;
        top: 0;
        left: 50%;
        /* Centraliza horizontalmente a partir do centro da tela */
        transform: translateX(-50%);
        /* Ajusta para centralizar perfeitamente */
        width: 100%;
        height: 100%;
        z-index: -1;
        /* Faz com que os backgrounds fiquem no fundo */
    }

    .background-image {
        position: absolute;
        max-width: 1290px;
        width: 100%;
        height: auto;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    body::before {
        background:
            url('../images/Fundo Site Parque Truta Azul DEC 2024.jpg') no-repeat top center / cover;
        /* Imagem esticada */
        filter: blur(30px);
        /* Aplica o efeito de desfoque */
    }

    .big-text {
        font-size: 1.92rem !important;
        font-family: TrajanPro;
        color: black !important;
    }

    .container-menu {
        max-width: 1032px !important;
    }

    .icones-parque {
        height: 150px;
        width: auto;
        margin-top: 15px;
        margin-left: 45px;
        margin-right: 45px;
    }

    .carousel-container {
        width: 100%;
        margin: auto;
        overflow: hidden;
        height: 762px;
    }

    .carousel-images {
        display: flex;
        height: 762px;
        animation: roll 80s linear infinite;
        /* Total de 35s, incluindo o tempo de pausa */
    }

    .carousel-images img {
        width: 100%;
        /* Para garantir que as imagens ocupem 100% da largura do container */
        height: 762px;
    }

    .carousel-painel {
        margin-top: 25px;
        margin-bottom: 3px;
    }

    .logo-monocromatico {
        width: 400px !important;
        margin-top: 118px !important;
        margin-bottom: 45px !important;
    }

    .carousel-images-2.animate {
        opacity: 1;
        /* Torna visível */
        animation: roll2 50s linear infinite;
        animation-delay: 2s;
        /* Atraso para começar a animação */
    }
}

@media screen and (max-width: 1407px) {
    .background-image {
        position: absolute;
        max-width: 1407px !important;
        width: 100%;
        height: auto;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .content {
        max-width: 1407px !important;
    }

    .carousel-painel-2 {
        margin-left: 22px !important;
        margin-right: 15px !important;
    }

    .carousel-container-2 {
        max-width: 1407px !important;
    }

    .carousel-images-2.animate {
        opacity: 1;
        /* Torna visível */
        animation: roll3 50s linear infinite;
        animation-delay: 2s;
        /* Atraso para começar a animação */
    }

    .carousel-images {
        display: flex;
        height: 762px;
        animation: roll6 80s linear infinite;
        /* Total de 35s, incluindo o tempo de pausa */
    }

    .menu-overlay {
        align-items: left !important;
    }
}

.content {
    text-align: center;
    color: white;
    z-index: 1;
    /* Garante que o conteúdo está acima do fundo */
    position: relative;
    /* Permite que o conteúdo se sobreponha corretamente */
    padding-top: 20px;
    /* Ajuste opcional para dar algum espaço do topo */
    max-width: 1290px;
    margin: auto;
    font-family: BanderaPro;
}

.logo-header {
    max-width: 29%;
    margin-top: 15px;
}

.selo-header {
    position: absolute !important;
    margin-top: -30px;
    width: 15%;
    margin-left: 18%;
}

/* Styling for the overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay ul {
    list-style: none !important;
    padding: 0;
    text-align: center;
}

.menu-overlay ul li {
    margin: 1rem 0;
}

.menu-overlay ul li a {
    color: #00adf1;
    font-size: 3rem;
    text-decoration: none;
    font-weight: 300;
    position: relative;
    /* Necessário para o pseudo-elemento */
    display: inline-block;
}

.menu-overlay ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    /* Espaço entre o texto e a linha */
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #00adf1;
    /* Cor da linha */
    transition: width 0.3s ease, left 0.3s ease;
}

.menu-overlay ul li a:hover::after {
    width: 100%;
    left: 0;
}

/* Close button for overlay */
.menu-overlay .close-button {
    position: absolute;
    top: 0;
    right: 1rem;
    background: none;
    color: #00adf1;
    border: none;
    font-size: 10rem;
    font-weight: 100;
    cursor: pointer;
}

/* Styling for the menu button */
.menu-button {
    background: none;
    color: white;
    border: none;
    font-size: 2.4rem;
    cursor: pointer;
    margin-top: -59px;
    float: right;
    margin-right: 7rem;
}

.menu-button:hover {
    color: white;
}

/* Keyframes for the rolling animation */
@keyframes roll {
    0% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(-289.5%);
    }

    50% {
        transform: translateX(-289.5%);
    }

    95% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes roll6 {
    0% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(-270%);
    }

    50% {
        transform: translateX(-270%);
    }

    95% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

.carousel-container-2 {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    height: 255px;
}

.carousel-images img-2 {
    width: 100%;
    /* Para garantir que as imagens ocupem 100% da largura do container */
    height: 255px;
}

.carousel-painel-2 {
    margin-top: -296px;
    padding: 0px 0px;
    margin-bottom: 3px;
    margin-left: 120px;
    margin-right: 120px;
}

.carousel-images-2 img {
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer
}

.carousel-images-2 {
    display: flex;
    height: 255px;
    opacity: 0;
    /* Invisível até que a animação inicie */
    transition: opacity 0.5s ease-in-out;
    /* Transição suave de opacidade */
}

@keyframes roll2 {
    0% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(-85%);
    }

    50% {
        transform: translateX(-85%);
    }

    95% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes roll3 {
    0% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(-74.3%);
    }

    50% {
        transform: translateX(-74.3%);
    }

    95% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

#rolo1 {
    height: 500px;
    margin-top: -65px;
    float: left;
    position: absolute;
    margin-left: -139px
}

#rolo2 {
    height: 500px;
    margin-top: -65px;
    float: right;
    position: absolute;
    margin-left: -140px
}

@media screen and (max-width: 1407px) {
    #rolo1 {
        margin-left: -238px;
    }

    #rolo2 {
        margin-left: -3%;
    }
}

#menu-footer {
    list-style: none !important;
}

#menu-footer li a {
    color: white !important;
    font-size: 20px;
}

.js-modal-trigger {
    cursor: pointer;
}

.modal-content {
    max-width: 70vw;
    width: initial !important;
}

.sticky,
.sticky2 {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fcfdfb;
    z-index: 2;
    background-color: #90b9d9;
}