/* Header font */
@font-face {
    font-family: 'Alagard';
    src: url('alagard.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4b5eb;
}

.title {
    font-family: 'Alagard';
    font-weight: normal; /* This removes the default browser bolding */
    font-size: 2em;
    line-height: 1em;
    color: #eea1e3; /* Bright pink */
}

header {
    font-family: 'Alagard';
    font-weight: normal; /* This removes the default browser bolding */
    background: #363232; /* Deep black */
    color: #eea1e3; /* Bright pink */
    padding: 2rem; /* Increased padding to clear the teeth */
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

/* Updated basic link state */
nav ul li a {
    color: #cac5ed; /* Soft Purple */
    text-decoration: none;
    transition: color 0.3s ease; /* Optional: Makes the color change smooth */
}

/* Added hover state */
nav ul li a:hover {
    color: #f0c3e2; /* Light pink on hover */
}

a img {
    border: none;
    vertical-align: middle; /* Keeps the button aligned with text if needed */
}

style attribute {
    text-align: center;
    image-rendering: Optimizequality;
}

.hover-move:hover {
    animation: jiggle 0.2s infinite;
    transform: scale(1.2);
    filter: contrast(1.2) brightness(1.2); /* Makes the colors pop slightly */
}

@keyframes jiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}

/* Container for the columns */
.column-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #565656; /* Medium charcoal from palette */
}

/* Individual columns */
.column {
    flex: 1;
    background: #363232; /* Deep black-brown from palette */
    color: #f4b5eb;      /* Softest pink for readability */
    padding: 15px;
    border: 3px solid #eea1e3; /* Bright pink border */
    box-shadow: 5px 5px 0px #6b6b6b; /* Solid "retro" shadow using the grey */
}

/* Make the middle column stand out */
.main-content {
    flex: 2;
    background: #363232;
    border-color: #f4b5eb; /* Lighter pink border for the main area */
}

/* Headers inside columns */
.column h3 {
    font-family: 'Alagard';
    color: #eea1e3; /* Bright pink for titles */
    text-align: center;
    border-bottom: 1px dashed #6b6b6b;
    padding-bottom: 10px;
    font-weight: normal; /* Keep it crisp and not forced-bold */
}

/* Standard links in your sidebar */
.column a {
    color: #cac5ed; /* Soft Purple */
}

/* Hover state */
.column a:hover {
    color: #f0c3e2; /* Light pink */
}

/* ED page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px;
    width: 95%;
    margin: 0 auto;
}

.gallery-item {
    background-color: #363232;
    border: 3px solid #eea1e3;
    box-shadow: 5px 5px 0px #565656;
    padding: 10px;
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.02); /* Slight pop on hover */
    border-color: #f4b5eb;
}

.image-frame {
    background: #000; /* Black background for photos */
    border: 1px solid #6b6b6b;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Keeps images square in the grid */
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain; /* Shows full meme without cropping */
}

.image-caption {
    font-family: 'Alagard', serif;
    color: #f4b5eb;
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    border-top: 1px dashed #6b6b6b;
    padding-top: 8px;
}

.gallery-footer {
    text-align: center;
    margin: 40px 0;
}

.gallery-footer a {
    color: #eea1e3;
    font-family: 'Alagard';
    text-decoration: none;
    border: 1px solid #eea1e3;
    padding: 5px 15px;
}