/* =========================================================
   GRUNDEINSTELLUNGEN
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #002366;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    overflow-x: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: #002366;

    padding: 20px 20px 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================================
   HEADER-BILD
   ========================================================= */

.header-image {
    display: block;

    width: 800px;
    height: 200px;

    max-width: 100%;

    object-fit: contain;
    object-position: center;

    margin: 0 auto 15px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    width: 100%;
}

.nav-button {
    display: flex;

    align-items: center;
    justify-content: center;

    background: #000000;
    color: #ffffff;

    text-decoration: none;
    text-transform: uppercase;

    padding: 15px 20px;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 0.05em;

    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.nav-button:hover,
.nav-button.active {
    background: #ffffff;
    color: #000000;
}


/* =========================================================
   GALERIE-SEITE
   ========================================================= */

.gallery-page {
    width: 100%;

    padding-top: 320px;
    padding-bottom: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================================
   GALERIE
   ========================================================= */

.gallery-section {
    position: relative;

    width: calc(100% - 180px);

    max-width: 1400px;

    margin: 0 auto 45px;

    padding: 0;
}


/* =========================================================
   GALERIE-FENSTER
   ========================================================= */

.gallery-window {
    width: 100%;

    overflow: hidden;

    background: #000000;
}


/* =========================================================
   GALERIE-TRACK
   ========================================================= */

.gallery-track {
    display: flex;

    width: 100%;

    transition: transform 0.45s ease;

    will-change: transform;
}


/* =========================================================
   EINZELNES GROSSES BILD
   ========================================================= */

.gallery-image {
    flex: 0 0 100%;

    width: 100%;

    height: 650px;

    object-fit: contain;

    display: block;

    background: #000000;

    user-select: none;

    -webkit-user-drag: none;

    pointer-events: none;
}


/* =========================================================
   PFEILE
   ========================================================= */

.arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 55px;
    height: 55px;

    border: none;

    background: #000000;

    color: #ffffff;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.arrow:hover {
    background: #ffffff;
    color: #000000;
}

.arrow-left {
    left: -70px;
}

.arrow-right {
    right: -70px;
}


/* =========================================================
   INHALTSSEITEN
   ========================================================= */

.content-page {
    min-height: 100vh;

    padding-top: 320px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;

    display: flex;
    justify-content: center;
}

.content-container {
    width: 100%;
    max-width: 1200px;

    text-align: center;
}

.content-container h1 {
    font-size: 32px;

    margin-bottom: 30px;

    font-weight: 600;
}

.content-container p {
    font-size: 18px;

    line-height: 1.6;

    margin-bottom: 20px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .navbar {
        flex-wrap: wrap;
    }

    .nav-button {
        padding: 12px 14px;
        font-size: 12px;
    }

    .gallery-page,
    .content-page {
        padding-top: 295px;
    }

    .gallery-section {
        width: calc(100% - 120px);
    }

    .gallery-image {
        height: 500px;
    }

    .arrow {
        width: 48px;
        height: 48px;
        font-size: 25px;
    }

    .arrow-left {
        left: -60px;
    }

    .arrow-right {
        right: -60px;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    header {
        padding: 10px;
    }

    .header-image {
        width: 100%;
        height: auto;

        aspect-ratio: 4 / 1;

        object-fit: contain;

        margin-bottom: 10px;
    }

    .navbar {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 5px;

        max-width: 500px;
    }

    .nav-button {
        min-height: 42px;

        padding: 8px 5px;

        font-size: 10px;

        letter-spacing: 0.03em;

        text-align: center;
    }

    .gallery-page {
        padding-top: 205px;
    }

    .gallery-section {
        width: calc(100% - 70px);

        margin-bottom: 25px;
    }

    .gallery-image {
        height: 350px;
    }

    .arrow {
        width: 36px;
        height: 36px;

        font-size: 20px;
    }

    .arrow-left {
        left: -45px;
    }

    .arrow-right {
        right: -45px;
    }

    .content-page {
        padding-top: 205px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .content-container h1 {
        font-size: 24px;
    }

    .content-container p {
        font-size: 16px;
    }
}
