/*
cubic-bezier(0,.5,.56,1.01)
cubic-bezier(.36,.81,.31,1)
*/
@import url("/fonts/barlow/barlow.css");
@import url("/fonts/barlow_condensed/barlow_condensed.css");

* {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Condensed', 'Barlow', 'Raleway', 'Josefin Sans', 'Helvetica', 'Verdana', sans-serif;
    font-weight: 200;
    color: #fff;
}

html, body {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: #111;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

main {
    width: 100%;
    min-height: 100vh;
    margin-bottom: -60px;
}

.underlined_link {
    position: relative;
    line-height: 1em;
}

.underlined_link::after {
    content: "";
    width: 100%;
    background-color: #fff;
    height: 3px;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    bottom: -3px;
    z-index: -1;
    -webkit-transition: all .2s cubic-bezier(0,.5,.56,1.01);
    -o-transition: all .2s cubic-bezier(0,.5,.56,1.01);
    transition: all .2s cubic-bezier(0,.5,.56,1.01);
}

.underlined_link:hover::after {
    background-color: #444;
    height: .5em;
    bottom: 0;
    width: 110%;
    width: -webkit-calc(100% + .5em);
    width: calc(100% + .5em);
}

.mainHeading {
    font-size: 96px;
    text-transform: uppercase;
    margin-top: 2em;
    margin-left: 15vw;
    position: relative;
    display: inline-block;
    line-height: 1em;
}

.mainHeading::before {
    content: "";
    position: absolute;
    background-color: #444;
    height: 3px;
    width: 100vw;
    top: 50%;
    top: -webkit-calc(50% + .033em);
    top: calc(50% + .033em);
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    z-index: -1;
}

.mainHeading::after {
    content: "";
    position: absolute;
    background-color: #111;
    height: 100%;
    width: 120%;
    width: -webkit-calc(100% + .5em);
    width: calc(100% + .5em);
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    z-index: -1;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

::-moz-selection {
    background-color: rgba(255, 255, 255, 0.99);
    color: #111;
}

::selection {
    background-color: rgba(255, 255, 255, 0.99);
    color: #111;
}

header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    -webkit-transition: -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
    -o-transition: transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: transform .2s cubic-bezier(0,.5,.56,1.01), -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
}

header > div {
    width: 90%;
    margin: auto;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

header nav {
    height: 100%;
}

header div img {
    height: 40px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

header ul {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

header li {
    display: inline;
    white-space: nowrap;
    font-size: 24px;
    margin-right: 2em;
    font-weight: 300;
    position: relative;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

header li:last-of-type {
    margin-right: 0;
}

header li::after {
    content: "";
    position: absolute;
    background-color: #fff;
    width: 33%;
    height: 2px;
    bottom: -.6em;
    left: 50%;
    -webkit-transform: translateX(-50%) scaleX(0);
        -ms-transform: translateX(-50%) scaleX(0);
            transform: translateX(-50%) scaleX(0);
    -webkit-transition: -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
    -o-transition: transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: transform .2s cubic-bezier(0,.5,.56,1.01), -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
}

header li:hover::after {
    -webkit-transform: translateX(-50%) scaleX(1);
        -ms-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
}

.current::after {
    -webkit-transform: translateX(-50%) scaleX(1);
        -ms-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
}

iframe {
    border: 0px;
    background-color: transparent;
}

footer {
    height: 60px;
    width: 100%;
    z-index: 98;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

footer > div {
    width: 90%;
    margin: auto;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

footer ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

footer li {
    font-size: 21px;
    margin-right: 1em;
    z-index: 97;
}

footer nav li {
    margin-right: 2em;
    position: relative;
}

footer nav li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translate(-50%) scaleY(0);
        -ms-transform: translate(-50%) scaleY(0);
            transform: translate(-50%) scaleY(0);
    height: 40%;
    width: 100%;
    width: -webkit-calc(100% + 1em);
    width: calc(100% + 1em);
    z-index: -1;
    background-color: #444;
    -webkit-transition: -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
    -o-transition: transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: transform .2s cubic-bezier(0,.5,.56,1.01);
    transition: transform .2s cubic-bezier(0,.5,.56,1.01), -webkit-transform .2s cubic-bezier(0,.5,.56,1.01);
    -webkit-transform-origin: 50% 100%;
        -ms-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    pointer-events: none;
}

footer nav li:hover::after {
    -webkit-transform: translate(-50%) scaleY(1);
        -ms-transform: translate(-50%) scaleY(1);
            transform: translate(-50%) scaleY(1);
}

footer a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

footer img {
    height: 16px;
}

footer > div > ul li:last-of-type {
    margin-right: 0;
}

#menuBtn {
    position: fixed;
    z-index: 100;
    width: 40px;
    height: 30px;
    top: 30px;
    left: 30px;
    cursor: pointer;
    display: none;
}

#menuBtn span {
    background-color: #fff;
    width: 90%;
    height: 3px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    -webkit-transition: all .2s cubic-bezier(0,.5,.56,1.01);
    -o-transition: all .2s cubic-bezier(0,.5,.56,1.01);
    transition: all .2s cubic-bezier(0,.5,.56,1.01);
}

#menuBtn span:first-of-type {
    top: 10%;
}

#menuBtn span:last-of-type {
    top: 90%;
}

#menuBtn.open span:first-of-type {
    top: 50%;
    -webkit-transform: translate(-50%,-50%) rotate(45deg);
        -ms-transform: translate(-50%,-50%) rotate(45deg);
            transform: translate(-50%,-50%) rotate(45deg);
}

#menuBtn.open span:nth-of-type(2) {
    opacity: 0;
}

