@font-face {
    font-family: 'MissionGothicItalic';
    src: local('MissionGothicItalic'), url('/fonts/MissionGothicRegularItalic.woff2') format('woff2'), url('/fonts/MissionGothicRegularItalic.woff') format('woff');
    font-style: italic;
    font-weight: normal;
}

@keyframes brilhoSuaveAmarelo {
    0%, 100% {
        text-shadow: 0 0 2px #FFED00, 0 0 4px #FFD700;
    }

    50% {
        text-shadow: 0 0 4px #FFED00, 0 0 6px #FFA500;
    }
}

@keyframes brilhoSuaveBranco {
    0%, 100% {
        text-shadow: 0 0 2px #ffffff, 0 0 4px #cccccc;
    }

    50% {
        text-shadow: 0 0 4px #ffffff, 0 0 6px #dddddd;
    }
}

@keyframes brilharAmarelo {
    0%, 100% {
        text-shadow: 0 0 5px #FFED00, 0 0 15px #FFD700, 0 0 30px #FFA500;
    }

    50% {
        text-shadow: 0 0 10px #FFED00, 0 0 20px #FFD700, 0 0 50px #FF8C00;
    }
}

body {
    font-family: 'MissionGothicItalic', Arial, sans-serif;
    font-style: italic;
    background-image: url('/img/wp5991793-stars-2560x1440-wallpapers.jpg'); /* Caminho relativo */
    background-size: cover; /* Faz a imagem cobrir toda a tela */
    background-attachment: fixed; /* Fixa a imagem ao fundo (opcional) */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    padding: 8px 0px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
    border: 1px solid #FCCF13;
}

.grid-item {
    color: #FCCF13;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-size: 16px;
}

.com-linha-desktop {
    border-bottom: 1px solid #FCCF13;
}

p {
    color: #FFFFFF;
    font-size: 25px;
    width: 85%;
    margin-top: 30px;
    margin-bottom: 70px;
    border-radius: 70px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1em 1em;
    width: 100%;
}

.bloco-inicial {
    background-image: url('/img/papaiNoel.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
    padding-top: 180px;
}

.h1-branco {
    font-weight: 450;
    font-size: 75px;
    color: white;
    text-shadow: 0 0 2px #ffffff, 0 0 4px #cccccc;
    animation: brilhoSuaveBranco 2s infinite alternate;
    padding-left: 20px;
    padding-right: 20px;
}

.h1-amarelo {
    font-weight: 450;
    font-size: 75px;
    color: #FCCF13;
    /*text-shadow: 0 0 2px #FFED00, 0 0 4px #FFD700;*/
    animation: brilharAmarelo 1.5s infinite alternate;
    padding-left: 20px;
    padding-right: 20px;
}

.h1-amarelo-inicial {
    font-weight: 450;
    font-size: 75px;
    color: #FCCF13;
    padding-top: 10px;
    /*text-shadow: 0 0 2px #FFED00, 0 0 4px #FFD700;*/
    animation: brilharAmarelo 1.5s infinite alternate;
    padding-left: 20px;
    padding-right: 20px;
}

.bloco-texto{
    padding: 0em 4em;
}

.texto-amarelo-div{
    width: 100%;
    justify-items: center;
}

.texto-amarelo-embaixo-trem {
    color: #FCCF13;
    text-align: center;
    margin-bottom: 20px;
}

.imagem-trem {
    width: 100%;
    height: 380px;
    background-image: url('/img/trem-natal 2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    display: flex;
    justify-content: right;
}

/*.imagem-estrelas-trem{
    right: auto;
}*/

.container-principal {
    margin-top: 4em;
    border-radius: 70px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 6em 3em;
}

.botoes-container {
    display: flex; /* Alinha os botões horizontalmente */
    justify-content: center; /* Centraliza os botões */
    gap: 15px; /* Espaço entre os botões */
    padding: 10px; /* Espaço interno da div */
    border: 1px solid #FCCF13; /* Opcional, para ver os limites da div */
    width: fit-content; /* Ajusta a largura ao conteúdo */
    margin: 0 auto; /* Centraliza a div horizontalmente */
    border-radius: 50px;
}

.btn {
    padding: 15px 25px;
    margin: 5px;
    border: 2px solid #FCCF13;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    color: #FCCF13 !important;
    transition: background-color 0.3s, color 0.3s;
}

    .btn:hover {
        background-color: #FBE173;
        color: black;
    }

    /* Botão selecionado */
    .btn.selecionado {
        background-color: #FCCF13;
        color: black !important;
        border-color: #FCCF13;
    }

    /* Estilo único para cada botão com base em atributos */
    .btn[data-date="2024-12-11"] {
        background-color: #ffc107;
    }

    .btn[data-date="2024-12-12"] {
        background-color: #28a745;
    }

    .btn[data-date="2024-12-13"] {
        background-color: #17a2b8;
    }

.itinerario-container-principal {
    overflow-x: auto;
    scroll-behavior: smooth;
}

/* Container central para o itinerário */
.itinerario-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 50px auto;
    height: 100px;
}

/* Linha horizontal */
.linha-horizontal {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    z-index: 1;
}

/* Círculos das cidades */
.cidade-circulo {
    position: relative;
    z-index: 2;
    background-color: #FCCF13;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -4px;
}

/* Nome da cidade */
.cidade-nome {
    position: absolute;
    top: -60px;
    font-size: 14px;
    text-align: center;
    width: 250px;
    margin-left: -105px;
    color: #ffdf59;
}

.cidade-sigla {
    position: absolute;
    top: -40px;
    font-size: 14px;
    text-align: center;
    width: 200px;
    margin-left: -90px;
    color: #ffdf59;
}

    .cidade-sigla.passed {
        color: #fff5c8;
    }

    .cidade-sigla.destacada {
        font-weight: bold;
        font-size: 16px;
        color: #FCCF13;
    }

.cidade-horario {
    position: absolute;
    top: 30px;
    font-size: 14px;
    text-align: center;
    width: 200px;
    margin-left: -90px;
    color: #ffdf59;
}

.cidade-horario.passed {
    color: #fff5c8;
}

.cidade-horario.destacada {
    font-weight: bold;
    font-size: 16px;
    color: #FCCF13; /* Azul destacado */
}

/* Ícone do trem */
.icone-trem {
    position: absolute;
    top: 50%;
    width: 35px;
    height: 35px;
    background-image: url('/img/trem.png'); /* Substitua pelo caminho do seu ícone */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 3;
    transform: translateY(-50%);
}

/* Círculos preenchidos */
.cidade-circulo.passed {
    background-color: #fff5c8; /* Preencher com azul */
    border-color: #fff5c8;
}

/* Nomes das cidades "apagados" */
.cidade-nome.passed {
    color: #fff5c8; /* Cor mais clara para cidades passadas */
}

/* Destacar o nome da cidade onde o trem está parado */
.cidade-nome.destacada {
    font-weight: bold;
    font-size: 16px;
    color: #FCCF13; /* Azul destacado */
}

/* Tornar o círculo invisível */
.cidade-circulo.invisivel {
    visibility: hidden;
}

.width-3-cidades {
    width: 300px !important;
}

.width-5-cidades {
    width: 800px !important;
}

width-6-cidades {
    width: 1700px !important;
}

.bloco-termos {
    margin-top: 40px;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    gap: 30px;
}

a {
    font-size: 20px;
    color: white;
    text-decoration: underline;
    outline: none;
}

a:visited {
    color: white; /* Mantém a cor original do texto */
}

#botoes-container {
    scroll-margin-top: 40vh; /* Ajuste conforme necessário */
}

