/**
 * primary / blue:      81, 168, 222
 * secondary / dark:    49, 49, 49
 * tertiary / light:    242, 242, 242
 *
 * dark base / black:   0, 0, 0
 * light base / white:  255, 255, 255
 **/
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    height: 100%;
    color: rgb(49, 49, 49);
    font-size: 18px;
    font-family: proxima-nova, Arial;
    background-color: rgb(255, 255, 255);
}

.logo > .a {
    fill: rgb(49, 49, 49);
}
.logo > .b {
    fill: rgb(81, 168, 222);
}
.logo.light > .a {
    fill: rgb(242, 242, 242);
}

a[name] {
    position: relative;
    top: 15.5px;
}
a {
    color: rgb(81, 168, 222);
    text-decoration: underline;
}
a:hover,
a:focus {
    text-decoration: none;
}
.hl a {
    color: rgb(49, 49, 49);
}
span.hl {
    color: rgb(81, 168, 222);
}

button,
.btn,
a.btn {
    padding: 20px 30px;
    font-size: 16px;
    color: rgb(255, 255, 255);
    background-color: rgb(81, 168, 222);
    border: 1px solid rgb(81, 168, 222);
    text-decoration: none;
    cursor: pointer;
    transition: color ease-in-out .2s,
                            background-color ease-in-out .2s,
                            border-color ease-in-out .2s;
}
button:focus,
.btn:focus,
a.btn:focus {
    border: 1px dashed rgb(49, 49, 49);
    outline: none;
}
button:hover,
.btn:hover,
a.btn:hover {
    color: rgb(81, 168, 222);
    background-color: rgb(49, 49, 49);
    border-color: rgb(49, 49, 49);
}
.hl button,
.hl .btn,
.hl a.btn {
    background-color: rgb(49, 49, 49);
    border: 1px solid rgb(49, 49, 49);
}
.hl button:focus,
.hl .btn:focus,
.hl a.btn:focus {
    border: 1px dashed rgb(255, 255, 255);
}
.hl button:hover,
.hl .btn:hover,
.hl a.btn:hover {
    background-color: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
}

/*
** B O X
*/
.box {
    display: flex;
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 80px 0;
    background-position: center;
    background-size: cover;
    background-color: rgb(255, 255, 255);
    z-index: 1;
}
.box.full {
    height: 100%;
    padding: 0;
}
.box.auto {
    min-height: auto;
    height: auto;
}
.box.hl {
    color: rgb(255, 255, 255);
    background-color: rgb(81, 168, 222);
}
.box.hl span.hl {
    color: rgb(0, 0, 0);
}

.box > .box-inner {
    width: 100%;
    padding: 0 40px;
}
.box > .box-inner > .box-inner-content {
    max-width: 1360px;
    margin: 0 auto;
}
@media (max-width: 550px) {
    .box > .box-inner {
        padding: 0 20px;
    }
}

.box.text > .box-inner {
        padding: 40px;
}
@media (max-width: 550px) {
    .box.text > .box-inner {
        padding: 20px;
    }
}

.box.banner {
    justify-content: center;
    height: auto;
    padding: 40px 0;
    text-align: center;
    background-color: rgb(255, 255, 255);
    z-index: 9;
}
.box.banner.hl {
    color: rgb(255, 255, 255);
    background-color: rgb(81, 168, 222);
}
@media (max-width: 550px) {
    .box.banner {
	    padding: 20px 0;
    }
}

/*
** P A R A L L A X
*/
.parallax {
    position: relative;
    overflow: hidden;
}
.parallax.parallax-only {
    height: 100%;
    padding: 0;
    z-index: 0;
}
.parallax > .parallax-content {
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    min-height: 50vh;
    height: 150%;
    background-position: 50% 50%;
    background-size: 100% auto;
    background-size: cover;
    transform: translateX(0);
    z-index: 0;
}
@media (max-width: 550px) {
    .parallax > .parallax-content {
        min-height: 0;
    }
}
@media (min-height: 1080px) {
    .parallax > .parallax-content {
        height: 200%;
    }
}
@media (max-aspect-ratio: 3/2) {
    .parallax > .parallax-content.ratio-3-2 {
        background-size: auto 100%;
        background-size: cover;
    }
}
@media (max-aspect-ratio: 4/3) {
    body .parallax > .parallax-content.ratio-4-3 {
        background-size: auto 100%;
        background-size: cover;
    }
}
@media (max-aspect-ratio: 16/9) {
    .parallax > .parallax-content.ratio-16-9 {
        background-size: auto 100%;
        background-size: cover;
    }
}
@media (max-aspect-ratio: 21/9) {
    .parallax > .parallax-content.ratio-21-9 {
        background-size: auto 100%;
        background-size: cover;
    }
}
.parallax > .parallax-content.parallax-content-left {
    background-position: 0 50%;
}
.parallax > .parallax-content.parallax-content-right {
    background-position: 100% 50%;
}

