:root {
    /*Farben*/
    --white: #fff;
    --beige: #E6B185;
    --dark: #161B22;
    --grey: #20262f;

    /*Schrift*/
    --conqueror: AW Conqueror Std Stincilla, Times New Roman, serif;
    --spectral: Spectral, Times News Roman, serif;
    --inter: Inter, sans-serif;
}

/* spectral-200italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Spectral';
    font-style: italic;
    font-weight: 200;
    src: url('../fonts/spectral-v15-latin-200italic.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/spectral-v15-latin-200italic.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* spectral-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Spectral';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/spectral-v15-latin-300.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/spectral-v15-latin-300.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* spectral-300italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Spectral';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/spectral-v15-latin-300italic.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/spectral-v15-latin-300italic.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* spectral-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Spectral';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/spectral-v15-latin-600.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/spectral-v15-latin-600.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* inter-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/inter-v20-latin-100.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/inter-v20-latin-100.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* inter-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/inter-v20-latin-300.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

@font-face {
    font-display: swap;
    font-family: 'AW Conqueror Std Stincilla';
    src: url('../fonts/l1_awcost-bol-4_pro_ws_z01-a496d193.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}


/****************************************/


body,
html {
    margin: 0;
    min-width: 100%;
    min-height: 100vh;
    font-family: var(--spectral);
    background-color: var(--grey);
}

.all-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    z-index: 9999;
}

#logo {
    display: block;
    margin: 15px auto;
    width: 100px;
}

.text-container {
    width: 100%;
    text-align: center;
    margin-top: 50px;
}

.all-content-container {
    padding: 20px 30px;
}

h2.kursiv {
    font-style: italic;
    color: var(--beige);
    font-family: var(--spectral);
    font-weight: 600;
    font-size: clamp(35px, 4vw, 50px);
    line-height: clamp(40px, 4.7vw, 55px);
    margin: 0;
    text-transform: uppercase;
}

h1 {
    font-family: var(--conqueror);
    font-weight: 600;
    margin: 0;
    font-size: clamp(50px, 3vw, 75px);
    text-transform: uppercase;
    color: var(--white);
}

p {
    line-height: 1.5;
    margin-top: 30px;
    color: var(--white);
    font-family: var(--inter);
    font-weight: 300;
    font-size: clamp(15px, 1.2vw, 16px);
}

h3 {
    color: var(--beige);
    font-family: var(--spectral);
    font-weight: 600;
    font-size: clamp(18px, 1.8vw, 22px);
    text-transform: uppercase;
    padding-top: 30px;
    line-height: 1.2;
    margin-bottom: 15px;
}

h3+p {
    margin-top: 0;
}

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

.desktop-image {
    display: none;
}

.footer {
    font-family: var(--spectral);
    font-weight: 200;
    font-style: italic;
    text-align: center;
    font-size: clamp(18px, 1.4vw, 20px);
    margin-top: 40px;
}

.mobile-only {
    height: 350px;
    margin-top: 30px;
    width: 100%;
    max-width: 300px;
    display: block;
    object-fit: cover;
    object-position: top;
    justify-self: center;
}

.not-mobile {
    display: none;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    body {
        display: flex;
        background-image: none;
        background-color: var(--grey);
        background-blend-mode: initial;
    }

    p {
        font-weight: 200;
    }

    .all-content-container {
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .desktop-image {
        display: block;
        width: 40%;
        background: url('images/Huizedop-Antieke-IJssel_edited.jpeg');
        background-size: cover;
    }

    .text-container {
        text-align: left;
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);

        width: 60%;
        background-color: var(--grey);
        padding: 40px 60px 40px 40px;
        z-index: 9998;

        max-height: calc(100vh - 40px);
        /* immer im Viewport bleiben */
        overflow: auto;
        /* wenn zu hoch: innen scrollen */

        margin-top: 0;
    }

    .logo {
        align-self: flex-end;
        z-index: 9999;
    }

    #logo {
        width: clamp(100px, 10vw, 150px);
        height: auto;
        display: block;
        margin: 0;
    }

    .footer {
        text-align: left;
    }

    .mobile-only {
        display: none;
    }

    .not-mobile {
        display: block;
    }
}

@media screen and (min-width: 1400px) {
    .text-container {
        width: 55%;
    }

    .all-content-container {
        width: 55%;
    }

    .desktop-image {
        width: 45%;
    }
}

@media screen and (min-width: 1600px) {
    .text-container {
        width: 45%;
    }

    .all-content-container {
        width: 40%;
    }

    .desktop-image {
        width: 60%;
    }
}

@media (max-height: 850px) and (min-width: 1200px) {
    #logo {
        width: 100px;
    }

    h1 {
        font-size: clamp(40px, 4vw, 70px);
    }

    h2.kursiv {
        font-size: clamp(30px, 4.5vw, 50px);
    }
}

@media (max-width: 500px) {
    .mobile-only {
        max-width: 100%;
    }
}