* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-family: Arial, sans-serif;
    font-weight: 400;
    background-color: #555555;
}

nav {
    font-family: Arial Black, sans-serif;
    font-size: 0.8125rem;
    line-height: 0.8125rem;
}

.displaynone {
    display:none;
}

h1, h2 {
    font-size: 2.375rem;
    line-height: 2.75rem;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

@media only screen and (max-height: 35rem) {
    h1, h2 {
        font-size: 2rem;
        line-height: 2.3125rem;
    }
}

p {
    font-size: 1.125rem;
    line-height: 2rem;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

#teaser {
    width: 100%;
    height: 100vh;
}

#teaser-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

div .about-background {
    background: url(images/about-landscape.jpg) no-repeat center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

div .projects-background {
    background: url(images/projects-landscape.jpg) no-repeat center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

#teaser-foreground {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.centered-block {
    position: relative;
    width: 57.5rem;
    max-width: 100%;
    left: 50%;
    margin-left: -28.75rem;
}

@media only screen and (max-width: 62.5rem) {
    .centered-block {
        left: 0;
        margin-left: 0;
        width: 100%;
    }
}

#logo-large {
    position: absolute;
    left: 0;
    top: 1.75rem;
    opacity: 0.0;
}

#logo-large img {
    height: 7rem;
    width: auto;
}

#teaser-block {
    height: 100%;
}

#teaser-text {
    position: absolute;
    bottom: 15%;
    left: 0;
    max-width: 24.25rem;
    color: #ffffff;
    margin-top: 3.5rem; 
}

@media only screen and (max-height: 40rem) {
    #teaser-text {
        bottom: 2%;
        max-width: 100%;
    }
}

#content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 1.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: #e4e4e4;
}

#fixed-header {
    position: fixed;
    width: 100%;
    height: 7rem;
    min-height: 3.5rem;
    max-height: 20%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    z-index: 2000;
}

#menu-background {
    position: absolute;
    opacity: 1.0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(images/menu.jpg);
}

#header-block {
    height: 100%;
}

#inline-menu {
    position: absolute;
    width: 100%;
    top: 50%;
    text-align: right;
}

@media only screen and (max-width: 32rem) {
    #inline-menu {
        display: none;
    }
}

#inline-menu a {
    text-decoration: none;
    color: #ffffff;
}

#inline-menu a:hover {
    color: #009edd;
    background-color: #ffffff;
}

#inline-menu .static {
    color: #009edd;
    background-color: #ffffff;
}

#logo-small {
    position: absolute;
    height: 3.5rem;
    top: 50%;
    margin-top: -1.75em;
}

#logo-small img {
    height: 3.5rem;
    width: auto;
}

#menu-icon {
    display: none;
    position: relative;
    width: 1.875rem;
    top: 50%;
    margin-top: -0.875rem;
    float: right;
    cursor: pointer;
    opacity: 0.0;
}

#menu-icon div {
    background-color: #ffffff;
    height: 0.3125rem;
    width: 100%;
    margin-bottom: 0.375rem;
}

@media only screen and (max-width: 32rem) {
    #menu-icon  {
        display: block;
    }
}

#main-menu {
    background-color: #00274e;
    line-height: 3rem;
    box-shadow: 0.3rem 0.3rem 0.3rem #808080;
    z-index: 3000;
}

@media only screen and (min-width: 32rem) {
    #main-menu {
        display: none;
    }
}

#main-menu.off-canvas {
    position: fixed;
    width: 14rem;
    height: auto;
    right: -14rem;
    top: 0;
    box-shadow: none;
    -ms-transform: translate(0, 0); 
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: 0.15s ease;
    transition: 0.15s ease;
}

#main-menu.visible {
    -ms-transform: translate(-14rem, 0);
    -webkit-transform: translate(-14rem, 0);
    transform: translate(-14rem, 0);
}

#main-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#main-menu li {
    padding-left: 4.3478%;
}

#main-menu .border {
    border-bottom: 0.125rem solid #ffffff;
}

#main-menu.off-canvas li {
    padding-left: 1rem;
}

#main-menu li.static {
    color: #009edd;
}

#main-menu .link:hover {
    background-color: #009edd;
    color: #00274e;
}

#main-menu a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    width: 100%;
    height: 100%;
}

#main-menu a:hover {
    background-color: #009edd;
    color: #00274e;
}

#continue-button {
    position: absolute;
    width: 8.625rem;
    height: 3.25rem;
    background-color: #ffffff;
    left: 50%;
    margin-left: -4.3125rem;
    top: 100%;
    cursor: pointer;
    border-radius: 0.6rem 0.6rem 0 0;
    box-shadow: 0.2rem 0.2rem 0.2rem;
    -ms-transform: translate(0, 0); 
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
    opacity: 0.0;
}

#continue-button.visible {
    -ms-transform: translate(0, -3.25rem);  
    -webkit-transform: translate(0, -3.25rem);
    transform: translate(0, -3.25rem);
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
}

#continue-button img {
    position: absolute;
    height: auto;
    width: 6.75rem;
    left: 50%;
    top: 0;
    margin-left: -3.375rem;
}

article {
    display: inline-block;
    position: relative;
    margin-bottom: 1.75rem;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0.3rem 0.3rem 0.3rem #808080;
}

article h2 {
    margin-top: 1.25rem;
    margin-bottom: 0;
    margin-left: 4.3478%;
    margin-right: 4.3478%;
    color: #009edd;
}

article p {
    font-size: 1.125rem;
    line-height: 2rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    margin-left: 4.3478%;
    margin-right: 4.3478%;
    color: #000000;
}

article .image-left {
    width: 50%;
    float: left;
    margin-right: 2.5rem;
    margin-bottom: 1rem;
}

article .image-right {
    width: 50%;
    float: right;
    margin-left: 2.5rem;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 40rem) {
    article .image-left {
        width: 100%;
        margin-bottom: 1.25rem;
    }
    article .image-right {
        width: 100%;
        margin-bottom: 1.25rem;
    }
}

footer {
    height: 5rem;
    font-size: 0.8125rem;
    line-height: 1rem;
    color: #00274e;
}

footer b {
    font-family: Arial Black, sans-serif;
    font-weight: normal;
}

footer a{
    text-decoration: none;
    color: #009edd;
}
