* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    font-family: Arial, sans-serif;
    color: #2c3e50;
    padding: 40px 20px;
    min-height: 100vh;
}

.cabecera {
    text-align: center;
    margin-bottom: 40px;
}

.cabecera h1 {
    color: #1a5276;
}

.cabecera p {
    color: #6c757d;
    margin-top: 10px;
}

.contenedor-tarjetas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.tarjeta {
    background-color: #ffffff;
    width: 300px;
    padding: 25px;
    border-radius: 12px;
    border-top: 5px solid #00b4d8; 
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tarjeta h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #ff9f1c; 
}

.tarjeta:hover h2 {
    color: #ff9f1c; 
}
.pie-pagina {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
    font-size: 0.9rem;
}

.pie-pagina p {
    margin: 5px 0;
}.pie-pagina {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
    font-size: 0.9rem;
}

.pie-pagina p {
    margin: 5px 0;
}

@media (max-width: 600px) {
    .tarjeta {
        width: 100%;
    }
}