html {
    width: 100%;
    overflow: hidden;
}

html, body {
    position: relative;
    height: 100%;
    min-height: 100%;
    font-size: 0;
    font-family: Roboto,'Microsoft Jhenghei','Helvetica Neue',Helvetica,Arial,sans-serif;
    background-color: #141d50;
    padding: 0;
    margin: 0;
    transform-origin: center;
    transform: scale3d(1);
}

.main-container {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.lg .main-container::-webkit-scrollbar {
    width: 10px;
}
.lg .main-container::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.5);
}
.lg .main-container::-webkit-scrollbar-thumb {
    background-color: #53dbbc;
}

header {
    display: block;
    position: fixed;
    width: calc(100% - 10px);
    top: 0;
    left: 0;
    height: 100px;
    background-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    overflow: hidden;
    z-index: 10;
    transition: background-color .1s, top 0.4s;
}
header.with-bg {
    background-color: rgba(0, 0, 0, 0.9);
}
header > .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    box-sizing: border-box;
    padding: 0 40px;
    margin: auto;
}
header .logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
}
header .logo-container > img:nth-child(1) {
    height: 47px;
    margin-right: 7px;
}
header .logo-container > img:nth-child(2) {
    height: 21px;
}
header #nav-trigger {
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
    right: 16px;
}
header #nav-trigger > span {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.4s;
    transform-origin: center;
    transform: rotate(0deg);
}
header #nav-trigger > span:nth-child(1) {
    left: 4px;
    top: 6px;
}
header #nav-trigger > span:nth-child(2) {
    left: 4px;
    top: 13px;
}
header #nav-trigger > span:nth-child(3) {
    left: 4px;
    top: 20px;
}
header #nav-trigger.active > span:nth-child(1) {
    left: 4px;
    top: 13px;
    transform: rotate(225deg);
}
header #nav-trigger.active > span:nth-child(2) {
    left: 4px;
    top: 13px;
    transform: rotate(135deg);
}
header #nav-trigger.active > span:nth-child(3) {
    left: 4px;
    top: 13px;
    transform: rotate(-135deg);
}
header nav {
    height: 40px;
    line-height: 40px;
}
header nav > a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    margin: 0 20px;
}

header.invisible {
    top: -100px;
}

.front-container {
    display: block;
    position: absolute;
    width: 100%;
    z-index: 5;
}
.front-container > section {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: auto;
}
.front-container > section > .section-title {
    width: 100%;
    color: #67c4ff;
    font-size: 44px;
    line-height: 85px;
    text-align: center;
}

.bg-container {
    display: block;
    position: absolute;
    width: 100%;
    z-index: 3;
}
.bg-container > section {
    position: relative;
}

.lg header {
    white-space: nowrap;
}
.lg header nav > a {
    transition: 0.2s ease-out;
    text-shadow: 0 0 15px rgba(83, 219, 187, 0);
}
.lg header nav > a:hover {
    font-size: 22px;
    transform: scale(1.06);
    text-shadow: 0 0 15px rgba(83, 219, 187, 0.5);
}

.md header #nav-trigger, .sm header #nav-trigger {
    display: block;
    z-index: 1;
}
.md header nav, .sm header nav {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 40px;
    background-color:rgba(0, 0, 0, 0.5);
    overflow: hidden;
    box-sizing: border-box;
    padding: 20px;
    padding-top: 40px;
    transition: 0.2s;
}
.md header nav.active, .sm header nav.active {
    right: 0;
}
.md header nav > a, .sm header nav > a {
    display: block;
    text-align: right;
    margin: 0;
}

.md header {
    width: 100%
}
.md header nav {
    padding-top: 80px;
}
.md header nav > a {
    padding-right: 40px;
}

.sm .front-container > section > .section-title {
    font-size: 28px;
    line-height: 60px;
}

.sm header {
    height: 45px;
    width: 100%
}
.sm header > .container {
    padding: 0;
    padding-left: 10px;
}
.sm header .logo-container > img:nth-child(1) {
    height: 26px;
    margin-right: 4px;
}
.sm header .logo-container > img:nth-child(2) {
    height: 16px;
}

.sm header.invisible {
    top: -45px;
}