#menuBtn.open span:last-of-type {
    top: 50%;
    -webkit-transform: translate(-50%,-50%) rotate(-45deg);
        -ms-transform: translate(-50%,-50%) rotate(-45deg);
            transform: translate(-50%,-50%) rotate(-45deg);
}

#lang_switch {
    height: 35px;
    width: 35px;
    position: absolute;
    top: 30px;
    right: 30px;
    display: none;
    cursor: pointer;
}

#lang_switch img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
}

@media only screen and (max-width: 850px) {
    .mainHeading {
        font-size: 12vw;
        text-transform: uppercase;
        margin-top: 2em;
        margin-left: 0;
        position: relative;
        display: block;
        line-height: 1em;
        text-align: center;
    }

    .mainHeading::before {
        content: "";
        position: absolute;
        background-color: #444;
        height: 3px;
        width: .75em;
        top: 150%;
        left: 50%;
        -webkit-transform: translate(-50%,-50%);
            -ms-transform: translate(-50%,-50%);
                transform: translate(-50%,-50%);
        z-index: -1;
    }

    .mainHeading::after {
        content: none;
    }

    #menuBtn, #lang_switch {
        display: block;
    }

    header {
        height: 100vh;
        top: -100%;
        background-color: rgba(17, 17, 17, 0.9);
        -webkit-transition: all .3s cubic-bezier(0,.5,.56,1.01);
        -o-transition: all .3s cubic-bezier(0,.5,.56,1.01);
        transition: all .3s cubic-bezier(0,.5,.56,1.01);
        overflow: hidden;
    }

    header.open {
        top: 0;
    }

    header > div {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
    }

    header nav {
        height: auto;
    }

    header ul {
        transform: none;
        position: static;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
    }

    header div img {
        height: 70px;
    }

    header li {
        font-size: 36px;
        margin-right: 0;
        margin-top: 1em;
        display: block;
        -webkit-transition: all .2s cubic-bezier(0,.5,.56,1.01);
        -o-transition: all .2s cubic-bezier(0,.5,.56,1.01);
        transition: all .2s cubic-bezier(0,.5,.56,1.01);
    }

    header li:hover {
        letter-spacing: .2em;
        margin-right: -.2em;
        opacity: .5;
    }

    header li::after {
        content: none;
    }

    main {
        margin-bottom: 0;
    }

    footer {
        height: auto;
    }

    footer nav li:last-of-type {
        display: none;
    }

    footer li, footer nav li {
        margin: 0;
    }

    footer > div {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        width: 40%;
    }

    footer img {
        height: 36px;
    }

    footer > div ul, footer > div > nav {
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }

    footer ul {
        margin-bottom: 30px;
    }

    footer nav ul {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 650px) {
    footer > div {
        width: 50%;
    }
}

