body {
    margin: 0;
    height: 100vh; /* full viewport height */
    background-color: white;
    display: flex;
    position: relative; /* Needed for absolute positioning */
    flex-direction: column; /* stack children vertically */
    align-items: center;    /* horizontal centering */
}

/* This little paragraph needs fixing. It's supposed to resize it for mobiles but it doesn't do fuck all */
@media (max-width: 600px) {
    .buttons {
        position: static;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }
}

/* Apply Lora font to headers and buttons */
h1, h2, .buttons button {
    font-family: 'Lora', serif;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;      /* horizontal centering */
    margin-top: 40px;
    gap: 10px;                /* space between h1 and h2 */
}

.buttons {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

button {
    background-color: white;
    border: 1px black;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.center-gif {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-gif img {
    max-width: 70%;            /* keeps the gif from being huge */
    height: auto;
}

/* Fucking with blog.html */
.pictures {
    display: flex;
    flex-direction: column;
    align-items: center;      /* centers everything horizontally */
    justify-content: flex-start; /* optional, makes it start from top */
    width: 100%;              /* takes full page width so centering works */
    text-align: center;       /* extra safeguard for inline content like text */
    margin-top: 40px;         /* space from top */
    gap: 15px;                /* space between title, image, caption */
    font-family: 'Lora', serif; /* match homepage font */
}

.pictures img {
    max-width: 50%;           /* keeps the image from being too big */
    height: auto;
    border: 2px solid #000;   /* optional border to match buttons */
    border-radius: 8px;       /* optional rounded corners */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* subtle shadow */
}

.pictures figcaption {
    font-size: 1rem;
    text-align: center;
    color: #333;
}

/* Blog */
.blog-posts {
    display: flex;
    flex-direction: column;
    align-items: center;      /* centers everything horizontally */
    margin-top: 40px;         /* space from top */
    gap: 20px;                /* space between posts */
    font-family: 'Lora', serif;
}

.blog-post {
    max-width: 800px;         /* keeps posts from stretching too wide */
    padding: 20px;
    border: 1px solid #ccc;   /* optional, for visual separation */
    border-radius: 8px;
    background-color: #f9f9f9; /* optional, subtle background */
}
