@import url('https://fonts.googleapis.com/css2?family=Courier+New:wght@400&display=swap');

:root {
    --primary-color: #000;
    /* Black */
    --secondary-color: #fff;
    /* White */
    --accent-color: #808080;
    /* Gray */
    --background-color: #f0f0f0;
    /* Light gray for background */
    --text-color: #000;
    /* Black text */
}

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

body {
    font-family: 'Courier New', monospace;
    /* Retro font */
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 0;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
    /* Retro border */
}

h1 {
    font-weight: normal;
    /* Normal weight for retro feel */
    margin-bottom: 0.5rem;
}

.disclaimer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 1rem;
    margin: 2rem;
    border: 2px dashed var(--accent-color);
    /* Dashed border for retro style */
    font-size: 0.9rem;
}

#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    flex: 1;
    padding: 1rem;
}

.gallery-item {
    background-color: var(--secondary-color);
    border: 2px solid var(--accent-color);
    /* Border for gallery items */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.05);
    /* Slightly enlarge on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.download-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: normal;
    /* Normal weight */
}

.download-btn:hover {
    background-color: #f76e0c;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination button {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: normal;
    /* Normal weight */
}

.pagination button:hover {
    background-color: #f76e0c;  
}

.pagination button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    /* Push the footer to the bottom */
    border-top: 2px solid var(--accent-color);
    /* Retro border */
}

footer h2 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}
.social-icons a img {
    display: inline-block;
}

.social-icons a:hover {
    color: var(--accent-color);
}