@media only screen and (max-width: 850px) and (max-height: 550px) {
    footer li {
        font-size: 14px;
    }

    footer img {
        height: 26px;
    }

    footer ul {
        margin-bottom: 20px;
    }

    footer nav ul {
        margin-top: 20px;
    }

    header div img {
        height: 50px;
    }

    header li {
        font-size: 24px;
    }
}

@media only screen and (max-width: 550px) {
    footer > div {
        width: 60%;
    }
}

@media only screen and (max-width: 450px) {
    footer > div {
        width: 70%;
    }

    #menuBtn {
        top: 20px;
        left: 20px;
        width: 30px;
        height: 22.5px;
    }

    #lang_switch {
        height: 22.5px;
        width: 22.5px;
        top: 20px;
        right: 20px;
    }
}

@media only screen and (max-width: 370px) {
    footer li {
        font-size: 16px;
    }

    footer img {
        height: 28px;
    }

    footer ul {
        margin-bottom: 25px;
    }

    footer nav ul {
        margin-top: 25px;
    }

    header div img {
        height: 50px;
    }

    header li {
        font-size: 24px;
    }
}

@media only screen and (max-width: 300px) {
    footer > div {
        width: 80%;
    }
}

@media only screen and (max-width: 250px) {
    footer li {
        font-size: 14px;
    }

    footer img {
        height: 26px;
    }

    footer ul {
        margin-bottom: 20px;
    }

    footer nav ul {
        margin-top: 20px;
    }

    header div img {
        height: 40px;
    }

    header li {
        font-size: 21px;
    }
}

@media only screen and (max-height: 300px) {
    header div img {
        height: 30px;
    }

    header li {
        font-size: 18px;
    }
}

.custom-select {
  position: relative;
  font-family: Arial;
  width: 40%;
  margin: 4em auto 3em auto;
  font-size: 21px;
}

.custom-select select {
  display: none;
}

.select-selected {
  background-color: #111;
  border-bottom: 2px white solid;
  white-space: nowrap;
}

.select-selected:hover {
    background: rgba(255,255,255,0.1);
}

.select-selected::after {
    position: absolute;
    content: "";
    bottom: 15px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  bottom: 23px;
}

.select-items div,.select-selected {
  color: #ffffff;
  padding: 12px 16px;
  cursor: pointer;
}

.select-items {
  position: absolute;
  background-color: transparent;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
    background-color: #111;
}

.select-items div {
    border-top: 2px #444 solid;
}

.select-items div:first-of-type {
    border: none;
}

.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(255, 255, 255, 0.1);
}

@-webkit-keyframes load_anim {
    0% {-webkit-transform: scale(1);transform: scale(1);opacity:.33;}
    50% {-webkit-transform: scale(1.3);transform: scale(1.3);opacity:1;}
    100% {-webkit-transform: scale(1);transform: scale(1);opacity:.33;}
}

@keyframes load_anim {
    0% {-webkit-transform: scale(1);transform: scale(1);opacity:.33;}
    50% {-webkit-transform: scale(1.3);transform: scale(1.3);opacity:1;}
    100% {-webkit-transform: scale(1);transform: scale(1);opacity:.33;}
}

.loading {
    margin: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 50px;
    opacity: 0;
    -webkit-transition: opacity .2s cubic-bezier(0,.5,.56,1.01);
    -o-transition: opacity .2s cubic-bezier(0,.5,.56,1.01);
    transition: opacity .2s cubic-bezier(0,.5,.56,1.01);
    pointer-events: none;
}

.loading.show {
    opacity: 1;
}

.loading > span {
    opacity:.33;
    width: 10px;
    height: 10px;
    -webkit-border-radius: 50%;
            border-radius: 50%;
    background-color: #fff;
    display: block;
    -webkit-animation: load_anim .9s infinite;
            animation: load_anim .9s infinite;
}

.loading > span:nth-of-type(2) {
    -webkit-animation-delay: .3s;
            animation-delay: .3s;
}

.loading > span:last-of-type {
    -webkit-animation-delay: .6s;
            animation-delay: .6s;
}
