/*
RED:    #D4000C
YELLOW: #FDBC3C
BLUE:   #0168B7
GREEN: #82D24B
*/

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

@font-face {
    font-family: "Feb";
    src: url("../fonts/feb.otf") format('opentype');
}

body {
    background-color: #ccc;
}

#container {
    width: 100%;
    height: 100%;
    margin: auto auto;
    background-image: url("../images/floor2.gif");
    z-index: 0;
}

.navbox {
    width: 100%;
    height: 25%;
    text-align: justify;
    text-justify: inter-word;
}

.titlebox {
    width: 100%;
    height: 15%;
    border-bottom: solid;
}

#sketchbox {
    width: 100%;
    height: 85%;
    overflow: hidden;
}

.red {
    background-color: rgba(212, 0, 12, 0.8);
}

.yellow {
    background-color: rgba(253, 188, 60, 0.8);
}

.blue {
    background-color: rgba(1, 104, 183, 0.8);
}

.green {
    background-color: rgba(130, 210, 75, 0.8);
}

h1 {
    font-family: "Feb";
    color: white;
    font-size 3.5em;
}

.navbox h1 {
    padding-top: 4.5%;
    padding-left: 4%;
    font-size 3.5em;
}

.titlebox h1 {
    font-size: 2.5em;
    padding-top: 2.5%;
    padding-left: 4%;
    text-align: left;
    text-justify: distribute;
}

a {
    text-decoration: none;
    color: inherit;
}

.red:active h1 {
    color: lightcoral;
}

.yellow:active h1 {
    color: lightgoldenrodyellow;
}

.blue:active h1 {
    color: lightblue;
}

.green:active h1 {
    color: lightgreen;
}

#sketchbox iframe {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fulljustify {
    text-align: justify;
}

.fulljustify:after {
    content: "";
    display: inline-block;
    width: 100%;
}

@media (max-width: 1366px) {
    h1 {
        font-size: 2.5em;
    }
    .navbox h1 {
        padding-top: 3em;
        font-size: 2.5em;
    }
    .titlebox h1 {
        font-size: 2em;
    }
}

@media (min-width: 1440px) {
    h1 {
        font-size: 4em;
    }
    .navbox h1 {
        padding-top: 2em;
        font-size: 4em;
    }
    .titlebox h1 {
        font-size: 3.5em;
    }
}

@media (min-width: 2500px) {
    h1 {
        font-size: 2em;
    }
    .navbox h1 {
        padding-top: 7%;
        padding-left: 1%;
        font-size: 5.6em;
    }
    .titlebox h1 {
        padding-top: 1em;
        padding-left: 1.85%;
        font-size: 5.3em;
    }
}