@import "normalize.css";
@import "print.css";

/****
BASE STYLES
****/

html { font-size: 14px; }
html.nav-open { overflow: hidden; }
html.nav-open body { overflow: hidden; }

body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    font-family: soleil, sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #fff;
    margin: 0 auto;
    background: url(../img/bg-m.jpg) no-repeat;
    background-size: cover;
    background-position: top center;
}

h1, h2, h3, h4, h5, h6 {
	font-family: soleil, sans-serif;
	font-weight: 600;
	line-height: 1.1;
	color: #fff;
    margin: 0;
}

a {
	color: #fff;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
a:hover,
a:focus {
    color: #00A8E9;
}

ul, ol { margin: 0; padding: 0; }

figure { margin: 0; }

.tl { text-align: left; }
.tr { text-align: right; }
.tc { text-align: center; }

.skip-content {
	position: absolute;
    top: -1000px;
    left: -1000px;
    height: 1px;
    width: 1px;
    text-align: left;
    overflow: hidden;
}
.skip-content:active,
.skip-content:focus,
.skip-content:hover {
	position: static;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
}

.dn { display: none; }
.db { display: block; }
.dib { display: inline-block; }

.overflow-hidden { overflow: hidden; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.relative { position: relative; }

.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.mw1 { max-width: 1600px; }
.mw2 { max-width: 980px; }
.mw3 { max-width: 680px; }

.ph4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.ph6 { padding-left: 6rem; padding-right: 6rem; }

.center { margin-right: auto; margin-left: auto; }
.mr-auto { margin-right: auto; }
.ml-auto { margin-left: auto; }

.z-0 { z-index: 0; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }
.z-4 { z-index: 4; }
.z-5 { z-index: 5; }
.z-6 { z-index: 6; }
.z-7 { z-index: 7; }
.z-8 { z-index: 8; }
.z-9 { z-index: 9; }
.z-999 { z-index: 999; }
.z-9999 { z-index: 9999; }
.z-max { z-index: 2147483647; }

.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }
.self-stretch { align-self: stretch; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.content-start { align-content: flex-start; }
.content-end { align-content: flex-end; }
.content-center { align-content: center; }
.content-between { align-content: space-between; }
.content-around { align-content: space-around; }
.content-stretch { align-content: stretch; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-4 { order: 4; }
.flex-grow-0 { flex-grow: 0; }
.flex-grow-1 { flex-grow: 1; }

.button {
    color: #000;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255,255,255,0.7);
    padding: 8px 20px;
    display: inline-block;
}
.button:hover {
    background: #00A8E9;
    color: #fff;
}

/****
HEADER
****/

header {
    padding: 1.5rem 0;
}
header .logo {
    line-height: 1;
}

header .main-navigation {
    padding: 0 5rem;
    text-align: right;
}
header .main-navigation li a {
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding: 1rem 0;
}
header .main-navigation li:hover a svg polygon {
    fill: #00A8E9;
}
header .main-navigation li a svg {
    position: relative;
    top: -2px;
    left: 2px;
}
header .main-navigation .sub-menu {
    display: none;
}
header .main-navigation li.open .sub-menu {
    display: block;
    position: relative;
}
header .main-navigation .sub-menu li a {
    font-size: 14px;
    color: #00A8E9;
    display: block;
}
header .main-navigation .sub-menu li a:hover,
header .main-navigation .sub-menu li a:focus {
    color: #fff;
}

header .secondary-navigation {
    padding: 0 5rem;
    text-align: right;  
}
header .secondary-navigation ul {
    padding-top: 2rem;
    margin: 2rem 0;
    border-top: solid 1px rgba(255,255,255,0.2);
}
header .secondary-navigation li a {
    font-size: 14px;
    font-weight: 600;
    padding: 1rem 0;
    display: block;
}

header .social-navigation {
    padding: 0 5rem;
    margin: 3rem 0 2rem;
    text-align: right;
}
header .social-navigation li a {
    margin: 0 0.5rem;
}

header .copyright {
    font-size: 10px;
    padding: 0 5rem;
    margin-bottom: 3rem;
}

.mobile-navigation__toggle {
    width: 21px;
    height: 21px;
    margin-left: auto;
}
.mobile-navigation__toggle:focus {
    background: none;
    outline: none;
}
.mobile-navigation__toggle span,
.mobile-navigation__toggle:before,
.mobile-navigation__toggle:after {
    content: "";
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    right: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.mobile-navigation__toggle:before {
    width: 21px;
    top: 3px;
}
.mobile-navigation__toggle:after {
    width: 7px;
    bottom: 4px;
}
.mobile-navigation__toggle span {
    width: 14px;
    top: 9px;
}
.mobile-navigation__toggle.open span {
    display: none;
}
.mobile-navigation__toggle.open:before {
    width: 21px;
    top: 9px;
    transform: rotate(45deg);
}
.mobile-navigation__toggle.open:after {
    width: 21px;
    bottom: 10px;
    transform: rotate(-45deg);
}

/****
MAIN
****/

main {
    height: 100vh;
}
main .content {
    border-left: solid 3px #00A8E9;
    padding-left: 2rem;
}
main .content h1 {
    font-size: 26px;
    margin: 30px 0;
}
main .content p {
    font-size: 14px;
    margin: 0;
}

/****
FOOTER
****/

footer {
    background: #000;
    font-size: 10px;
    padding: 1rem 0;
}
footer p {
    width: 33%;
    margin: 0;
}
footer .footer-social-navigation {
    width: 33%;
}
footer .footer-social-navigation li {
    margin: 0 8px;
}
footer .logo {
    line-height: 1;
}

/****
MEDIA QUERIES
****/

@media screen and (max-width: 1023px) {

    .mobile-menu {
        background: #000;
        width: 100%;
        height: calc( 100vh - 100px );
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 9;
        padding-top: 100px;
        -webkit-transition: all 0.3s ease;
        transition: left 0.3s ease;
    }
    .mobile-menu.open {
        left: 0;
    }

}
@media screen and (min-width: 768px) {

    .tl-m { text-align: left; }
    .tr-m { text-align: right; }
    .tc-m { text-align: center; }

    .dn-m { display: none; }
    .db-m { display: block; }
    .dib-m { display: inline-block; }

    .absolute-m { position: absolute; }
    .fixed-m { position: fixed; }
    .relative-m { position: relative; }

    .top-0-m { top: 0; }
    .right-0-m { right: 0; }
    .bottom-0-m { bottom: 0; }
    .left-0-m { left: 0; }

    .w-100-m {  width: 100%; }
    .h-100-m { height: 100%; }

    .ph4-m { padding-left: 1.5rem; padding-right: 1.5rem; }
    .ph6-m { padding-left: 6rem; padding-right: 6rem; }

    .center-m { margin-right: auto; margin-left: auto; }
    .mr-auto-m { margin-right: auto; }
    .ml-auto-m { margin-left: auto; }

    .flex-m { display: flex; }
    .flex-column-m { flex-direction: column; }
    .flex-row-m { flex-direction: row; }
    .flex-wrap-m { flex-wrap: wrap; }
    .items-start-m { align-items: flex-start; }
    .items-end-m { align-items: flex-end; }
    .items-center-m { align-items: center; }
    .items-stretch-m { align-items: stretch; }
    .self-start-m { align-self: flex-start; }
    .self-end-m { align-self: flex-end; }
    .self-center-m { align-self: center; }
    .self-stretch-m { align-self: stretch; }
    .justify-start-m { justify-content: flex-start; }
    .justify-end-m { justify-content: flex-end; }
    .justify-center-m { justify-content: center; }
    .justify-between-m { justify-content: space-between; }
    .justify-around-m { justify-content: space-around; }
    .content-start-m { align-content: flex-start; }
    .content-end-m { align-content: flex-end; }
    .content-center-m { align-content: center; }
    .content-between-m { align-content: space-between; }
    .content-around-m { align-content: space-around; }
    .content-stretch-m { align-content: stretch; }
    .order-1-m { order: 1; }
    .order-2-m { order: 2; }
    .order-3-m { order: 3; }
    .order-4-m { order: 4; }
    .flex-grow-0-m { flex-grow: 0; }
    .flex-grow-1-m { flex-grow: 1; }

    html { font-size: 16px; }

    body {
        background: url(../img/bg.jpg) no-repeat;
        background-size: cover;
        background-position: top center;
    }

    /****
    MAIN
    ****/
    
    main .content {
        max-width: 400px;
    }

}
@media screen and (min-width: 1024px) {

    .tl-l { text-align: left; }
    .tr-l { text-align: right; }
    .tc-l { text-align: center; }

    .dn-l { display: none; }
    .db-l { display: block; }
    .dib-l { display: inline-block; }

    .absolute-l { position: absolute; }
    .fixed-l { position: fixed; }
    .relative-l { position: relative; }

    .top-0-l { top: 0; }
    .right-0-l { right: 0; }
    .bottom-0-l { bottom: 0; }
    .left-0-l { left: 0; }

    .w-100-l { width: 100%; }
    .h-100-l { height: 100%; }

    .ph4-l { padding-left: 1.5rem; padding-right: 1.5rem; }
    .ph6-l { padding-left: 6rem; padding-right: 6rem; }

    .center-l { margin-right: auto; margin-left: auto; }
    .mr-auto-l { margin-right: auto; }
    .ml-auto-l { margin-left: auto; }

    .flex-l { display: flex; }
    .flex-column-l { flex-direction: column; }
    .flex-row-l { flex-direction: row; }
    .flex-wrap-l { flex-wrap: wrap; }
    .items-start-l { align-items: flex-start; }
    .items-end-l { align-items: flex-end; }
    .items-center-l { align-items: center; }
    .items-stretch-l { align-items: stretch; }
    .self-start-l { align-self: flex-start; }
    .self-end-l { align-self: flex-end; }
    .self-center-l { align-self: center; }
    .self-stretch-l { align-self: stretch; }
    .justify-start-l { justify-content: flex-start; }
    .justify-end-l { justify-content: flex-end; }
    .justify-center-l { justify-content: center; }
    .justify-between-l { justify-content: space-between; }
    .justify-around-l { justify-content: space-around; }
    .content-start-l { align-content: flex-start; }
    .content-end-l { align-content: flex-end; }
    .content-center-l { align-content: center; }
    .content-between-l { align-content: space-between; }
    .content-around-l { align-content: space-around; }
    .content-stretch-l { align-content: stretch; }

    /****
    HEADER
    ****/

    header {
        padding: 2rem 0;
    }
    header .mobile-menu {
        display: flex;
    }

    header .main-navigation {
        margin-left: 2rem;
        padding: 0;
        text-align: left;
    }
    header .main-navigation li {
        padding: 0 1rem;
    }
    header .main-navigation li a {
        font-size: 14px;
        padding: 0 0 5px;
        border-bottom: solid 3px transparent;
    }
    header .main-navigation li:hover a {
        color: #fff;
        border-bottom: solid 3px #00A8E9;
    }
    header .main-navigation .sub-menu {
        display: block;
        visibility: hidden;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        background: #000;
        padding: 1.5rem;
        top: 26px;
        z-index: -1;
    }
    header .main-navigation .sub-menu li a {
        color: #fff;
        font-size: 12px;
        border-bottom: none!important;
        padding: 7px 0!important;
    }
    header .main-navigation li.open .sub-menu {
        position: absolute;
    }
    header .main-navigation .sub-menu li a:hover,
    header .main-navigation .sub-menu li a:focus {
        color: #00A8E9;
    }
    header .main-navigation li:hover .sub-menu,
    header .main-navigation .sub-menu.open {
        visibility: visible;
        transform: scaleY(1);
    }

    header .secondary-navigation {
        margin-left: auto;
        padding: 0;
        text-align: left;
    }
    header .secondary-navigation ul {
        padding: 0;
        margin: 0;
        border: none;
    }
    header .secondary-navigation li {
        margin: 0 0.5rem;
    }
    header .secondary-navigation li a {
        font-size: 12px;
        padding: 0 0 5px;
        border-bottom: solid 2px transparent;
    }
    header .secondary-navigation li:hover a {
        color: #fff;
        border-bottom: solid 2px #fff;
    }

    header .social-navigation {
        padding: 0;
        text-align: left;
    }

    /****
    MAIN
    ****/

    main .content h1 {
        font-size: 22px;
    }
    main .content p {
        font-size: 12px;
    }

}
@media screen and (min-width: 1440px) {

    /****
    MAIN
    ****/

    main .content h1 {
        font-size: 26px;
    }
    main .content p {
        font-size: 14px;
    }

}