/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    background-color: #000;  /* Fondo negro */
    color: #ecf0f1;  /* Texto en color claro para contrastar con el fondo oscuro */
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* Encabezado */
/* Encabezado */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2980b9;
    padding: 30px;
    position: relative;
}

.cover {
    width: 100px; /* Tamaño ajustado */
    height: auto;
    position: absolute;
    left: 20px; /* Pegada a la izquierda */
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
}

.header h1 {
    font-size: 3rem;
    color: white;
    text-align: center;
    margin: 0;
}


/* Barra lateral */
.sidebar {
    flex: 1 1 250px;
    background-color: #2c3e50;  /* Fondo más oscuro para la barra lateral */
    color: white;
    padding: 20px;
    border-radius: 8px;
}

.content ul li a {
    color: #ecf0f1;  /* Color de los enlaces */
}

.content ul li a:hover {
    background-color: #34495e;  /* Color al pasar el mouse */
}
nav ul li a {
    color: #ecf0f1;  /* Color de los enlaces */
}

nav ul li a:hover {
    background-color: #34495e;  /* Color al pasar el mouse */
}


/* Contenido principal */
.content {
    flex: 2 1 700px;
    background-color: #1c2833;  /* Fondo más oscuro para el contenido */
    padding: 30px;
    border-radius: 8px;
}

.content h1 {
    font-size: 2.5rem;
    color: #ecf0f1;
    margin-bottom: 20px;
}

.content h2 {
    font-size: 1.8rem;
    color: #2980b9;
    margin-top: 30px;
}

.content p {
    font-size: 1.1rem;
    color: #bdc3c7;  /* Texto un poco más suave */
    line-height: 1.6;
}
footer {
    margin-top: 20px;
    padding: 10px;
    color: white;
    text-align: center;
}
/* Diseño responsivo */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        flex: 1 1 100%;
    }

    .content {
        flex: 1 1 100%;
    }

    .content h1 {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }
}
