html,body {
    font-family: Arial, sans-serif;
    text-align: center;
}
header {
    background: rgb(211,211,211);
    color: white;
    padding: 10px;
}

header a{
    justify-content: flex-end;
}

.header-logo {
    max-width: 100%;  /* Ajusta para nunca ultrapassar o tamanho da tela */
    max-height: 120px;
    height: auto;      /* Mantém a proporção da imagem */
    display: block;    /* Remove espaços extras abaixo da imagem */
    margin: 0 auto;    /* Centraliza a imagem */
}

.header-nav{
    display: flex;
    justify-content: end;
    color: white;
    margin: 10px;
    transition: color 0.3 ease;
}

.header-nav > a{
    color: white;
    margin: 0px 5px;
    text-decoration: none;
    padding: 5px 10px 5px 10px;
    font-weight: bold;
}

.header-nav a:hover {
    background-color: white;
    color: rgb(25, 212, 196);
    border-radius: 5px;
}

/* Define um layout flexível para empurrar o rodapé para o final */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 100% da altura da tela */
}

.content {
    flex: 1;
    
}


.footer {
    background-color: rgb(211, 211, 211);; /* Mesma cor do header */
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
}

.footer p {
    font-size: 14px;
    margin: 0;
}



@media (max-width: 768px) { /* Ajuste especial para telemóveis */
    .header-logo {
        width: 70%;  /* Reduz um pouco mais em telas pequenas */
    }
    .footer p {
        font-size: 12px;
    }
   
    .header-nav {
        text-align: left;
        padding: 10px;
    }
    
    .header-nav > a {
        display: block;
        margin: 5px 0;
    }
    .table {
        max-width: 40%;
        border-collapse: collapse;
        margin: 10px auto;
        font-family: Arial, sans-serif;
    
    }
    

}
.log-content {
    width: 300px; 
    margin: 50px auto;
    margin-bottom: 200px; 
    padding: 20px; 
    border: 1px solid #ccc;
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    background-color: #f9f9f9; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lo-h2 {
    margin-bottom: 20px; 
    font-size: 24px;
    color: #333;
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.label {
    margin-bottom: 5px;
    font-weight: bold;
}

.input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button:hover {
    background-color: #0056b3;
}

.table {
    width: 60%;
    border-collapse: collapse;
    margin: 0px 0px;
    font-family: Arial, sans-serif;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;

}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.table th {
    background-color: rgb(15, 15, 139);;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table tr:hover {
    background-color: #ddd;
}

button {
    background-color: rgb(15, 15, 139);;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background-color: #218838;
}
.pd-a{
    color: white;
    margin: 0px 5px;
    text-decoration: none;
    padding: 5px 10px 5px 10px;
    font-weight: bold;
 }
  
.pd-a:hover{
    background-color: white;
    color: rgb(25, 212, 196);
    border-radius: 5px;
}

.saudacao{
    align-items: start;
    justify-content: start;
}

.log-a{
    text-decoration: none;
    color: #1966b8;
}
.log-a:hover{
    text-decoration: underline;
    color: #2880dd;
}