@font-face {
    font-family: "PublicSans-Regular";
    src: url("fonts/PublicSans-Regular.otf");
}

@font-face {
    font-family: "PublicSans-Medium";
    src: url("fonts/PublicSans-Medium.otf");
}

@font-face {
    font-family: "PublicSans-Bold";
    src: url("fonts/PublicSans-Bold.otf");
}

html {
    font-family: PublicSans-Regular;
    color: #8F2616;
}

body {
    background-image: url("bg2.png");
    background-position: top center;
    background-repeat: repeat-x;
    background-color: #d99331;
    /* background-color: #FFF; */
    background-size: 100px 1700px;
    margin: 0;
    padding: 0;
    position: relative;
}

#bg {
    border: 1px solid black;
    background-image: url("bg2.png");
    width: 100px;
    height: 100px;
    background-size: contain;
}

body * {
    box-sizing: border-box;
}

a, a:visited {
    color: #8F2616;
    text-decoration: none;
}

a, a:hover {
    text-decoration: underline;
}

#berg-bg {
    height: 500px;
    background-image: url("berg.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

#berg {
    width: 100%;
    margin-bottom: 40px;
}

.navigation a {
    display: block;
    text-align: center;
    margin: 0.5rem 0;
    text-transform: uppercase;
    font-family: PublicSans-Medium;
    text-decoration: none;
    font-size: 20px;
}

#container {
    margin: 0 auto;
    width: 100%;
    min-width: 320px;
    max-width: 850px;
    /*border: 1px solid #000000;*/
    padding: 2rem;
    padding: 12vw;
    padding-top: 2rem;
}

#content {
    padding-top: 50px;
}

#schema {
    max-width: 100%;
    margin-bottom: 50px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

h2 {
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    margin: 50px 0 15px;
}

label {
    line-height: 2;
}

#lower-form label {
    width: 200px;
    display: inline-block;
}

input[type=checkbox] {
    transform: scale(1.4);
    margin-right: 10px;
}

input[type=submit] {
    width: 100px;
    margin-top: 25px;
}

#countdown {
    margin-top: 50px;
}

#countdown table {
    width: 100%;
}

#countdown thead td {
    font-family: PublicSans-Bold;
    font-weight: bold;
}

#countdown table td {
    text-transform: uppercase;
    font-size: 10px;
}

#logo {
    /*
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: none;
    */
    text-align: center;
}

#logo img {
    width: 50px;
    margin-top: 90px;
}

#player {
    margin-top: 150px;
    text-align: center;
    width: 100%;
}

#player audio {
    max-width: 100%;
}

#afterski {
    width: 100%;
    max-width: 450px;
}

#lift {
    position: absolute;
    top: 0;
    left: 0;
    width: 75px;
    width: 20vw;
    max-width: 200px;
}

#fyrverkeri {
    width: 100%;
    margin-top: 25px;
}

@media screen and (min-width: 767px) {

    #container {
        max-width: 850px;
        padding: 2rem 6rem;
    }

    .navigation {
        display: flex;
        justify-content: space-evenly;
        margin: 15px;
    }

    #countdown table td {
        font-size: 22px;
    }

    #lift {
        width: 200px;
        width: 20vw;
        max-width: 200px;
    }

    #logo {
        display: block;
    }

    #logo img {
        width: 150px;
    }

}