/*
    Made by Günther-Dikdik
            licence@g-dd.de

            COPYRIGHT © 2026 Günthers Technikdienstleistungen
            CC BY-NC-ND 4.0 int/DE
*/

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



/* Adding Fonts */
@font-face {
    font-family: "CC";
    src: url(../media/font/CCAccidenzCommons-medium.otf);
}

@font-face {
    font-family: "Lato";
    src: url(../media/font/lato/Lato-Regular.ttf);
}



/* Define a keyframe animation */
@keyframes highlight {
    0% { background-color: navy; }
    100% { background-color: transparent; }
}
 


/* Body */
body {
    font-family: Lato, CC, sans-serif;
    color: #e0e0e0;
    background-color: #121212;
}

/* Navigation */
header {
    background-color: #1f1f1f;
    padding: 1px;
    position: sticky;
    z-index: 1000;
}
header .logo {
    margin-right: 3rem;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 1rem;
}

header .nav-items {
    display: flex;
    gap: 2rem;
    margin: auto;
    font-size: 2rem;
}

header .nav-items a {
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #e0e0e0;
    background-color: #333;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    transition: background-color 0.3s;
}

header .nav-items a:hover {
    background-color: #555;
}

.highlight {
    animation: highlight 0.5s ease-in-out;
}



/* Main Section */
#imprint {
    font-size: 1.4rem;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 6rem;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 3rem;
}

.preview-image {
    width: 208px;
    height: auto;
    cursor: zoom-in;
    transition: all 0.5s ease;
}
.preview-image.fullsize {
    width: auto;
    height: auto;
    max-width: 69%;
    max-height: 69%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(1,0,0,0); /* optional background overlay */
    cursor: zoom-out;
}

#imp {
    font-size: 1.15rem;
}





/* Footer */
.footer-section {
    text-align: center;
    padding: 1rem;
    background-color: #1f1f1f;
}

.footer-section a {
    text-decoration: none;
    color: #e0e0e0;
    padding: 0.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #aaa;
}
