﻿body {
    background-color: #000;
    color: #0cf;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
}

header h1 {
    text-align: center;
    border-bottom: 2px solid #1c;
    padding-bottom: 15px;
    letter-spacing: 2px;
}

.gallery-container {
    display: grid;
    /* This creates the responsive grid automatically */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.photo-card {
    background: #111;
    border: 1px solid #1h1k;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.photo-card:hover {
    border-color: #0ff;
    transform: translateY(-5px);
}

.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Keeps images uniform without stretching */
    display: block;
    border-radius: 2px;
}

.filename {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
