/* Copyright (c) 2026 Florentius Bohn. All Rights Reserved. The content of this website is protected by copyright and may not be reproduced without permission. */

@font-face {
    font-family: 'century_schoolbookbold';
    src: url('schlbkb-webfont.woff2') format('woff2'),
         url('schlbkb-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #ffffff;
    --background-color: #1a1a1a;
    --font-color: #f2f2f2;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --navbar-bg-color: #333;
    --navbar-link-color: #f2f2f2;
    --navbar-link-hover-bg-color: #f1f1f1;
    --navbar-link-hover-color: black;
    --navbar-link-active-bg-color: #008b8b;
    --navbar-link-active-color: white;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'century_schoolbookbold', sans-serif;
    background-color: var(--background-color);
    color: var(--font-color);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--navbar-link-active-bg-color);
}

.logo {
    max-width: 250px;
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 1000;
}

.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 20px 50px;
}

#myBtnContainer {
    text-align: center;
    margin-bottom: 40px;
    background-color: var(--navbar-bg-color);
    padding: 20px;
    border-radius: 10px;
}

#myBtnContainer p {
    font-size: 1rem;
    color: var(--navbar-link-color);
    margin-top: 20px;
}

.btn {
    border: 2px solid var(--navbar-link-active-bg-color);
    outline: none;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--navbar-link-color);
    cursor: pointer;
    font-size: 1rem;
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn:hover, .btn.active {
    background-color: var(--navbar-link-active-bg-color);
    color: var(--navbar-link-active-color);
}

.row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.column {
    display: none;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column.show {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content {
    position: relative;
}

.content img.thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.column:hover .content img.thumbnail {
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: var(--navbar-link-active-bg-color);
    text-decoration: none;
    cursor: pointer;
}

#caption {
    display: block;
    width: 80%;
    max-width: 700px;
    margin: auto;
    padding: 15px 0;
    text-align: center;
    color: #ccc;
    font-size: 1.2rem;
}
