/* =========================================================
   BASIS
========================================================= */

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;

    background: #000;
}


body {
    overflow: hidden;

    font-family:
        "Avenir Next",
        Avenir,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}



/* =========================================================
   GESAMTER BILDSCHIRM
========================================================= */

.home {
    position: relative;

    width: 100vw;

    height: 100vh;
    height: 100svh;

    overflow: hidden;

    background: #000;
}



/* =========================================================
   VIDEO
========================================================= */

.background-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    display: block;

    opacity: 0;

    transition:
        opacity 0.7s ease;

    pointer-events: none;
}


.background-video.active {
    opacity: 1;
}



/* =========================================================
   TYPOGRAFISCHER BLOCK

   WICHTIG:

   Zwischen großem Desktop und Tablet gibt es
   keinen harten Breakpoint mehr.

   Je kleiner das Fenster wird, desto größer wird
   der Block ganz allmählich.

   ca. 2800 px:
   430 px Breite

   ca. 1400 px:
   500 px Breite

   darunter:
   500 px bis Smartphone-Größe
========================================================= */

.identity {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    width:
        clamp(
            430px,
            calc(570px - 5vw),
            500px
        );

    max-width:
        calc(100vw - 70px);

    color: #fff;

    font-family:
        "Avenir Next",
        Avenir,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-weight: 300;

    z-index: 10;
}



/* =========================================================
   DENNIS PAULS

   ca. 2800 px Fensterbreite: 52 px
   ca. 1400 px und kleiner: 59 px

   Dazwischen fließend.
========================================================= */

.name {
    display: flex;

    justify-content:
        space-between;

    align-items:
        baseline;

    width: 100%;

    font-size:
        clamp(
            52px,
            calc(66px - 0.5vw),
            59px
        );

    font-weight: 300;

    line-height: 1;

    letter-spacing: 0;

    white-space: nowrap;
}



/* =========================================================
   CINEMATOGRAPHER
========================================================= */

.profession {
    display: flex;

    justify-content:
        space-between;

    align-items:
        baseline;

    width: 100%;

    margin-top: 6px;

    font-size:
        clamp(
            29px,
            calc(37px - 0.286vw),
            33px
        );

    font-weight: 300;

    line-height: 1;
}



/* =========================================================
   NAVIGATION
========================================================= */

.navigation {
    display: flex;

    justify-content:
        space-between;

    align-items:
        baseline;

    width: 100%;

    margin-top: 7px;
}


.navigation a {
    color: #fff;

    text-decoration: none;

    font-size:
        clamp(
            18px,
            calc(22px - 0.143vw),
            20px
        );

    font-weight: 400;

    line-height: 1;

    transition:
        opacity 0.2s ease;
}


.navigation a:hover {
    opacity: 0.65;
}


.navigation a:active {
    opacity: 0.55;
}



/* =========================================================
   SMARTPHONES / SEHR SCHMALE FENSTER

   Auch hier stimmen die Maximalwerte exakt mit
   dem Desktop-/Tablet-Bereich überein.

   Dadurch gibt es bei 700 px ebenfalls keinen
   sichtbaren Sprung.
========================================================= */

@media (max-width: 699px) {

    .identity {
        width:
            min(
                500px,
                calc(100vw - 40px)
            );

        max-width: none;
    }


    .name {
        font-size:
            clamp(
                36px,
                11.06vw,
                59px
            );
    }


    .profession {
        font-size:
            clamp(
                22px,
                6.17vw,
                33px
            );
    }


    .navigation a {
        font-size:
            clamp(
                14px,
                3.83vw,
                20px
            );

        font-weight: 400;
    }

}



/* =========================================================
   SEHR KLEINE SMARTPHONES
========================================================= */

@media (max-width: 360px) {

    .identity {
        width:
            calc(100vw - 30px);
    }


    .name {
        font-size:
            36px;
    }


    .profession {
        font-size:
            22px;
    }


    .navigation a {
        font-size:
            14px;
    }

}