@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');

/* Estilo geral */
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #0B1E3F;
    color: #F5F9FF;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Container principal */
.container {
    background: #224582;
    padding: 10px 50px 30px 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    max-width: 500px;
}

/* Título */
h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

/* Formulário de upload */
.upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.upload-container span {
    text-align: center;
    margin-bottom: 20px;
}

.upload-container button {
    font-size: 12px;
    padding: 5px 10px;
}

/* Botão de troca de idioma */
.language-switcher {
    position: absolute;
    top: 10px;
    right: 10px;
}

#language-button {
    background-color: #F5F9FF;
    color: #0B1E3F;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

#language-button .flag-icon {
    width: 20px;
    height: 14px;
}

#language-button:hover {
    background-color: #DCE4F2;
}

/* Estilo para o botão de upload estilizado */
#file-upload {
    display: none; /* Oculta o botão padrão */
}

#custom-file-upload {
    display: inline-block;
    background-color: #F5F9FF;
    color: #0B1E3F;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #0B1E3F;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#custom-file-upload:hover {
    background-color: #DCE4F2;
    color: #0B1E3F;
}
/* Estilo para o botão de upload na versão web */
#upload-button {
    display: inline-block;
    margin-top: 10px;
    background-color: #F5F9FF; /* Mesma cor de fundo */
    color: #0B1E3F; /* Mesma cor do texto */
    padding: 8px 16px; /* Mesmo espaçamento interno */
    font-size: 14px; /* Mesmo tamanho de fonte */
    font-weight: bold; /* Texto em negrito */
    border: 2px solid #0B1E3F; /* Mesma borda */
    border-radius: 5px; /* Bordas arredondadas */
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease; /* Mesma transição */
}

#upload-button:hover {
    background-color: #DCE4F2; /* Cor de fundo ao passar o mouse */
    color: #0B1E3F; /* Cor do texto ao passar o mouse */
}

/* Footer */
.footer-logo {
    display: block;
    max-width: 20px;
    height: auto;
    margin-bottom: 2px;
}

.site-footer {
    position: fixed;
    bottom: 5px;
    left: 5px;
    font-size: 12px;
    color: #888;
    line-height: 1.2;
    text-align: left;
}

.site-footer p {
    margin: 2px 0;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        max-width: 400px;
        padding: 10px;
        box-shadow: none;
        text-align: center;
        margin: 0;
    }

    h1 {
        font-size: 36px; /* Aumenta o tamanho do título */
        margin-bottom: 15px; /* Adiciona um pouco mais de espaço abaixo */
    }

    .upload-container {
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
        height: auto;
    }

    #custom-file-upload,
    #upload-button {
        width: 80%; /* Ambos os botões terão a mesma largura */
        font-size: 16px; /* Ajusta o tamanho da fonte */
        padding: 6px; /* Ajusta o espaçamento interno */
        margin-bottom: 15px; /* Espaço entre os botões */
        background-color: #F5F9FF; /* Mesma cor de fundo */
        color: #0B1E3F; /* Mesma cor do texto */
        border: 2px solid #0B1E3F; /* Mesma borda */
        border-radius: 5px; /* Bordas arredondadas */
        cursor: pointer;
        text-align: center;
        font-weight: bold; /* Deixa o texto em negrito */
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    #upload-button:hover {
        background-color: #DCE4F2; /* Cor de fundo ao passar o mouse */
        color: #0B1E3F; /* Cor do texto ao passar o mouse */
    }
}