/* -=-=-=-=-=-=-=-=-=- General -=-=-=-=-=-=-=-=-=- */
@font-face {
    font-family: "MNetto";
    src: url("./font/NettoWeb.woff") format("woff");
    font-display: swap;
}

:root {
    --c-black: black;
    --c-white: white;
    --c-primary: #00a8d7;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    width: 100%;
}

body {
    position: relative;
    min-height: 100%;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.4;
    padding: min(12vh, 300px) min(12vw, 300px);

    background-color: var(--c-black);
    color: var(--c-white);

    font-family: "MNetto", sans-serif;
}

@media (min-width: 1200px) {
    .text {
        max-width: 50vw;
    }
}

.logo img {
    max-width: clamp(150px, 15vw, 100%);
    margin-bottom: min(calc(3vw + 3vh), 150px);
}

#lang {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 18px;
}

/* -=-=-=-=-=-=-=-=-=- BACKGROUND -=-=-=-=-=-=-=-=-=- */
.with-background {
    background-image: url(./background.webp);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: min(calc(20vw + 50vh), 1080px);
}

@media (max-width: 720px) {
    .with-background {
        background-size: 80% auto;
    }
}

/* -=-=-=-=-=-=-=-=-=- HYPERLINK -=-=-=-=-=-=-=-=-=- */
a {
    color: var(--c-primary);
    text-decoration: none;
}
a:hover {
    color: var(--c-white);
    text-decoration: underline;
}

/* -=-=-=-=-=-=-=-=-=- FRONTPAGE -=-=-=-=-=-=-=-=-=- */
.frontpage {
    font-size: clamp(1rem, 5vw, 2rem);
}

.frontpage .e-width {
    display: inline-block;
    width: 1.2em;
}
