/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

 body {
    background-color: #121218;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
}

/* Centra la web y le da un ancho máximo */
.container {
    max-width: 850px;
    margin: 0 auto;
}

/* Encabezado */
.header {
    background-color: #1e1e28;
    border: 2px solid #3b3b52;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    margin-bottom: 15px;
}

.header h1 {
    margin: 0;
    color: #a78bfa;
    font-size: 20px;
}

.header p {
    margin: 5px 0 0 0;
    color: #a0a0b0;
    font-size: 14px;
}

/* Menú de navegación */
.nav {
    background-color: #1e1e28;
    border: 2px solid #3b3b52;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
}

.nav a {
    color: #f472b6;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
}

.nav a:hover {
    text-decoration: underline;
    color: #38bdf8;
}

/* Disposición en 2 columnas */
.layout {
    display: table;
    width: 100%;
}

.sidebar {
    display: table-cell;
    width: 240px;
    vertical-align: top;
    padding-right: 15px;
}

.main-content {
    display: table-cell;
    vertical-align: top;
}

/* Cajas contenedoras */
.box {
    background-color: #1e1e28;
    border: 2px solid #3b3b52;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.box h2, .box h3 {
    margin-top: 0;
    color: #38bdf8;
    border-bottom: 1px solid #3b3b52;
    padding-bottom: 5px;
}

.avatar {
    width: 100%;
    max-width: 150px;
    border-radius: 6px;
    border: 1px solid #3b3b52;
    display: block;
    margin: 0 auto 10px auto;
}

a {
    color: #38bdf8;
}

/* Pie de página */
.footer {
    text-align: center;
    font-size: 12px;
    color: #808090;
    margin-top: 10px;
}