* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --font-size-header-h1: 2.25rem;
    --font-size-menu-h2: 1.25rem;
    --font-size-h3: 1rem;
    --font-weight-h1-h2: 600; /* Wert innerhalb des in @font-face definierten Bereichs */
    --font-weight-h3: 800;
    --text-font-color: #1C1C1CD9;
    --a-text-font-color: #7d7d7d;
    --a-active-color: #f10c2f;
    --color-background: #ffffff;
    --header-height: 95px;
    --margin-top: 0;
    --transition: all .25s ease-in-out;
}

html {
    font-family: 'SUSEMono', sans-serif;
    background-color: var(--color-background);
}


/* html, body - footer sticks at the end of page */
html, body {
    min-height: 100vh;

    > footer {
        position: sticky;
        top: 100vh;

        @media (pointer: coarse) and (orientation: portrait) {
            top: 95vh;
        }

        @media (pointer: coarse) and (orientation: landscape) {
            top: 93vh;
        }
    }
}

body {
    padding: 8px 50px 10px 50px; /* Oben, Rechts, Unten, Links (im Uhrzeigersinn) */
    overflow-y: scroll;

    @media (pointer: coarse) {
        margin-inline: 10px;
    }
}

li {
    list-style: none;
    display: inline-block;
}

a {
    color: var(--a-text-font-color);
    text-decoration: none;
}

a:focus, a:hover {
    color: var(--a-active-color);
}

a.active {
    color: var(--a-active-color);
    font-weight: var(--font-weight-h1-h2);
}

h1, h2 {
    color: var(--text-font-color);
    font-weight: var(--font-weight-h1-h2);
}

h1 {
    font-size: var(--font-size-header-h1);
}

h2 {
    font-size: var(--font-size-menu-h2);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-h3);
}

p {
    line-height: 165%;
    color: var(--text-font-color);
}

/**
 * Header
 */
.header {
    height: var(--header-height);
}

.header-banner {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}

.header-name  {
    font-size: var(--font-size-header-h1);
    font-weight: var(--font-weight-h1-h2);

    a {
        /*color: var(--color-background);*/
        /*background-color: var(--a-active-color);*/
        color: var(--text-font-color)
    }

    a:hover, a:focus {
        /*color: var(--text-font-color);*/
        /*background-color: var(--color-background);*/
        color: var(--a-active-color);
    }

    a.active {
        color: var(--text-font-color);
    }
}

.menu-wrapper {
    display: flex;
    justify-content: space-between;
    height: min-content;
    align-items: baseline;

}

.menu-list {
    font-size: var(--font-size-menu-h2);
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
    /*margin-top: 10px;*/
}

.nav-breadcrump-wrapper {
    display: flex;
    column-gap: 10px;
    margin-bottom: 35px;
    justify-content: flex-start;
    align-items: baseline;
}

.nav-breadcrump {
    display: flex;
    flex-flow: row nowrap;
}

.nav-breadcrump-arrow-prev {
    margin-right: 25px;
}

.nav-breadcrump-arrow-next {
    margin-left: 25px;
}

/**
 * Main Bereich Startseite
 */
.main-home {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: var(--margin-top);
}

.container-home-image {
    width: 80vw;

    /* Anzeige größer als 1200px Breite (horizontal): */
    @media (min-width: 1200px) {
        width: 65vw;
    }

    img {
        width: 100%;
    }
}

.projects-title-year {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 10px;
    /*margin-top: 10px;*/
}

/**
 * Main Bereich Projects
 */
.main-projects {
    display: flex;
    justify-content: center;
    margin-top: var(--margin-top);
}

.container-projects {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    row-gap: 50px;
    width: 80vw;

    /* Anzeige größer als 815px Breite (horizontal): */
    @media (min-width: 815px) {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-evenly;
        gap: 80px 50px;
    }

}

.container-projects-image {
    width: 80vw;
    aspect-ratio: 3 / 2;

    /* Anzeige größer als 815px Breite (horizontal): */
    @media (min-width: 815px) {
        width: 30vw;
    }

    img {
        width: 100%;
        object-fit: cover;
    }
}

/**
 * Main Bereich Project
 */
.main-project {
    display: flex;
    flex-flow: column nowrap;
    margin-top: var(--margin-top);
    row-gap: 10px;
}

.wrapper-project {
    display: flex;
    flex-flow: row wrap;
    row-gap: 50px;
    column-gap: 35px;
}

.container-project-text {
    display: flex;
    flex-flow: column nowrap;
    height: max-content;

    /* Anzeige größer als 815px Breite (horizontal): */
    @media (min-width: 815px) {
        width: 35%;
    }
}

.container-project-gallery {
    display: flex;
    flex-flow: row wrap;
    /*justify-content: center;*/
    row-gap: 35px;

    /* Anzeige größer als 815px Breite (horizontal): */
    @media (min-width: 815px) {
        justify-content: center;
        width: 60%;
        gap: 30px;
    }
}

.container-project-item {
    width: 90%;

    /* Anzeige größer als 815px Breite (horizontal): */
    @media (min-width: 815px) {
       width: 85%;
    }

    @media (min-width: 1200px) {
        width: 45%;
    }

    img {
        width: 100%;
    }
}



/* lightbox project */
.splide,
.splide__track,
.splide__list,
.splide__slide {
    height: 100%;
}

.splide-overlay-wrapper.hidden {
    display: none;
}

.splide-overlay-wrapper {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-background);
}

.splide-overlay-close-btn-wrapper {

    button {
        background-color: transparent;
        border: none;
        position: absolute;
        z-index: 101;
        top: 1em;
        right: 3.5%;
        width: 2.5em;
        height: 2.5em;
    }
}

.splide {
    display: flex;
}

.splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.splide__slide__container {
    display: flex;
    flex-direction: column;
    align-items: center;

    img {
        aspect-ratio: 1.5;
        width: 75vw;        /* Breite auf 75% des Viewports ab 600px */
        max-width: 90vw;    /* maximale Breite darf 90% des Viewports nicht überschreiten */
        max-height: 90vh;   /* maximale Höhe darf 90% der Viewport-Höhe nicht überschreiten */
        height: auto;       /* Höhe proportional zur Breite */
        object-fit: contain; /* Bild vollständig sichtbar, ohne Verzerrung */
    }
}

.splide__image__caption {

}

.splide__arrows.project {

    button {
        top: 48%;
        width: 10em;
        height: 10em;
        background-color: transparent;

        svg {
            width: 1.5em;
            height: 1.5em;

            @media (min-width: 1200px) {
                width: 2.25em;
                height: 2.25em;
            }
        }
    }
}

.splide__arrow--prev.project-prev {

}

.splide__arrow--next.project-next {

}

/**
 * Main Bereich Vita
 */
.main-vita {
    display: flex;
    justify-content: flex-start;
    margin-top: var(--margin-top);
}

.container-vita {
    width: 60%;
}

.container-contact {
    width: 40%;
    justify-self: flex-end;
    text-align: right;
    font-size: 1.25rem;
}

/**
 * Footer & Imprint
 */
.footer {
    margin-top: 40px;
    padding-bottom: 1vh;
    border-top: dotted 1px;
}

.impressum-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 15px;

    a {
        color: var(--a-text-font-color);
    }

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

.title {
    margin-top: var(--margin-top);
    margin-bottom: 15px;

    h2 {
        color: var(--a-active-color);
    }
}

.impressum-info {
    width: 100%;
    column-count: 2;
    column-gap: 80px;

    p {
        line-height: 150%;
    }
}