/* Fondo */
body {
    margin: 0;
    background-image: url(https://caar1960-page.neocities.org/media%20for%20blog/multi016.jpg); 
    background-repeat: repeat;
    background-color: black;
}

/* Contenedor principal */
.container {
    width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
}

/* Header */
.header {
    height: 100px;
    border: 3px solid blue;
    margin-bottom: 20px;
    background: rgb(36, 36, 36);
}

/* Layout */
.main {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    height: 500px;
    border: 3px solid blue;
    background: rgb(36, 36, 36);
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto; /* si hay mucho contenido */
}

/* Contenido */
.content {
    flex: 1;
    border: 3px solid blue;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgb(36, 36, 36);
}

/* Caja superior */
.top-box {
    height: 100px;
    border: 3px solid red;
    background: rgb(36, 36, 36);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Caja blog */
.blog-box {
    flex: 1;
    border: 3px solid limegreen;
    background: rgb(36, 36, 36);
    padding: 15px;
}

/* Imagen título */
.titulo {
    position: fixed;
    top: 40px;
    right: 1134px;
    width: 300px;
    height: auto;
    z-index: 1000;
}


/* Ocultar checkboxes */
.sidebar input {
    display: none;
}

/* Botones (años) */
.sidebar .label-toggle {
    display: block;
    cursor: pointer;
    color: cyan;
    text-decoration: underline;
    margin: 10px 0 5px 0;
    font-family: 'Titillium Web', sans-serif;
}

/* Contenido oculto */
.sidebar .contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: white;
    margin-left: 10px;
    margin-bottom: 10px;
}

/* Mostrar contenido */
.sidebar input:checked + .label-toggle + .contenido {
    max-height: 150px;
}