@font-face {
    font-family: 'Coolvetica Rg';
    src: url('../fonts/CoolveticaRg-Regular.woff2') format('woff2'),
        url('../fonts/CoolveticaRg-Regular.woff') format('woff'),
        url('../fonts/CoolveticaRg-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand Book';
    src: url('../fonts/QuicksandBook-Regular.woff2') format('woff2'),
        url('../fonts/QuicksandBook-Regular.woff') format('woff'),
        url('../fonts/QuicksandBook-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    width: 100vw;
    height: auto;
    overflow: hidden scroll;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    font-size: 22px;
    line-height: 1.8;
    /* cursor: none; */

    /* make smoother font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*::selection {
    background-color: #cedcd1;
    color: #000;
}

*::-moz-selection {
    background-color: #cedcd1;
    color: #000;
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 89px;
    height: 32px;
    transform: translate(-50%, -50%);
    background-image: url('assets/Logo/cursor_dark.png');
    background-size: contain;
    z-index: 1001;
    pointer-events: none;
}

body {
    font-family: 'Quicksand Book', sans-serif;
    font-weight: bold;
    font-style: normal;
    background-color: #fff;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 0 20px;
}

:root {
    --max-page-width: 1800px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100px; */
    padding: 0 20px;
    padding-top: 10px;
    z-index: 100;
    /* backdrop-filter: blur(10px); */
    /* background-color: rgba(255, 255, 255, 0.8); */
    /* optional */
}

nav ul {
    list-style: none;
    max-width: var(--max-page-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    height: 100%;
    padding: 0 10px;
}

nav ul li {
    display: inline-block;
    padding: 0;
}

nav ul li:has(.logo) {
    height: 100%;
    max-height: 100px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 22px;
    white-space: nowrap;
    font-family: 'Coolvetica Rg', sans-serif;
    font-weight: lighter;
    letter-spacing: 0.08em;
}

nav ul li:last-child a {
    background-color: #cedcd1;
}

.logo {
    display: inline-block;
    margin-top: 10px;
    margin-left: 20px;
    height: 100%;
    max-height: 70px;
    width: auto;
}

.headline * {
    font-family: 'Coolvetica Rg', sans-serif;
    font-size: 50px;
}

.headline p {
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.bold {
    font-weight: bolder;
    letter-spacing: 0.04em;
}

section {
    display: flex;
    flex-direction: column;
    min-height: 60vh;
    min-height: 60dvh;
    width: 100%;
    max-width: var(--max-page-width);
    margin: auto;
    margin-bottom: 100px;
    position: relative;
}

.bubble {
    position: absolute;
    transform: translate(-50%, -50%);
    width: min(100vw, 100vh);
    width: 100vmin;
    pointer-events: none;
    opacity: 0.8;
}

.bubble.one {
    top: 0;
    left: 0;
}

.bubble.two {
    top: 0;
    right: 0;
    transform: translate(70%, -50%);
}

.bubble.three {
    bottom: 10%;
    left: 0;
    transform: translate(-50%, 50%);
}

.bubble.four {
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
}

.bubble.five {
    top: 100%;
    left: 0;
    transform: translate(-50%, -50%);
}

.section-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

h1 {
    font-size: 30px;
    font-weight: bold;
    padding: 20px;
    padding-left: 0;
    margin: 0;
}

section h1 {
    font-family: 'Coolvetica Rg', sans-serif;
    letter-spacing: 0.08em;
    /* font-size: max(3vw, 30px); */
    width: 100%;
    padding: 0;
}

section .left {
    width: 50%;
    flex-grow: 0;
    max-width: 100%;
}

section .description {
    width: 100%;
    margin: 5px 0;
    font-size: 16px;
    /* line-height: 1; */
    color: #5e5e5e;
}

section .right {
    width: 50%;
    padding-left: 10px;
    flex-grow: 1;
    min-width: 400px;
}

.right ul {
    margin: 10px 35px;
    padding: 0;
}

.right ul li {
    margin-bottom: 2px;
    font-family: 'Coolvetica Rg', sans-serif;
    font-weight: lighter;
}

/* give the first section a top margin */
section:first-of-type {
    margin-top: 20vh;
    margin-top: 20dvh;
    margin-bottom: 00px;
}

#get-in-touch {
    padding: 0;
    margin: auto;
    min-height: 250px;
    height: 500px;
    margin-bottom: 20px;

}

#get-in-touch .section-content {
    flex-direction: row;
    overflow: hidden;
}

#get-in-touch .left,
#get-in-touch .right {
    width: 50%;
    flex-grow: 5;
    max-width: 100%;
    height: 100%;
}

#get-in-touch .left {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#get-in-touch .right {
    padding: 0;
}

.profile-image {
    height: 100%;
    width: auto;
    float: right;
}

.contact-column {
    margin-bottom: 20px;
    white-space: wrap;
    min-width: 200px;
}

.contact-column a {
    color: #000;
    text-decoration: none;
    background-color: #cedcd1;
}

.footer {
    width: 100%;
    height: unset;
    min-height: unset;
    margin: 0 auto;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer * {
    color: #5e5e5e;
    font-size: 14px;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: unset;
    min-width: unset;

}


@media (max-width: 500px) {

    section .left,
    section .right {
        min-width: 100%;
        padding: 5px 0;
    }
}

section .imgWrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.imgWrapper img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

/* make the .cursor display: none on devices without a cursor like phones */
@media (hover: none) and (pointer: coarse) {
    .cursor {
        display: none;
    }
}

@media (max-width: 1200px) {

    /* dont show the links, center the logo */
    nav ul li:not(:has(.logo)) {
        display: none;
    }

    nav {
        height: 70px;
    }

    nav ul {
        padding: 0;
    }

    section .left {
        width: 100%;
        flex-grow: 1;
    }

    /* nav {
    display: flex;
    justify-content: center;
    align-items: center;
    }*/

    .logo {
        margin: auto;
        width: 20vw;
        min-width: 100px;
        height: auto;
    }

    .profile-image {
        float: none;
    }

}

@media (max-width: 500px) {
    .headline * {
        font-size: 9vw;
    }

    .profile-image {
        width: 100%;
        height: auto;
        float: none;
    }

    section h1 {
        font-size: min(24px, 7vw);
    }
}