@font-face {
    font-family: 'Permanent Marker';
    src: url('../fonts/PermanentMarker.ttf') format('truetype');
}

body {
    font-family: 'Permanent Marker', sans-serif;
    font-size: 30pt;
    color: white;
    margin: 0;
}

iframe {
    margin: 0;
    padding: 0;
}

a {
    color: blue;
}

a:hover {
    color: #0000bb;
}

.preload {
    display: none;
}

#content {
    position: absolute;
    width: 100%;
    height: 100vh;
}

#preload-blobs {
    position: absolute;
    left: 42.5vw;
    top: 20vh;
    width: 15vw;
}

#site {
    position: absolute;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    width: 100%;
    height: 100vh;
}

.main {
    position: relative;
    scroll-snap-align: start;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.background.field {
    background-image: url('../img/field.jpg');
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

.background.thirdperson {
    background-image: url('../img/third-person.jpg');
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

.background.firstperson {
    background-image: url('../img/first-person.jpg');
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

#blobs {
    position: absolute;
    left: 39%;
    top: 23%;
    height: 40%;
}

#tng {
    position: absolute;
    top: 3%;
    left: 2%;
    height: 5%;
}

#parrotsonjava {
    position: absolute;
    right: 3%;
    bottom: 0;
    height: 15%;
}

#main-title {
    position: absolute;
    top: 24%;
    width: 100%;
    letter-spacing: 0.6vh;
    text-align: center;
    font-size: 15vh;
}

#punch-line {
    position: absolute;
    top: 52%;
    width: 100%;
    text-align: center;
    font-size: 5vh;
}

#call-to-action {
    position: absolute;
    top: 67%;
    width: 100%;
    text-align: center;
    font-size: 5vh;
}

.embedded-video {
    border: 0.5vh solid white;
    border-radius: 1%;
    position: absolute;
    top: 5%;
    left: 15%;
}

.video-subline {
    font-size: 3vh;
    position: absolute;
    text-align: justify;
    top: 71.5%;
    left: 12%;
    width: 80%;
}

#presentation {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 78%;
    border: 1vh solid white;
    border-radius: 1%;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    font-size: 0;
}

#presentation img {
    scroll-snap-align: start;
    width: 100%;
    margin: 0;
    padding: 0;
}

#navigation {
    background-color: white;
    position: fixed;
    z-index: 10;
    bottom: 0;
    width: 30%;
    height: 2%;
    text-align: center;
    font-size: 2vh;
    border: 3vh solid white;
    border-top-right-radius: 3vh;
}

#navigation a {
    display: inline-block;
    padding-left: 1%;
    padding-right: 1%;
    color: black;
}

#navigation a:hover {
    color: #555555;
}

#post {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Noto Sans", "Ubuntu", "Droid Sans", "Helvetica Neue", sans-serif;
    color: black;
    width: 94%;
    font-size: 12pt;
    margin-left: 3%;
    margin-right: 3%;
}

@media screen and (orientation: portrait) {
    #content {
        margin-top: 2%;
    }

    .main {
        height: calc(100% / 4);
    }

    #main-title {
        font-size: calc(15vh / 4);
    }

    #punch-line, #call-to-action {
        font-size: calc(5vh / 4);
    }

    .video-subline {
        font-size: calc(3vh / 4);
    }

    .embedded-video {
        border-radius: calc(0.5vh / 4);
    }

    #presentation {
        border-radius: calc(1vh / 4);
    }

    #navigation {
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 2vh;
        border: 0;
        margin-bottom: 3vh;
    }

    #post {
        margin-left: 2%;
        margin-right: 2%;
        font-size: 10pt;
    }
}