/* Estilos propios del examen - Blog de Gadiel */

body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
}

/* Barra de navegacion */
.navbar {
    background-color: #1a252f !important;
    padding-top: 12px;
    padding-bottom: 12px;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: #3498db;
}

.nav-link {
    font-weight: 600;
}

.nav-link:hover {
    color: #3498db !important;
}

/* Encabezado principal */
.hero-blog {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.hero-blog h1 {
    font-weight: bold;
}

.hero-blog p {
    color: #ecf0f1;
    margin-bottom: 0;
}

/* Tarjetas de los articulos */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: #2c3e50;
    font-weight: bold;
}

article.card {
    border-left: 5px solid #3498db;
}

time {
    display: inline-block;
    margin-bottom: 10px;
}

/* Seccion Acerca de mi */
aside .card {
    position: sticky;
    top: 20px;
    text-align: center;
}

aside h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: bold;
}

aside img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid #3498db;
}

figcaption {
    color: #555555;
}

/* Pie de pagina */
footer {
    background-color: #1a252f !important;
}

footer a {
    color: #3498db !important;
}

footer a:hover {
    color: #ffffff !important;
}