/*
** C O L
*/
.col {
    display: flex;
    width: 100%;
    height: auto;
}
.col > .col-content {
    flex-grow: 1;
    flex-basis: 0;
    max-width: 1360px;
    margin: auto auto;
}
.col > .col-content ~ .col-content {
    margin-left: 40px;
}
@media (max-width: 1000px) {
    .col {
        flex-direction: column;
    }
    .col > .col-content ~ .col-content {
        margin: 0;
        margin-top: 20px;
    }
}

/*
** S E C T I O N S
*/
.sections {
    display: block;
    position: relative;
    margin-top: -40px;
    width: 100%;
    z-index: 4;
}
.sections .section {
    position: relative;
    width: 100%;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    padding: 40px 0;
    -webkit-clip-path: polygon(0% 0%, 100% 5vh, 100% calc(100% - 5vh), 0% 100%);
    clip-path: polygon(0% 0%, 100% 5vh, 100% calc(100% - 5vh), 0% 100%);
}
.sections .section.section-right {
    -webkit-clip-path: polygon(0% 5vh, 100% 0%, 100% 100%, 0% calc(100% - 5vh));
    clip-path: polygon(0% 5vh, 100% 0%, 100% 100%, 0% calc(100% - 5vh));
}
.sections .section.hl {
    background-color: rgb(81, 168, 222);
}
.sections .section .section-content {
    display: flex;
    position: relative;
    justify-content: center;
    height: 100%;
    background-color: rgb(255, 255, 255);
}
.sections .section .section-content.section-content-big {
    min-height: 300px;
}
.sections .section.hl .section-content {
    color: rgb(255, 255, 255);
    background-color: rgb(81, 168, 222);
}
.sections .section.hl .section-content span.hl {
    color: rgb(0, 0, 0);
}
.sections .section .section-content > * {
    flex-grow: 1;
    flex-basis: auto;
    max-width: 1360px;
}
.sections .section .section-content .content-text {
    order: 1;
    width: 100%;
    margin: 0 auto;
    padding: 20px 40px;
}
.sections .section .section-content .content-text > h2 {
    margin-top: 0;
}
.sections .section .section-content .content-img {
    order: 2;
    position: relative;
    top: -40px;
    min-width: 61.11%;
    overflow: visible;
    z-index: 1;
}
.sections .section.section-right .section-content .content-text {
    order: 2;
}
.sections .section.section-right .section-content .content-img {
    order: 1;
}
@media (min-width: 1440px) {
    .sections .section.section-parallax .section-content {
        justify-content: flex-end;
	    min-height: 300px;
    }
    .sections .section .section-content.section-content-big {
        min-height: 350px;
    }
    .sections .section.section-parallax.section-right .section-content {
        justify-content: flex-start;
    }
    .sections .section.section-parallax .section-content > * {
        min-width: 61.11%;
	    max-width: 61.11%;
    }
    .sections .section.section-parallax .section-content > .content-text {
        min-width: calc(640px - 11.1vw);
        max-width: calc(640px - 11.1vw);
        margin: unset;
	    margin-top: auto;
	    margin-bottom: auto;
    }
    .sections .section .section-content > .content-text {
        box-sizing: content-box;
    }
}
@media (max-width: 550px) {
    .sections .section .section-content,
    .sections .section .section-content.section-content-big {
        min-height: unset;
    }
    .sections .section .section-content .content-text {
        padding: 20px;
    }
}
body.mobile .sections .section .section-content .content-img .parallax-content {
    height: 100%;
    background-size: 100% auto;
    background-size: cover;
}

h2.section-head {
    border-left: 5px solid rgb(81, 168, 222);
    padding-left: 10px;
}
.hl h2.section-head {
    border-color: rgb(49, 49, 49);
}
h2.section-head > span:before {
    content: "\20\2013 \20";
}
h2.section-head > span {
    font-size: 16px;
    font-weight: normal;
    white-space: nowrap;
}
.section-notes {
    display: block;
    margin-top: 20px;
}
.section-notes > div {
    display: flex;
}
.section-notes > div > .fa:first-child {
    margin-right: 5px;
}

