body, p, th, td {
    font-family: 'Calibri', sans-serif;
}
body {
    background-color: #1aba94;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 90%;
}

.logo{
    margin-bottom: 30px;
}

.logo-img {
    max-width: 250px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #1aba94;
    border-radius: 5px;
    font-size: 16px;
    
}

button {
    background-color: #1aba94;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
}

.resultado {
    display: none;
    margin-top: 20px;
    font-size: 20px;
}

/* Estilos para la tabla de resultados */
.table-container {
    overflow: auto; 
}
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 100px; 
}

.result-table th, .result-table td {
    border: 1px solid #1aba94;
    padding: 20px;
    text-align: center;
}

.result-table th {
    background-color: #1aba94;
    color: #fff;
    font-weight: bold;
}

.result-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Estilos personalizados para el saludo al alumno */
.saludo-alumno {
    font-size: 28px;
    color: #333;
    margin-bottom: -5px;
    font-weight: bold;
    text-transform: capitalize; 
}


/* Reglas para hacerlo responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    .logo-img {
        max-width: 150px;
    }
    input {
        width: 100%;
        max-width: 250px;
    }
    .result-table {
        font-size: 16px; /* Reducir el tamaño de fuente */
    }

    .result-table th, .result-table td {
        padding: 10px; /* Reducir el espaciado en celdas */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        
    }
    input {
        max-width: 200px;
    }
    .result-table {
        font-size: 16px; /* Reducir el tamaño de fuente */
    }

    .result-table th, .result-table td {
        padding: 10px; /* Reducir el espaciado en celdas */
    }
}

