* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: monospace;
    background: url('/img/background_light.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #2c4021;
    margin: 0;
    padding: 0;
}

a {
    color: #8FA1AB;
    text-decoration: none;
}

.grid-container {
    display: grid;
    grid-template-areas:
        "header header header header"
        "left about about right"
        "left picture microblog right"
        "left picture webring right";
    grid-template-columns: 120px 1fr 2fr 200px;
    grid-template-rows: auto auto auto auto;
    gap: 3px;
    max-width: 900px;
    margin: 40px auto;
    padding: 3px;
    background-color: #f5ffeb;
    color: #47574A;
    border: 3px solid #47574A;
    border-radius: 8px;
}

/* Header */
.header {
    grid-area: header;
    text-align: left;
    border: 3px solid #47574A;
    background-color: #a4b98e;
    padding: 5px;
    padding-left: 15px;
    color: #404040;
    
    
}

.header h1 {
    font-family: 'Caveat';
    font-size: 2.5rem;
    color: #3f503b;
    background-color: a4b98e;
    letter-spacing: 0.5px;
}


/* Sidebar izquierda */
.sidebar-left {
    grid-area: left;
    border-radius: 5px;
    display: flex;
    max-width: 120px;
    flex-direction: column;
    justify-content: space-between;
}

.index {
    grid-area: left;
    background-color: #47574A;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    max-width: 120px;
    flex-direction: column;
    justify-content: space-between;
    color: #ece4d9;
    height: fit-content;
}

.index a {
    display: block;
    background-color: #47574A;
    color: #ece4d9;
    padding: 0.1px 3px;
    border-radius: 5px;
    text-align: left;
    font-family: 'Caveat';
    font-size: 0.95rem;
    text-decoration: none;
    margin-bottom: 10px;

    /* Efecto de relieve 3D con dos sombras */
    box-shadow: 1px 1px 0 #2c4021, -1px -1px 0 #606963;
    transition: all 0.1s ease-in-out;
    position: relative;
    top: 0;
    left: 0;
}

.index a:hover {
    /* Efecto de hundido */
    box-shadow: 1px 1px 0 #606963, -1px -1px 0 #2c4021;
    transition: all 0.1s ease-in-out;
    position: relative;
    top: 0;
    left: 0;
    letter-spacing: 1px;
}

.index h2 {
    color: #ece4d9;
    text-decoration: none;
    margin-bottom: 6px;
}


.index h3 {
    color: #ece4d9;
    text-decoration: underline;
}

.index ul {
    list-style-type: none;
}

.index li {
    margin: 5px 0;
}


.updates {
    background-color: rgba(236, 228, 217, 0);       /* fondo claro */
    border-radius: 8px;
    padding: 10px;
    color: #2c4021;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 10px;
    margin-bottom: auto;
}

.updates h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    text-align: center;
    color: #47574A;
    border-bottom: 1px solid #47574A;
    padding-bottom: 3px;
}

.updates li {
    font-family: 'Caveat';
    font-size: 15px;
    margin: 0.35rem 0;
    list-style-type: none;
}

.updates time {
    font-variant-numeric: tabular-nums;
    opacity: 0.5;
}

/* Enlaces planos */
.updates a {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-decoration: underline;
    font-size: 15px;
    color: #2c4021;
}

.sidebar-left .updates a:hover {
    color: #47574A;
}


/* Sección About */
.about {
    grid-area: about;
    border: 2px solid #47574A;
    padding: 10px;
    background-color: #ece4d9;
    border-radius: 6px;
    height: auto;
    
}

.about p{
    font-family: 'Caveat';
    font-size: 1.1rem;
    margin-top: 5px;
}

.about li{
    font-family: 'Caveat';
    margin-left: 25;
    list-style: circle;
    
}

.about h2{
    color: #47574A;    
}

/* Sidebar derecha */
.sidebar-right {
    grid-area: right;
    border: 2px solid #47574A;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #f7f7f7;
    border-radius: 6px;
}

.sidebar-right h3 {
    color: #47574A;
}


.sidebar-right h3{
    font-family: monospace;
    font-weight: bold;
    text-decoration: underline
}

.sidebar-right h2 {
    color: #47574A;
}


.sidebar-right ul {
    padding-left: 3px;
    margin-top: 5px;
    font-family: 'Caveat';
    font-size: 16px
}

/* Picture */
.picture {
    grid-area: picture;
    background-color: #fff;
    padding: 10px 10px 10px 10px; /* más espacio abajo, como las polaroids */
    border: 2px solid #47574A;
    border-radius: 6px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 200px;
    align-self: stretch;
    height: 100%;
}

.picture img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}


.stack {
  grid-area: stack;
  grid-template-rows: 1fr 1fr; 
  gap: 10px; 
  grid-template-areas:
      "micoblog"
      "webring";
}



/* Microblog */
.microblog-preview {
    grid-area: microblog;
    border: 2px solid #47574A;
    padding: 10px;
    height: auto;
    background-color: #f7f7f7;
    border-radius: 6px;
}

/* Webring */
.webring {
    grid-area: webring;
    border: 2px solid #47574A;
    padding: 10px;
    height: auto;
    background-color: #f7f7f7;
    border-radius: 6px;
}



.custom-bullets {
    list-style: none;
    padding-left: 0;
}

.custom-bullets li::before {
    content: "✦";  /* o "→", "–", "🌱", etc */
    color: #47574A;
    margin-right: 3px;
    font-size: 0.7rem;
}