@media (max-width: 1000px) {
    .sections .section .section-content {
        flex-direction: column;
    }
    .sections .section .section-content:not(.content-text-only) .content-text,
    .sections .section.section-right .section-content:not(.content-text-only) .content-text {
        order: 1;
        padding-bottom: 0px;
    }
    .sections .section .section-content .content-img,
    .sections .section.section-right .section-content .content-img {
        order: 2;
        top: 40px;
        min-height: 175px;
	    height: 30vh;
        overflow: hidden;
    }
    .sections .section .section-content .content-img.parallax .parallax-content {
        background-size: 100% auto;
        background-size: cover;
    }
}

.parallax-only + .box {
    padding-bottom: 60px;
}
.box.section {
    box-shadow: none;
    z-index: 3;
    -webkit-clip-path: polygon(0% 0%, 100% 5vh, 100% calc(100% - 5vh), 0% 100%);
    clip-path: polygon(0% 0%, 100% 5vh, 100% calc(100% - 5vh), 0% 100%);
}
.box.section.section-right {
    -webkit-clip-path: polygon(0% 5vh, 100% 0%, 100% 100%, calc(100% - 5vh));
    clip-path: polygon(0% 5vh, 100% 0%, 100% 100%, 0% calc(100% - 5vh));
}
.box.section.parallax-only {
    height: calc(100% + 40px);
}
.box.section.parallax-only.parallax-only-half {
    height: calc(50% + 40px);
}

/*
** N A V
*/
#nav {
    position: absolute;
    top: 100%;
    left: 0px;
    width: 100%;
    height: 80px;
    background-color: rgb(255, 255, 255);
    z-index: 10;
}
#nav.nav-fix {
    position: fixed;
    top: 0px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}
#nav > .inner {
    display: flex;
    max-width: 1440px;
    height: 100%;
    padding: 0 40px;
    margin: 0 auto;
    justify-content: space-between;
}
#nav > .inner a {
    display: inline-block;
    height: 100%;
    padding: 10px 5px;
    margin-left: 20px;
    font-size: 18px;
    line-height: 60px;
    color: rgb(49, 49, 49);
    text-align: center;
    text-decoration: none;
    border-bottom: 5px solid rgb(255, 255, 255);
}
#nav > .inner a:hover,
#nav > .inner a:focus {
    color: rgb(81, 168, 222);
    border-bottom-color: rgb(81, 168, 222) !important;
}
#nav > .inner > div {
    flex-grow: 1;
    min-width: 60%;
    text-align: right;
}
#nav > .inner a[target="_blank"]:hover,
#nav > .inner a[target="_blank"]:focus {
    border-bottom-color: transparent !important;
}
#nav > .inner > a {
    display: flex;
    width: 33.33%;
    max-width: 40%;
    height: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
    border-bottom-color: transparent;
}
#nav.nav-fix > .inner > a {
    width: auto;
}
#nav > .inner > a > .logo {
    height: 40px;
    margin-top: auto;
    margin-bottom: auto;
}
@media (max-width: 1000px) {
    #nav > .inner > a {
        min-width: auto;
        width: auto;
    }
}
@media (max-width: 750px) {
    #nav > .inner > a {
        line-height: 150px !important;
    }
    #nav > .inner a {
        margin-left: 0;
    }
}
@media (max-width: 550px) {
    #nav > .inner {
        padding: 0 20px;
    }
    #nav.nav-fix > .inner > a,
    #nav > .inner > a > .logo {
	    height: auto;
        max-width: 75px;
    }
}
@media (max-width: 470px) {
    #nav > .inner {
        overflow: hidden;
    }
    #nav > .inner > div {
        display: flex;
        justify-content: space-between;
        text-align: center;
    }
    #nav.nav-fix > .inner > a,
    #nav > .inner > a {
        visibility: hidden;
        max-width: 10px;
    }
}

/*
** F O O T
*/
#foot {
    padding-bottom: 60px;
    color: rgb(255, 255, 255);
    background-color: rgb(49, 49, 49);
    box-shadow: none;
}
#foot strong {
    display: block;
    margin-bottom: 1em;
    text-transform: uppercase;
}
#foot .col > .col-content:first-child {
    text-align: left;
}
#foot .logo {
    width: 60%;
}
#foot .col > .col-content:last-child {
    text-align: right;
}
#foot .col > .col-content:last-child .divider {
    margin-left: auto;
}
#foot a {
    text-decoration: none;
}
#foot a:hover,
#foot a:focus {
    color: rgb(255, 255, 255);
    text-decoration: none;
}
#foot .divider {
    display: block;
    width: 40px;
    margin: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}
