:root {
    --primary-bg-color: #060606;
    --font-size: 1ch;
    --button-font-size: 15px;
    --light-bg-color: white;
    --light-text-color: black;
    --dark-text-color: white;
}

@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf);
}

* {
    padding: 0;
    margin: 0;
    font-family: Roboto;
}

body {
    overflow-x: hidden;
    background-color: var(--light-bg-color);
    color: var(--light-text-color);
    transition: background-color 0.3s, color 0.3s;
}

/* HEADER */

header {
    position: fixed;
    width: 100vw;
    height: 80px;
    background-color: var(--primary-bg-color);
    z-index: 1;
}

nav {
    padding-left: 20vw;
    padding-right: 20vw !important;
    display: flex;
    justify-content: space-between;
    padding-right: 5vw;
    background-color: var(--primary-bg-color); /* nav bleibt immer dunkel */
}

.nav-left,
.nav-right {
    display: flex;
    flex-direction: row;
}

/* Buttons */

button,
.logo {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    color: white;
}

.nav-left *,
.nav-right * {
    font-size: var(--button-font-size);
    height: 80px;
}

header button {
    min-width: 160px;
}

.logo {
    width: 8.5vw;
    display: flex;
    align-items: center;
}

button:hover {
    filter: brightness(0.5);
}

/* CONTENT */

main {
    position: relative;
    padding: 20vh 20vw;
    width: 60vw;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}

main h1 {
    font-size: 5ch;
    font-weight: 600;
    padding-bottom: 0.3vw;
}

main h2 {
    font-size: 4.5ch;
    font-weight: 600;
    padding-bottom: 0.3vw;
}

main h3 {
    font-size: 3ch;
    font-weight: 600;
    padding-bottom: 0.3vw;
}

main p {
    font-size: 2.6ch;
    padding-bottom: var(--font-size);
}

.textbox-30-50 {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.textbox-30-50 .spaced {
    padding-left: 5vh;
}

.textbox-30-50 img, .textbox-50-30 img {
    max-width: 30vw;
    max-height: 30vh;
}

.textbox-50-30 {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.textbox-50-30 .spaced {
    padding-right: 5vh;
}

.space-large {
    height: 10vh;
}

.space-medium {
    height: 5vh;
}

input {
    width: 20vw;
}

textarea {
    width: 20vw;
    height: 15vh;
}

main button {
    border: 1px solid #060606;
    padding: 4px;
    color: #060606;
}

/* FOOTER */

footer {
    position: relative;
    width: 100vw;
    height: 10vh;
    background-color: var(--primary-bg-color);
}

/* DARK MODE */
body.dark-mode {
    background-color: #333;
    color: var(--dark-text-color);
}

/* MOBILE */

@media (min-width: 1168px) {
    .textbox-30-50 {
        flex-direction: row !important;
        align-items: center;
    }

    .form-row input,
    .form-row textarea {
        width: 48%; /* Etwa die Hälfte der Breite */
        margin-right: 4%; /* Abstand zwischen den Feldern */
    }

    .form-row textarea {
        width: 100%;
    }

    .form-buttons {
        flex-direction: column;
        align-items: center;
    }
}