﻿@font-face {
    font-family: "titles";
    src: url("/fondid/gabriele-bad.ttf");
}

@font-face {
    font-family: "textContent";
    src: url("/fondid/futura-light.ttf");
}

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

html, body {
    min-height: 100vh;
}

body {
    background-image: url('/pildid/paber.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: "textContent", sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    line-height: 2em;
    color: #333;
}

h2 {
    font-family: titles, fantasy;
    font-weight: initial;
    font-size: 1.25em;
    line-height: 1.5em;
}

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

ol {
    margin-top: 2em;
    margin-bottom: 2em;
}

li {
    margin-bottom: 1em;
}

a {
    color: hsla(0, 0%, 45%, 1);
    text-decoration: none;
    border-bottom-style: double;
}

a:hover {
    color: black;
    border-bottom-style: solid;
    transition: 0.3s;
}

.linkUndecorated {
    border: none;
    color: inherit;
}

.linkUndecorated:hover {
    border: none;
    color: inherit;
}

.titleFont {
    font-family: titles, fantasy;
}

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

}

.topContainer {
    display: block;
    width: 95%;
    max-width: 1920px;
    margin: 2rem auto;
}

.siteTitleContent {
    display: flex;
    margin-top: 2rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: center;
}

.siteTitleText {
    font-family: titles, fantasy;
    font-size: 1.75em;
    line-height: 1.1em;
}

.hoiatus{
    color: red;
}

.kinnitus{
    color: green;
}

.siteTitleImage {
    height: 6rem;
    padding-right: 12rem;
    margin-right: -10.5rem;
}

.menuContainer {
    display: block;
}

.mainMenu {
    text-align: center;
    font-family: "titles", fantasy;

    display: grid;
    width: 75%;
    grid-template-columns: repeat(6, auto);
    align-items: center;
    justify-items: center;
    margin-right: auto;
    margin-left: auto;
}

.mainMenu a {
    font-size: 1em;
    color: hsla(0, 0%, 45%, 1);
    text-align: center;
    padding: 0.5em 1em;
    text-decoration: none;
    border: none;
    transition: 0.6s;
}

.mainMenu :hover :not(.mainMenu .currentSection) {
    color: black;
    font-size: 1.1em;
}

.mainMenu .currentSection {
    font-size: 1.1em;
}