@media (max-width: 1000px) {
    #foot .col {
        flex-direction: row;
    }
}
@media (max-width: 700px) {
    #foot .col {
        flex-direction: column;
    }
    #foot strong {
        margin-top: inherit;
    }
    #foot .col > .col-content:first-child {
        text-align: center;
    }
    #foot .col > .col-content:first-child > strong {
        display: none;
    }
    #foot .col .logo {
        max-height: 100px;
    }
    #foot .col > .col-content:last-child {
        text-align: left;
    }
    #foot .col > .col-content:last-child .divider {
	margin-left: 0;
    }
}
@media (max-width: 520px) {
    #foot a {
        display: inline-block;
        padding: 5px 0;
        margin: 1px 0;
    }
    #foot .col .logo {
        max-width: 60%;
        max-height: auto;
    }
}

#copyright {
    display: block;
    padding: 25px 0;
    font-size: 14px;
    color: rgb(200, 200, 200);
    background-color: rgb(29, 29, 29);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .5);
    z-index: 2;
}
#copyright > .box-inner > .box-inner-content {
    display: flex;
    justify-content: space-between;
}
#copyright a {
    text-decoration: none;
}
#copyright a:hover,
#copyright a:focus {
    text-decoration: underline;
}
@media (max-width: 1380px) {
    #copyright > .box-inner {
        box-sizing: border-box;
    }
}

/*
** CONTENTS
*/
/* see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements#specifying_a_uniform_font_size_for_h1 */
h1 {
  margin-block: 0.67em;
  font-size: 2em;
}
h1.heading {
    font-size: 50px;
}

/** LANDING **/
#landing .parallax-content {
    height: 100%;
}
#landing .note-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 1440px;
    padding: 0 40px;
    margin: 0 auto;
}
#landing .note-wrapper .note {
    display: flex;
    position: relative;
    min-width: 430px;
    width: 33.33%;
    max-width: calc(100vw - 80px);
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
}
#landing .note-wrapper .note > .note-content {
    display: flex;
    position: relative;
    min-height: 60px;
    width: 100%;
    padding: 40px;
}
#landing .note-wrapper .note > .note-content > .note-content-inner {
    padding-top: 40px;
    margin: 0 auto;
    border-top: 5px solid rgb(81, 168, 222);
}
#landing .note-wrapper .note > .note-content > .note-content-inner p {
    display: block;
    margin: 0;
    margin-bottom: 40px;
    font-size: 21px;
    color: rgb(255, 255, 255);
}
#landing .note-wrapper .note > .note-content > .note-content-inner a {
    color: rgb(255, 255, 255);
}
#landing .note-wrapper .note > .note-content > .note-content-inner a:hover,
#landing .note-wrapper .note > .note-content > .note-content-inner a:focus {
    color: rgb(81, 168, 222);
}
#landing .note-wrapper .note > .note-content > .note-content-inner .btn {
    display: block;
    font-size: 18px;
    text-align: center;
    background-color: transparent;
    border-width: 0px 0px 5px 0px;
}
#landing .note-wrapper .note > .note-content > .note-content-inner .btn:hover,
#landing .note-wrapper .note > .note-content > .note-content-inner .btn:focus {
    color: rgb(255, 255, 255);
    background-color: rgb(81, 168, 222);
    border-color: rgb(255, 255, 255);
}
#landing .note-wrapper .note > .note-bottom {
    width: 100%;
    text-align: center;
    padding: 20px 40px 0px 40px;
}
#landing .note-wrapper .note > .note-bottom > .logo {
    width: 80%;
    max-height: 30vh;
}
#landing .note-wrapper .note > .note-bottom > a {
    display: block;
    margin-bottom: 20px;
    font-size: 80px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    animation: action 6s 0s ease infinite;
}
#landing .note-wrapper .note > .note-bottom > a:hover,
#landing .note-wrapper .note > .note-bottom > a:focus {
    color: rgb(81, 168, 222);
}
@keyframes action {
    0% {
        transform: translateY(0%);
    }
    14% {
        transform: translateY(50%);
    }
    16% {
        transform: translateY(35%);
    }
    18% {
        transform: translateY(50%);
    }
    22% {
        transform: translateY(0%);
    }
}
@media (max-width: 1000px) and (orientation: portrait) {
    #landing .note-wrapper {
        width: 100%;
    }
    #landing .note-wrapper .note {
        min-width: auto;
        width: 100%;
    }
}
@media (max-width: 550px) and (orientation: portrait) {
    #landing .note-wrapper {
        padding: 0 20px;
    }
    #landing .note-wrapper .note {
        max-width: calc(100vw - 40px);
    }
    #landing .note-wrapper .note > .note-content {
        flex-direction: column;
    }
    #landing .note-wrapper .note > .note-content > a {
        border-top: 0px;
    }
}
@media (max-height: 550px) and (orientation: landscape) {
    #landing .note-wrapper .note > .note-bottom {
        flex-grow: 1;
        display: flex;
        justify-content: center;
        padding: 20px;
    }
    #landing .note-wrapper .note > .note-bottom > .logo {
        margin-bottom: 20px;
    }
    #landing .note-wrapper .note > .note-bottom > a {
        display: none;
    }
}
@media (max-height: 450px) and (orientation: landscape) {
    #landing .note-wrapper .note > .note-bottom > .logo {
        max-height: 50px;
    }
}
@media (max-height: 400px) and (orientation: landscape) {
    #landing .note-wrapper .note {
        width: 100%;
    }
    #landing .note-wrapper .note > .note-content {
        height: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #landing .note-wrapper .note > .note-content > .note-content-inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    #landing .note-wrapper .note > .note-bottom {
        display: none;
    }
}

