body {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente */
    padding-top: 20px; /* Espaçamento no topo */
    min-height: 100vh; /* Faz o body ocupar a altura total da janela */
    margin: 0;
    font-family: Arial, sans-serif; /* Define uma fonte padrão */
    background-color: #003668;
}

img {
    max-width: 100%; /* Faz a imagem ser responsiva */
    height: auto; /* Mantém a proporção da imagem */
    position: relative; /* Permite posicionar em relação ao container */
    left: -11%; /* Ajuste para alinhar à borda esquerda do container */
    margin-bottom: 20px; /* Espaço entre o logo e o container */
}

.container {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    width: 700px;
}

input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 15px;
    background-color: #3a3939;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #838583;
}

#resultado {
    margin-top: 20px;
    text-align: left;
    line-height: 1.5;

    /*font-weight: bold;*/
}

.valido{
    color: green;
    font-weight: bold;
    font-size: 20px;
}
.invalido{
    color: red;
    font-weight: bold;
    font-size: 20px;
}
@media (max-width: 600px) {
    h1 {
        font-size: 1.2em; /* Reduz o tamanho do título em telas pequenas */
    }

    button {
        width: 100%; /* Botão ocupa 100% da largura em telas pequenas */
    }
    .container{
        width: 80%;
    }
    img{
        width: 70%;
    }
}