@font-face {
    font-family: "vangid";
    src: url("fondid/kellyslab-regular.ttf");
}

@font-face {
    font-family: "titles";
    src: url("fondid/moms-typewriter.ttf");
}

html {
    scroll-behavior: smooth;
    min-height: 100vh;
}

body {
    font-family: "vangid", sans-serif;
    margin: 0;
    color: hsla(0, 0%, 95%, 0.95);
    min-height: 100vh;
}

h1 {
    text-align: center;
    font-size: 3em;
    line-height: 0.95;
}

h2 {
    font-family: "titles", fantasy;
    font-weight: initial;
    font-size: 1.25em;
    line-height: 1.5em;
    margin-top: 3rem;
}

h3 {
    text-align: left;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

h4 {
    margin-bottom: 0.1em;
}

a {
    color: inherit;
    text-shadow: 3px 3px 5px red;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    border: none;
}

a:hover {
    color: hsla(0, 100%, 70%, 0.7);
    transition: 0.3s;
    border: none;
}

.backGroundVideo {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.topContainer {
    margin: 25vh auto;
    position: relative;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.subPageTitleArea {
    margin: 5vh auto;
}

.subTitle {
    font-size: 0.4em;
}

.shortPageContainer {
    position: relative;
    min-height: 45rem;
}

.mainArea {
    position: relative;
    width: 75%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.subPageMainArea {
    margin-left: auto;
    margin-right: auto;
}

.mainButtonArea {
    margin-left: 25%;
    width: 75%;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 2em;
}

.subPageMainButtonArea {
    text-align: right;
    padding-right: 1em;
    padding-bottom: 1em;
    margin-left: auto;
    font-size: 1.25em;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    text-transform: uppercase;
}

.sideMenu {
    width: 18.75%;
    max-width: 480px;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    margin-left: 0;
}

.menuLink {
    display: block;
    text-transform: uppercase;
    text-align: right;
    margin: 2rem auto;
    padding-right: 4rem;
}

.contentArea {
    position: relative;
    display: inline-block;
    margin-left: 25%;
    width: 75%;
    box-sizing: border-box;
    background-color: hsla(0, 0%, 0%, 0.6);
    padding-bottom: 5em;
}

.subPageContentArea {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    padding-bottom: 0;
}

.contentBlock {
    display: block;
    font-size: 1.25em;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: 0.05em;
    line-height: 1.5em;
}

.subPageSmallButtonsContainer {
    display: grid;
    grid-auto-flow: column;
    row-gap: 1em;
    column-gap: 1em;
    margin-top: 3em;
    text-align: center;
    margin-bottom: 5em;
}

.portraitArea {
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 1rem;
}

.videoGrid {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-column-gap: 1.25rem;
    grid-row-gap: 1.25rem;
}

.mainVideoArea {
    grid-column: 1 / span 3;
}

.video {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.video::after {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.button {
    background-image: url("img/vangid_nuputaust.jpg");
    outline: none;
    border-left: 2px solid hsla(28, 38%, 30%, 0.8);
    border-top: 2px solid hsla(28, 38%, 30%, 0.8);
    border-bottom: 2px solid hsla(28, 38%, 15%, 0.8);
    border-right: 2px solid hsla(28, 38%, 15%, 0.8);
    font-family: "vangid", sans-serif;
    text-transform: uppercase;
    color: hsla(0, 0%, 95%, 0.95);
    font-size: 1em;
    padding: 1em;
    margin-bottom: 1rem;
    width: 24em;
    cursor: pointer;
}

.button:active {
    border-right: 2px solid hsla(28, 38%, 30%, 0.8);
    border-bottom: 2px solid hsla(28, 38%, 30%, 0.8);
    border-top: 2px solid hsla(28, 38%, 15%, 0.8);
    border-left: 2px solid hsla(28, 38%, 15%, 0.8);
}

.underButton {
    text-align: center;
    font-size: 0.8em;
    margin-top: -2rem;
    margin-bottom: 2rem;
    line-height: 1.5em;
}

footer {
    position: relative;
    display: block;
    text-align: center;
    line-height: 1.75em;
    width: 50%;
    margin-bottom: 2em;
    padding-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
}

footer.mainPageFooter {
    margin-left: 25%;
    width: 75%;
}

.footerText {
    margin-top: 4rem;
}

@media screen and (max-width: 720px) {
    .topContainer {
        max-width: 95%;
    }

    .contentArea {
        margin-top: -2rem;
    }
}

@media screen and (max-width: 1080px) {
    .hideOnSmallScreen {
        display: none;
    }

    .mainArea {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .mainButtonArea {
        margin-left: 0;
        line-height: 2.5em;
        width: 100%;
        margin-bottom: 1em;
    }

    .subPageMainButtonArea {
        text-transform: none;
    }

    .subPageSmallButtonsContainer {
        display: block;
    }

    .sideMenu {
        position: static;
        display: block;
        width: 100%;
        text-align: center;
    }

    .menuLink {
        text-align: center;
        padding: 1em;
        margin-top: 0;
        margin-bottom: 0;
    }

    .contentArea {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }

    .contentBlock {
        text-align: left;
        text-justify: none;
    }

    .portraitArea {
        grid-template-columns: auto;
    }

    .videoGrid {
        grid-template-columns: auto;
    }

    .mainVideoArea {
        grid-column: 1;
    }

    footer {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }
}