/** CONTACT **/
#contact span {
    display: block;
    margin-top: 30px;
    text-align: right;
}
#contact input,
#contact textarea {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    font-size: 18px;
    font-family: proxima-nova, Arial;
    padding: 20px 30px;
    color: rgb(49, 49, 49);
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(81, 168, 222);
}
#contact textarea {
    min-height: 22.5vh;
    margin: 30px 0;
    resize: y-resize;
}

/** DARKMODE **/
@media (prefers-color-scheme: dark) {
    html,
    body {
        color: rgb(242, 242, 242);
        background-color: rgb(29, 29, 29);
    }

    .logo > .a {
        fill: rgb(242, 242, 242);
    }
    .logo > .b {
        fill: rgb(81, 168, 222);
    }
    .logo.light > .a {
        fill: rgb(242, 242, 242);
    }

    button:focus,
    .btn:focus,
    a.btn:focus {
        border: 1px dashed rgb(242, 242, 242);
    }
    button:hover,
    .btn:hover,
    a.btn:hover {
        color: rgb(81, 168, 222);
        background-color: rgb(242, 242, 242);
        border-color: rgb(242, 242, 242);
    }

    /*
    ** B O X
    */
    .box {
        background-color: rgb(29, 29, 29);
    }
    .box.banner {
        background-color: rgb(29, 29, 29);
    }

    /*
    ** S E C T I O N S
    */
    .sections .section {
        background-color: rgb(29, 29, 29);
    }
    .sections .section .section-content {
        background-color: rgb(29, 29, 29);
    }

    /*
    ** N A V
    */
    #nav {
        background-color: rgb(29, 29, 29);
        z-index: 10;
    }
    #nav.nav-fix {
        box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.8);
    }
    #nav > .inner a {
        color: rgb(242, 242, 242);
        border-bottom-color: rgb(29, 29, 29);
    }
    #nav > .inner a:hover,
    #nav > .inner a:focus {
        border-bottom-color: rgb(81, 168, 222) !important;
    }
    #nav > .inner a[target="_blank"]:hover,
    #nav > .inner a[target="_blank"]:focus {
        border-bottom-color: transparent !important;
    }
    #nav > .inner > a {
        border-bottom-color: transparent;
    }

    /*
    ** CONTENTS
    */

    /** LANDING **/
    #landing .note-wrapper .note {
        background-color: rgba(29, 29, 29, .6);
    }
    #landing .note-wrapper .note > .note-bottom > a {
        color: rgb(242, 242, 242);
    }
    #landing .note-wrapper .note > .note-bottom > a:hover,
    #landing .note-wrapper .note > .note-bottom > a:focus {
        color: rgb(81, 168, 222);
    }

    /** CONTACT **/
    #contact input,
    #contact textarea {
        color: rgb(242, 242, 242);
        background-color: rgb(29, 29, 29);
        border: 1px solid rgb(81, 168, 222);
    }
}