
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.introduccion {
    text-align: center;
    margin: 50px auto;
    max-width: 600px;
}

.introduccion h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.introduccion h2 {
    color: #7f8c8d;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.botton {
    text-align: center;
    margin-top: 30px;
}

input[type="submit"] {
    height: 60px;
    width: 180px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #2980b9;
}

fieldset {
    border: 2px solid #bdc3c7;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

legend {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1em;
    padding: 0 10px;
}

label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
    font-size: 1em;
}

input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.button-container {
    text-align: center;
    margin-top: 30px;
}

button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #219a52;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.ranking-container {
    margin: 30px 0;
}

.ranking-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.ranking-section h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.tabla-ranking {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tabla-ranking th {
    background-color: #3498db;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.tabla-ranking td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ecf0f1;
}

.tabla-ranking tr:hover {
    background-color: #f8f9fa;
}

.tabla-ranking tr:nth-child(even) {
    background-color: #f8f9fa;
}

.results-container {
    margin-bottom: 30px;
}

.result-message {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.result-message.excellent {
    background-color: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.result-message.good {
    background-color: #fff3cd;
    border: 2px solid #ffeaa7;
    color: #856404;
}

.result-message.needs-improvement {
    background-color: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

.score-display {
    margin-top: 15px;
}

.score-display p {
    font-size: 1.2em;
    margin: 10px 0;
}

.score-display span {
    font-weight: bold;
    font-size: 1.3em;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.home-btn {
    background-color: #e74c3c;
}

.home-btn:hover {
    background-color: #c0392b;
}
