@font-face {
    font-family: "Custom Font";
    src: url("Media/Prototype.ttf")
    format("truetype");
}
body {
    font-family: "Custom Font", Verdana, Tahoma;
    margin:0;
    padding:0;
    background-color: #fff;
    color:#000;
}
#top a {
    color: #FFFFFF;
    text-decoration: none;
}
#top{
    position: fixed;
    z-index: 99;
    top:0;left:0;right:0;
    background-color: #000000;
    height: 6.2em;
}
#logo {
    position:absolute;
    left: 14px;
    background-color: #FF8800;
    background-image: url('Media/Logo.png');
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    width: 4.2em;
    height: 6.2em;
    transition: 90ms all;
}
#logo:hover{
    background-size: 58%;
    filter: brightness(110%);
}

#top h1 {
    margin: 0;
    position: absolute;
    font-weight: normal;
    left: 102px;
    top: 1.4em;
    font-size: 1.15em;
    text-transform: uppercase;
}
#top h2 {
    margin: 0;
    position: absolute;
    font-weight: normal;
    left: 102px;
    top: 4.4em;
    font-size: .75em;
    color:#888;
}
#topIcon {
    position: absolute;
    top: 0;
    right: 12px;
    height: 100%; /* of countaining element (div#top) */
}
#topIcon img {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

#nav{
    position: absolute;
    right: 120px;
    top: 0; bottom: 0;
}
#nav a{
    font-size: 1.2em;
    padding: 1.6em;
    line-height: 5em;
}
#nav a:hover{
    background: #191919;
}
#nav a.rnd{
    color:#ffddcc;
}

.centre{
    text-align: center;
}

#main {
    position: absolute;
    top: 7em;
    left: 2em;
    right: 20vw;
}
#main a:not(.boxed) {
    color: inherit;
    text-decoration: underline;
}
#main a:not(.boxed):hover {
    color:#777;
}

#side {
    position: absolute;
    top: 8em;
    right: 30px;
    max-width: 420px;
    min-width: 280px;
    width: 20vw;
    text-align: center;
}

.small {
    font-size: .6em;
    color:#aaa;
}


a.boxed{
    width: 250px;
    margin: 6px;
    display:inline-block;
    overflow:hidden;
    border-radius: 6px 6px 3px 3px;
    box-shadow: 1px 1px 4px rgba(145, 145, 145, .75);
    color:#000;
    will-change: transform;
    text-decoration: none;
    xborder:1px transparent solid;
    transition: all 90ms;
}
a.boxed:hover{
    box-shadow: 2px 2px 6px rgb(145, 145, 145);
    xborder-color: #ccc;
}
.boxedImage{
    display:block;
    background-size: cover;
    background-position: center center;
    height: 70px;
}
.boxedText {
    display:block;
    background: #f1faff;
    padding: .5em;
    font-size: 10pt;
    height: 50px;
    color:#6e7679;
}
