/* Fonts */
@font-face {
    font-family: "Space Grotesk";
    src: url("SpaceGrotesk-Bold.ttf") format("truetype");
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

/* Variables */
:root {
    --white: #ffffff;
    --black-one: #000000;
    --black-two: #0a0a0a;
    --grey-one: #f9fafa;
    --grey-two: #646464;
    --turqoise-one: #3ba9aa;
}

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

/* Layout basics */
html {
    font-size: 16px;
}

body {
    font-family: sans-serif;
    background-color: var(--turqoise-one);
}
section {
    margin: 0;
}

header {
    padding: 10px 20px;
    background-color: var(--turqoise-one);
}

header .col.logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

footer {
    padding: 10px 20px;
    background-color: var(--turqoise-one);
}
main {
    padding: 0px 20px 20px 20px;
    background-color: var(--white);
}

.wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.smol-css-grid {
    padding: 8px 0;
    --min: 9ch;
    --gap: 1rem;

    display: grid;
    grid-gap: var(--gap);
    /* min() with 100% prevents overflow
     * in extra narrow spaces */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
}

main .stage {
    padding: 0;
}
main .imprint {
    padding: 20px 0 0 0;
}

.col-box {
    border: solid 3px var(--black-two);
    border-radius: 2px;
    padding: 15px;
    position: relative;
}
.contact h2, .support h2, .intro h2 {
    display: inline-block;
    background-color: var(--turqoise-one);
    padding: 5px 8px 5px 10px;
    position: absolute;
    top: -15px;
    font-size: 18px;
    letter-spacing: 1px;
}
.img-one {
    background: url(mouse_scene.png);
    background-size: cover;
    min-height: 250px;
}
.tile {
    background-color: var(--white);
    color: var(--black-two);
    text-align: center;
    border: none;
    padding: 0px 15px 15px 15px;
}

.tile img {
    max-width: 240px;
    display: block;
    margin: 0 auto;
}
.tile span {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.impressions {
    padding: 0;
    overflow: hidden;
    height: 300px;
    border: none;
    margin-bottom: 20px;
    border-radius: 0px 0px 2px 2px;
}

/* Typography */

h1, h2, h3, span {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 1px;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    color: white;
}

a, a:visited, a:focus {
    color: var(--red-one);
}

.highlight {
    color: var(--turqoise-one);
    font-weight: bold;
}

.text-right {
    text-align: right;
}

.support span {
    font-weight: medium;
}

.contact, .support, .intro {
    padding: 28px 15px 15px 15px;
}

.imprint {

}

.meta {
    text-align: left;
}

.links {
    text-align: center;
}

.address {
    text-align: right;
}

@media (max-width: 750px) {
    .tile img {
        max-width: 200px;
    }
    footer .col {
        font-size: 15px;
    }
}

@media (max-width: 700px) {
    footer {
        padding: 15px;
    }
    footer .col {
        font-size: 14px;
    }
}

@media (max-width: 650px) {
    .tile img {
        max-width: 180px;
    }
    .panel {
        grid-template-columns: fit-content(100%);
    }
    .img-one {
        display: none;
        width: 0;
        height: 0;
        overflow: hidden;
        opacity: 0;
    }
    .impressions {
        height: 250px;
    }
    .contact {
        margin-top: 10px;
    }
    main {
        padding: 0px 15px 20px 15px;
    }
    header {
        padding: 10px 15px;
    }
}

@media (max-width: 550px) {
    .tile img {
        max-width: 120px;
    }
    .panel {
        grid-template-columns: fit-content(100%);
    }
    .img-one {
        display: none;
        width: 0;
        height: 0;
        overflow: hidden;
        opacity: 0;
    }
    .col.text-right {
        font-size: 14px;
    }
    .tile span {
        font-size: 16px;
    }
    footer .smol-css-grid {
        grid-template-columns: none;
    }
    footer .col {
        text-align: center;
    }
    footer .col
}

@media (max-width: 490px) {
    .tile img {
        max-width: 80px;
    }
    .col.text-right {
        font-size: 14px;
    }
    .head {
        grid-template-columns: none;
    }
    .head .col {
        width: 100%;
        text-align: center;
    }
    .head .col.logo {
        justify-content: center;
    }
    .impressions {
        height: 200px;
    }
}

