
/* Sección de información personal */
/* Encabezado */
header {
    background-color: #212325;
    color: white;
    text-align: center;
    padding: 25px;
}

header h1 {
    margin-bottom: 20px;
    font-size: 30px;
}

/* Menú */
nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 6px;
    transition: 0.3s;
}

nav a:hover {
    background-color: #08a6d6;
}
.contenido-personal {
    background-color: rgba(251, 237, 252, 0.774);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.contenido-personal h2 {
    color: #17436b;
    text-align: center;
    margin-bottom: 15px;
}

.descripcion {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Tarjetas */

.tarjetas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tarjeta {
    background-color: #f0f4f8;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #08a6d6;
}

.tarjeta h3 {
    color: #17436b;
    margin-bottom: 20px;
    font-size: 21px;
}

.tarjeta ul {
    padding-left: 20px;
}

.tarjeta li {
    margin-bottom: 15px;
    line-height: 1.5;
}

.tarjeta p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Adaptación para celulares */

@media (max-width: 650px) {
    .tarjetas {
        grid-template-columns: 1fr;
    }

    .contenido-personal {
        padding: 20px;
    }
}
footer {
    background-color: #051c33;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 0;
    width: 100%;
}
