
/* VARIABLES */

:root {
    --black: #212121;
    --white: #ffffff;
    --light-gray: rgba(0, 0, 0, 0.1);

    --primary: #B93A3A;
    --secondary: #3AB95C;

    --bg-red: #B93A3A;
    --bg-white: #EDEDED;
    --bg-green: #3AB95C;
}

/* GENERAL */

body {
    margin: 0;
    background: var(--bg-red);
}

.page {
    position: relative;

    display: flex;
    justify-content: center;

    width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum";
}

h1 {
    font-size: 32px;
    text-align: center;

    margin: 32px 0;
}

h2 {
    font-size: 24px;
    text-align: center;

    margin: 24px 0;
}

p, span, a, td, th {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;

    color: var(--black);

    font-size: 16px;
}

p {
    text-align: center;

    margin: 0;
}

a {
    color: var(--primary);
}

* {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;

    color: var(--black);
}

/* CONTENT */

.content {
    min-width: 960px;
    width: 60%;

    padding: 64px 64px;

    margin: 128px 0;

    background: var(--white);
}

section {
    margin: 0 64px;
}

/* CONTENT - HEADER */

header {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

    margin-bottom: 96px;
}

header .icon {
    position: absolute;
    top: -10%;
    left: 0;

    height: 120%;
    aspect-ratio: 1 / 1;

    -webkit-mask-image: url("/static/zirkel.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url("/static/zirkel.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;

    background-color: var(--black);
}

header h1 {
    margin: 0;
}

header #burger-menu {
    display: none;
}

header nav ul {
    display: flex;
    flex-direction: row;
    gap: 32px;

    padding: 0;
    margin: 0;

    list-style-type: none;
}

header nav ul li a {
    color: var(--black);
    text-decoration: none;
}

header nav ul li.selected a {
    color: var(--primary);
    text-decoration: underline;
}

/* BACKGROUND */

.background {
    position: fixed;
    top: 0;
    left: 0;

    z-index: -1;

    width: 100vw;
    /* TODO fix when scrollable :D -> or keep sticky */
    height: 100vh;
}

.background-sticky {
    position: sticky;
    top: 0;

    width: 100vw;
    height: 100vh;

    overflow: hidden;
}

.background-colors {
    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;

    aspect-ratio: 1 / 1;
    min-width: 150%;
    min-height: 150%;

    transform: translate(-50%, -50%) rotate(-50deg);
    background: var(--bg-white);

    z-index: -1;
}

.background-red {
    background: var(--bg-red);

    width: 33%;
}

.background-green {
    background: var(--bg-green);

    width: 33%;
}

/*
@media (orientation: portrait) {
    .background-red {
        width: 33%;
    }

    .background-green {
        width: 33%;
    }
}
 */
