/*
    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;
    /*cursor: url(../media/static/wurst.cur),auto;*/
}

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

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

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

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 */
.hero-section {
    text-align: center;
    padding: 4rem 1rem;
    background-color: #1f1f1f;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.hero-section h2 {
    font-size: 2.25rem;
    margin-bottom: 4rem;
    color: #b0b0b0;
}

.hero-section .btn {
    font-size: 2rem;
    padding: 1.25rem 1.5rem;
    background-color: #333;
    color: #e0e0e0;
    border-radius: 2rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.hero-section .btn:hover {
    background-color: #555;
}



/* Service Section */
.service-section {
    padding: 2rem 3rem;
    text-align: center;

}

.service-section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1600px) {
    .service-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .service-list {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    background-color: #2a2a2a;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-2.5rem) scale(1.1);
}

.service-card img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    object-fit: cover;
    display: block;
    transition: opacity 180ms ease-in-out;
}

.service-card img.is-fading {
    opacity: 0;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.service-card p {
    color: #b0b0b0;
    font-size: 1.5rem;
}

.service-exp {
    font-size: 1.75rem;
    margin-top: 1.75rem;
}



/* Contact Section */
.contact-section {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #1f1f1f;
}

.contact-section h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.contact-section input, .contact-section textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #333;
    color: #e0e0e0;
    font-family: freemono, monospace;
    font-size: 1.5rem;
}

.contact-section button {
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 0.75rem;
    border: none;
    background-color: #333;
    color: #e0e0e0;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 1.25rem;
    max-width: 300px;
    align-self: center;
}

.box-con {
    display: inline-flex;
    align-items: center;
}

.checkbox {
    color: #b0b0b0;
    cursor: pointer;
    position: relative;
    margin-left: 0px;
    margin-right: 0px;
    max-width: 32px;
    max-height: 32px;
}

.checkbox + span {
    margin-left: 0px;
    text-decoration:;
    font-style: italic;
    font-weight: bold;
    font-size: 1.25rem;
}

.contact-section button:hover {
    background-color: #555;
}

.contact-notice {
    font-size: 1.5rem;
}

.contact-notice a {
    text-decoration: none;
    text-decoration: underline;
    color: #e0e0e0;
    padding: .25rem;
}

/* 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;
}