.texto-aviso {
    font-size: 17px;
}



@media (max-width: 480px) {
    .bloco-termos {
        margin-top: 0px;
        flex-direction: column;
        align-items: center;
        padding-bottom: 30px;
    }

    .texto-aviso {
        font-size: 14px;
    }

    #botoes-container {
        scroll-margin-top: 20vh; /* Ajuste conforme necessário */
    }

    .bloco-inicial {
        background-image: url('/img/papaiNoel.png');
        background-repeat: no-repeat;
        background-position: right top;
        background-size: contain;
        padding-top: 280px;
    }

    .grid-container {
        grid-template-columns: 1fr; /* 1 coluna em telas bem pequenas */
        padding: 0px;
    }

    .com-linha-mobile {
        border-bottom: 1px solid yellow;
    }

    .container-principal {
        border-radius: 70px;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 6em 3em;
    }

    .width-3-cidades {
        width: 600px !important;
    }

    .width-5-cidades {
        width: 800px !important;
    }

    .width-6-cidades {
        width: 2000px !important;
    }

    .bloco-inicial{
        padding-top: 0px;

    }
    
    .h1-amarelo{
        padding-top: 60px;
    }

    .animacao-rolagem::after {
        content: url('/img/horizontal-scroll_97571 (1).png'); /* Ícone de rolagem (pode ser substituído por outro símbolo ou imagem) */
        position: absolute;
        bottom: 30px;
        left: 10px; /* Fica à direita do container */
        transform: translateY(-50%);
        font-size: 24px; /* Tamanho do ícone */
        color: rgba(255, 255, 255, 0.7);
        animation: piscar 1s infinite ease-in-out;
        pointer-events: none; /* Evita interferência com interações do usuário */
    }

    /* Animação de piscar */
    @keyframes piscar {
        0%, 100% {
            opacity: 0.7;
        }

        50% {
            opacity: 1;
        }
    }

    .itinerario-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin: 50px auto;
        height: 100px;
    }

    p{
        font-size: 19px;
        width: 100%;
        margin-bottom: 0px;
    }

    .texto-amarelo-embaixo-trem {
        margin-top: 40px;
    }

    .h1-branco {
        font-size: 30px;
    }

    .h1-amarelo {
        padding-top: 0px;
        font-size: 35px;
    }

    .h1-amarelo-inicial {
        padding-top: 20px;
        font-size: 35px;
        margin-bottom: 0px;
    }

    .cidade-nome {
        font-size: 16px;
    }

    .cidade-horario {
        font-size: 16px;
    }

    .cidade-sigla {
        font-size: 16px;
    }

    .container-principal {
        padding: 70px 30px 40px 30px;
    }


    .bloco-texto {
        padding: 64px 50px 0px 50px;
    }

    /* Container de botões */
    .botoes-container {
        display: grid; /* Usa grid para criar as colunas e linhas */
        grid-template-columns: repeat(3, 1fr); /* 2 colunas */
        gap: 10px; /* Espaçamento entre botões */
        justify-content: center; /* Centraliza o grid */
        padding: 10px;
        border: none; /* Remove a borda opcional */
        width: fit-content;
        margin: 0 auto; /* Centraliza horizontalmente */
    }

    #ultimo-paragrafo{
        margin-top: 0px !important;
        margin-bottom: 70px;
    }

    .btn {
        padding: 10px 20px; /* Ajusta o tamanho dos botões */
        font-size: 22px; /* Reduz fonte */
    }

    .imagem-trem{
        margin-top: -140px;
    }
}