
@font-face {
    font-family: 'HomepageBaukasten';
    src: url('HomepageBaukasten-Bold.woff2') format('woff2'),
        url('HomepageBaukasten-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HomepageBaukasten';
    src: url('HomepageBaukasten-Book.woff2') format('woff2'),
        url('HomepageBaukasten-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --h1-font-size: 5rem;
}

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

body {
    background-color: #162041;
    height: 100%;
    width: 100%;
    font-family: 'HomepageBaukasten';
    color: #2dd9d7;
}

.col {
    display: flex;
    width: 100%;
    height: 90%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

p {
    padding: 50px;
    line-height: 25px;
}

.img {
    flex-grow: 1;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

img {
    position: absolute;
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
}

h1 {
    font-size: var(--h1-font-size);
    color: #2dd9d7;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    line-height: 1;
}

h1 .smaller {
    font-size: calc(var(--h1-font-size) - 1rem);
}

h1 .bigger {
    font-size: calc(var(--h1-font-size) + 1rem);
}

@media screen and (max-width: 450px) {
    :root {
        --h1-font-size: 4rem;
    }
}
@media screen and (max-width: 380px) {
    h1 {
        --h1-font-size: 3rem;
    }
}
