@font-face { font-family: "Kakaosmall"; src: url("./font/KakaoSmallOTF.otf") format("opentype"); }
@font-face { font-family: "Kakaosmalllight"; src: url("./font/KakaoSmallOTFLight.otf") format("opentype"); }
@font-face { font-family: "Kakaosmallbold"; src: url("./font/KakaoSmall\ OTF\ Bold.otf") format("opentype"); }

* {
    outline: 0;
    margin: 0;
    padding: 0;
}

html {
    width: 100vw;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    background-color: #141312;
    background-color: rgba(20, 19, 18, 1);
    font-family: "Kakaosmalllight";
    color: white;
    text-align: center;
    overflow-x: hidden;
    word-break: keep-all;
    word-wrap: break-word;
}

canvas {
    width: 100%;
}


/*** Header ***/
.header-base {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #141312;
    background-color: rgba(20, 19, 18, 1);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.header {
    display: flex;
}

.header-mobile {
    display: none;
}

.header-content {
    width: 30vw;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content-m {
    display: flex;
    align-items:center;
    justify-content:center;
    margin-right: 1rem;
}

.header-menu-mobile {
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-around;
    z-index: 100;
}

.header-menu-mobile-bar {
    width: 30px;
    height:2px;
    background-color: white;
    margin-bottom: 6px;
    margin-right: 2rem;
    border-radius: 2px;
}

#menu-mobile {
    position: fixed;
    top: 80px;
    width: 100%;
    background-color: #141312;
    background-color: rgba(20, 19, 18, 1);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

@media only screen and (max-width: 768px) {
    .header {
        display: none;
    }
    .header-mobile {
        display: flex;
    }
}


/*** Pages ***/
.page {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-long {
    display: flex;
    flex-direction: column;
    height: 120vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
}

#About01 {
    background-image:url("./img/Page2BG.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#About02 {
    background-image:url("./img/Page3BG.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#About03 {
    background-image:url("./img/Page4BG.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#Klaytn {
    background-image:url("./img/klaytn-logo-white.png");
    background-position-x: -111px;
    background-position-y: 162px;
    background-repeat: no-repeat;
}

#Careers {
    background-image:url("./img/PageCareersBG.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#footer {
    width: 100vw;
    height: 110px;
    box-shadow: 0 1px 0 #4B4B4B inset;
    background-color: #1D1D1D;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

@media only screen and (max-width: 768px) {
    #footer {
        height: 160px;
    }
}

/*** Page Content ***/
.content-desc {
    width: 45%;
    font-family:"Kakaosmalllight";
}

.klaytn-desc {
    width: 35%;
    color: #969696;
    font-family:"Kakaosmalllight";
}

.klaytn-learnmore {
    color: #4D69E4;
}

.klaytn-learnmore:hover {
    font-family: "Kakaosmallbold";
}

.locations {
    width: 40%;
    margin: 5%;
}

.location-descriptions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.location-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.location-desc .loc-num {
    width: 20px;
    margin-bottom: 1rem;
}

.location-desc .loc-txt {
    width: 150px;
}

.location-desc .loc-txt2 {
    width: 150px;
    text-align: left;
}

.location-desc .loc-txt2 p {
    margin: 0;
}

.location-desc .loc-txt2 .title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
}

.location-desc .loc-txt2 .sub {
    font-size: 11px;
}

#vid-pc {
    display: block;
}

.button-group {
    display: flex;
    flex-direction: row;
    margin-top: 2rem;
}

#vid-mobile {
    display: none;
}

.footer-content {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5%;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media only screen and (max-width: 768px) {
    .page-long {
        height: auto;
    }
    .content-desc {
        width: 80%;
    }
    .klaytn-desc {
        width: 80%;
    }
    .locations {
        height: auto;
        width: 80%;
    }
    .location-descriptions {
        flex-direction: column;
        align-items: flex-start;
    }
    .location-desc {
        margin:2rem;
    }
    #vid-pc {
        display: none;
    }
    #vid-mobile {
        display: block;
    }
    .button-group{
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-end;
        width: 90%;
    }
}


/*** Buttons & Icons ***/
.button-main {
    background-color:white;
    color: #4D69E4;
    width: 240px;
    height: 40px;
    display:flex;
    align-items: center;
    justify-content:center;
    border-radius: 10px;
    font-size: 12px;
    margin: 1rem;
}

.button-main:hover {
    background-color:#4D69E4;
    color: white;
}

.button-main:active {
    background-color:#2E4AC6;
    color: white;
}

.icon-white {
    margin-left: 8px;
    display: none;
}

.icon-blue {
    margin-left: 8px;
    display: block;
}

.button-main:hover .icon-white, .button-main:active .icon-white {
    display: block;
}

.button-main:hover .icon-blue, .button-main:active .icon-blue {
    display: none;
}

.kr {
    display: none;
}

.en {
    display: block;
}

.lang-button {
    font-size: 14px;
    margin:0.1rem;
    cursor: pointer;
}


/*** Text ***/
.mini-heading {
    font-size: 18px;
    margin: 2rem;
    font-family: "Kakaosmallbold";
    color: #969696;
}

.heading-med {
    margin: 0.2rem;
    font-size: 52px;
}

.heading-big {
    font-size: 60px;
}

.plain-text {
    font-size: 14px;
}

.plain-text-big {
    font-size: 18px;
}

.bold {
    font-family: "Kakaosmallbold";
}

h2, h4, p, li{
    margin: 1rem;
}

h2 {
    font-size: 14px;
}

h5 {
    font-size: 14px;
    margin:0.1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.paragraph {
    margin-top: 1.5rem;
    line-height: 1.6;
}

.br-mobileonly {
    display: none;
}

@media only screen and (max-width: 768px) {
    .plain-text {
        font-size: 12px;
    }
    .plain-text-big {
        font-size: 16px;
    }
    .heading-med {
        font-size: 30px;
    }
    .heading-big {
        font-size: 36px;
    }
    .br-mobileonly {
        display: block;
    }
}


/*** Animated Arrow ***/
#arrow-down {
    position: absolute;
    width: 36px;
    left: calc(50vw - 18px);
    top: 90vh;
    z-index:99;
    cursor:pointer;
    -webkit-animation:floating-anim 2s infinite;
    animation: floating-anim 2s infinite;
}

@-webkit-keyframes floating-anim{
    0%{opacity:0;}
    50%{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);-ms-transform:translateY(-8px);transform:translateY(-8px);opacity:1;}
    100%{opacity:0;}
}
@keyframes floating-anim{
    0%{opacity:0;}
    50%{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);-ms-transform:translateY(-8px);transform:translateY(-8px);opacity:1;}
    100%{opacity:0;}
}

.menu.active {
    font-family: 'Kakaosmallbold';
}
