@import url(../fonts/fonts.css);
@import url(normalise.css);

:root {
    font-family: "Workavec", monospace;
}

header {
    position: fixed;
    top: 0;
    height: 5vh;
    height: 5dvh;
    width: calc(100% - 10vw);
    padding: 0 5vw 0 5vw;
    z-index: 1000;
    background-color: white;

    display: flex;
    justify-content: center;
}

header nav a img {
    max-height: 5vh;
    max-height: 5dvh;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(90vh - 2rem);
    min-height: calc(90dvh - 2rem);
    margin-top: 5vh;
    margin-top: 5dvh;
    margin-bottom: 5vh;
    margin-bottom: 5dvh;
    padding: 1rem 5vw 1rem 5vw;
    z-index: 100;
}

main > div {
    max-width: 60ch;

    & > p {
        margin-bottom: 2rem;

        & img {
            width: 3ch;
            margin-right: 3ch;
        }
    }
}

footer {
    position: fixed;
    min-height: 5vh;
    min-height: 5dvh;
    width: calc(100% - 10vw);
    padding: 0 5vw 0 5vw;
    z-index: 1000;
    bottom: 0;
    display: flex;
    align-items: center;
    background-color: white;
}


.steam-embed {
    container-type: inline-size;
    width: 100%;
    max-width: 646px;
    height: calc(190px * min(1, 100cqw / 646px));
    overflow: hidden;
}

.steam-embed iframe {
    display: block;
    width: 646px;
    height: 190px;
    max-width: none;
    border: 0;
    transform: scale(min(1, calc(100cqw / 646px)));
    transform-origin: top left;
}