.menuActivationArrow {
    display: none;
    font-size: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.menuActivationArrow:hover {
    cursor: pointer;
}

.mainMenu .menuActivationArrow {
    display: none;
}

.subMenuContainer {
    display: grid;
    width: 100%;
    text-align: center;
    font-family: "titles", fantasy;
    font-size: 0.8em;
    padding-top: 1rem;
    line-height: 4rem;
    align-items: end;
}

.subMenuItem {
    background-color: hsla(0, 0%, 0%, 0.075);
    padding: 0.5em;
    line-height: initial;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.subMenuEmpty {
    box-shadow: inset 0 -7px 5px -5px rgba(0, 0, 0, 0.5);
    height: 90%;
}

.currentSubSection {
    background-color: hsla(0, 0%, 100%, 0.6);
    box-shadow: 0 -5px 5px 0 rgba(0, 0, 0, 0.5);
    border-radius: 3px 3px 0 0;
    height: 100%;
}

.currentSubSection a {
    color: #333;
}

.contentArea {
    width: 95%;
    max-width: 1920px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contentTitle {
    display: block;
    font-size: 0.625rem;
    text-align: right;
    margin-bottom: 2rem;
    font-family: "titles", fantasy;
    visibility: hidden;
}

.defaultContentContainer {
    width: 100%;
    background-color: hsla(0, 0%, 100%, 0.7);
}

.shortPageContainer {
    height: auto !important;
    min-height: 25rem;
}

.buttonContainer {
    display: block;
    width: 50%;
    margin-right: auto;
    margin-left: auto;
}

.button {
    background-image: url("/pildid/nuputaust.jpg");
    outline: none;
    border-left: 2px solid lightgrey;
    border-top: 2px solid lightgrey;
    border-bottom: 2px solid darkgrey;
    border-right: 2px solid darkgrey;

    font-family: "titles", fantasy;
    font-size: 0.8em;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.smallButton {
    font-family: "Kelly Slab", serif;
    font-size: 0.7em;
    padding: 0.5em;
}

.button:active {
    border-right: 2px solid lightgrey;
    border-bottom: 2px solid lightgrey;
    border-top: 2px solid darkgrey;
    border-left: 2px solid darkgrey;
}

.buttonPressed {
    border-right: 2px solid lightgrey;
    border-bottom: 2px solid lightgrey;
    border-top: 2px solid darkgrey;
    border-left: 2px solid darkgrey;
}

.shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.quote {
    font-style: italic;
    text-justify: none;
    text-align: left;
}

.invisible {
    visibility: hidden;
}

.scrollBox {
    overflow: auto;
}

.specialNotes {
    font-family: "Kelly Slab", serif;
    font-size: 0.85em;
}

.preTagForScrollBox {
    margin-bottom: -2em;
}

.rightSide {
    text-align: right;
}

.center {
    text-align: center;
}

.center ol {
    text-align: center;
    list-style-position: inside;
}

.smallText {
    font-size: 0.7em;
}

.videoWrapper {
    text-align: center;
}

.video {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin-left: 0;
}

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

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

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

.footerText {
    margin-top: 4rem;
}

.socialMediaContainer {
    margin-top: 4rem;
    margin-bottom: 4rem;

    display: grid;
    grid-template-columns: auto auto auto auto;
}

.socialMediaCell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.socialMediaWrapper {
    width: 50%;
    height: 90%;
}

.socialMediaIcon {
    width: 100%;
    height: auto;
    opacity: 33%;
}

.socialMediaIcon:hover {
    opacity: 66%;
    transition: 0.3s;
}

#menuActivator {
    visibility: hidden;
}


@media screen and (min-width: 800px) {
    .mainMenu .currentSection {
        background-image: url("/pildid/tindiplekk.png");
        background-position: left top;
        background-size: 100% 110%;
        color: white;
        padding: 0.5rem 2rem 0.75rem;
    }
}


@media screen and (max-width: 800px) {

    .mainMenu {
        display: block;
        font-size: 1.25em;
    }

    .mainMenu a:not(.currentSection) {
        display: none;
    }

    .mainMenu :hover {
        background-color: hsla(0, 0%, 30%, 0.9);
        color: hsla(0, 0%, 95%, 0.95);
    }

    .mainMenu .currentSection {
        background-color: hsla(0, 0%, 15%, 0.9);
        color: hsla(0, 0%, 95%, 0.95);
    }

    .mainMenu a.menuActivationArrow {
        display: block;
    }

    .mainMenu a {
        display: block;
        text-align: center;
        font-size: 1em;
    }

    .mainMenuItem {
        width: 100%;
    }

    .topContainer {
        max-width: 95%;
    }

    .menuContainer {
        text-align: left;
    }

    .menuActivationArrow {
        display: inline-block;
    }

    #menuActivator:checked + .mainMenu {
        display: inline-block;
        width: 100%;
    }

    #menuActivator:checked + .mainMenu a {
        float: none;
        display: block;
        text-align: center;
    }

    .contentTitle {
        text-align: center;
    }

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

}


@media screen and (max-width: 1080px) {

    .hideOnSmallScreen {
        display: none;
    }

    .mainMenu {
        width: 100%;
    }

    .socialMediaContainer {
        column-gap: 1em;
    }

    .socialMediaIcon {
        width: 100%;
    }

    .socialMediaContainer {
        margin-top: 2rem;
    }

    .socialMediaWrapper {
        width: 100%;
        height: 90%;
    }

    footer {
        width: 85%;
    }
}
