:root {
    --bk: black;
    --point: #bd9d16;
    --spfont : 'Fugaz One', cursive;
    --mnfont : 'Oxanium', monospace;
}

* {
    box-sizing: border-box;
    font-family: 'raleway', 'Noto Sans KR', sans-serif;
    font-weight: 400;
}

/* 공통 레이아웃 */
.vh100 {
    height: 100vh;
}
.script {
    font-family: 'Shrikhand', cursive;
}

.white_text {
    color:white;
}

.black_text {
    color:black;
}

.point_text {
    color:var(--point);
}

.gray_background {
    background-color: #eee;
}

.black_background {
    background-color: black;
}

.wrap {
    display: flex;
    width: 100%;
    max-width: 900px;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-wrap-rev {
    flex-wrap: wrap-reverse;
}

h1 {
    font-size: 2.5rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    margin-bottom: 40px;
    margin-top: 40px;
    color: white;
}

h2 {
    font-weight: 300;
    font-size: 1.5rem;
}

h3 {
    font-weight: 300;
    font-size: 1.2rem;
}

h4 {
    font-weight: 700;
    font-size: 1.4rem;
}

p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6rem;
}

.title_box {
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}



.section.first {
    min-height: calc(100vh - 183px);
}

.section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.up_btn {
    width: 45px;
    height: 45px;
    position: fixed;
    z-index: 10;
    bottom: 60px;
    right: 60px;
    background-color: var(--point);
    background-image: url("/img/up_btn.svg");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.up_btn:hover {
    background-color: var(--point);
}

.down_btn {
    width: 70px;
    height: 70px;
    background-color: var(--point);
    position: absolute;
    transform: rotate(180deg);
    -webkit-mask: url('/img/up_btn.svg') no-repeat center;
    mask: url('/img/up_btn.svg') no-repeat center;
    animation: motion 0.8s ease-in 0s infinite alternate;
    bottom: 100px;
}

.h_line {
    width: 100%;
    height: 1px;
    background-color: var(--point);
    display: block;
}

@keyframes motion {
    0% {
        bottom: 100px;
    }

    100% {
        bottom: 70px;
    }
}

.show {
    opacity: 1;
    transition-duration: 0.5s;
    transition-timing-function: ease;

    -webkit-transition-duration: 0.4s;
    -webkit-transition-timing-function: ease;
}

.hide {
    opacity: 0;
    transition-duration: 0.5s;
    transition-timing-function: ease;

    -webkit-transition-duration: 0.4s;
    -webkit-transition-timing-function: ease;
}


.fade {
    -webkit-transform: translateY(50px) rotate(0g);
    transform: translateY(50px) rotate(0);
    -webkit-transition-delay: 1s;
    transition-delay: 1s;
    -webkit-transition: 1s;
    transition: 1s;
    opacity: 0;
}


.inView {
    opacity: 1;
    -webkit-transform: translateY(0px) rotate(0deg) translateZ(0);
    transform: translateY(0px) rotate(0deg) translateZ(0);
}

/* 네비게이션바 */

#nav {
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: -102px;
    transition-duration: 0.5s;
    transition-timing-function: ease;

    -webkit-transition-duration: 0.4s;
    -webkit-transition-timing-function: ease;
}

#nav.on {
    top: 0px;
    transition-duration: 0.5s;
    transition-timing-function: ease;

    -webkit-transition-duration: 0.4s;
    -webkit-transition-timing-function: ease;
}


#nav.active {
    padding-top:0px;
    background-color: rgba(0, 0, 0, 0.5);
    transition-duration: 0.5s;
    transition-timing-function: ease;

    -webkit-transition-duration: 0.4s;
    -webkit-transition-timing-function: ease;
}

.deactive {
    background: none;
    transition-duration: 0.5s;
    transition-timing-function: ease;

    -webkit-transition-duration: 0.4s;
    -webkit-transition-timing-function: ease;
}

#nav_bar {
    margin: auto;
    padding: 1rem 1rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
}

.menu_modal_btn {
    display: none;
}

.modal_menu_background {
    display: none;
}

#top_logo {
    width: 56px;
    height: 56px;
    background-image: url("/img/dr_round_logo_wh.svg");
    background-repeat: no-repeat;
}

.top_logo_modal {
    display:block;
    position: absolute;
    top : 30px;
    left : 30px;
    width: 40px;
    height: 40px;
    background-image: url("/img/dr_round_logo_wh.svg");
    background-repeat: no-repeat;
}

.nav_menu {
    display: flex;
    max-width: 840px;
    flex-grow: 1;
}

ul,
li {
    list-style: none;
    padding-inline-start: 0;
    margin: auto;
}

.nav_menu>li>a {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 90px;
    margin: 10px 0;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: white;
}

.nav_menu>li>a:hover {
    font-weight: 700;
}

.nav_menu>li>div{
    background-color: var(--point);
    width: 40px;
    height: 2px;
    margin: auto;
    display: none;
}

#lang_btn {
    text-align: center;
    font-size: 0.8rem;
    padding: 5px 0;
    width: 70px;
    color: white;
    border: 1px solid white;
    text-decoration: none;
}

#lang_btn:hover {
    background-color: var(--point);
    font-weight: 700;
    color: white;
}
/* Footer */
.footer {
    width: 100%;
    background-color: #111;
    /* position: absolute; */
    /* bottom: 0; */
}

.footer_box {
    display: flex;
    max-width: 1200px;
    padding: 20px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    color:white;
}

.footer_box>p {
    color:white;
    font-family: Roboto,sans-serif ;
    font-weight: 300;
    font-size: 14px;
    text-align: right;
}

.footer > p {
    background-color: black;
    color:var(--point);
    text-align: center;
    margin: 0;
    padding: 20px;
    font-size: 14px;
}

.footer_logo {
    background-image: url("/img/dr_round_logo_wh.svg");
    width: 40px;
    height: 40px;

}
/* index */

.index_lang_btn {
    background-color: rgba(255, 255, 255, 1);
    width: 120px;
    padding: 10px 0 8px 0;
    border: 0;
    color: #222;
    margin: 10px 20px; 
    border-radius: 2px;
    font-family: var(--mnfont);

}

.index_lang_btn:hover {
    background-color: var(--point);
}

.index_logo {
    background-image: url('/img/dr_round_logo_wh.svg');
    display: block;
    max-width:180px;
    height: 180px;
    margin: auto;
    margin-bottom: 50px;
    background-repeat: no-repeat;
    background-position: center; 
}


.index_box >.main_text >h1 {
    font-size: 2.5rem;
}

.index_bg {
    display: flex;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    border: 0;
    z-index: -1;
    background-color:#222;
    justify-content: center;
}

.world_map {
    width: 80%;
}


.index_box {
    width: 100%;
    height: 100vh;
    position: absolute;
    display: flex;
    align-items: center;
    box-shadow: 5px;
    z-index: 1;
    padding: 15px;
}

/* intro */

.intro_logo {
    max-width: 180px;
    height: 180px;
    background-image: url('/img/dr_round_logo_wh.svg');
    background-repeat: no-repeat;
    margin: auto;
}



.intro_video {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    border: 0;
    z-index: -1;
    filter: grayscale(1) brightness(0.7) contrast(1.05);;
    background-color: black;
}


.intro_box {
    width: 100%;
    height: 100vh;
    position: absolute;
    display: flex;
    align-items: center;
    box-shadow: 5px;
    padding: 15px;
}

.main_text {
    margin:auto;
    position: relative;
    color: white;
    text-align: center;
    width: 100%;
}

.main_text>h1 {
    width: 100%;
    font-family: var(--spfont);
    font-size: 3.5rem;
    font-weight: 700;
}

.intro_h_line {
    max-width: 400px;
    height: 1px;
    background-color:var(--point);
    margin: auto;
    margin-bottom: 40px;
}

.main_text>h2 {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1;
    font-family: var(--mnfont);
}


@media (max-width: 740px) {
    #top_logo {
        display: none;
    }
}



@media (max-width: 640px) {

    .intro_logo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .intro_box>.main_text>h2{
        font-size: 0.8rem;
        margin: 5px;
    }

    #nav.active {
        background: none;
    }

    .deactive {
        background: none;
    }


    #nav_bar {
        width: 100%;
        justify-content: flex-end;
    }

    .nav_menu {
        display: none;
    }

    #lang_btn {
        display: none;
    }

    .menu_modal_btn {
        display: block;
        mix-blend-mode: difference;
        border: none;
        width: 25px;
        height: 21px;
        margin-right: 15px;
        background-color:var(--point);
        -webkit-mask: url('/img/menu_btn.svg') no-repeat center;
        mask: url('/img/menu_btn.svg') no-repeat center;

    }

    .menu_modal_btn:hover {
        background-color: var(--point);
    }

    .modal_menu_background {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: black;
        opacity: 0.8;
        z-index: 1000;
    }

    .modal_menu_box {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: calc(100vh - 80px);
    }

    .modal_nav_menu>li {
        margin: 34px ;
        text-align: center;
    }

    .modal_nav_menu>li>a {
        text-decoration: none;
        color: white;
        font-size: 1.2rem;
        font-weight: 300;
    }

    #menu_modal_close_btn {
        display: block;
        background: url("/img/menu_close_btn.svg") no-repeat;
        border: none;
        width: 25px;
        height: 21px;
        margin: 50px 30px auto auto;
    }

    #lang_btn_modal {
        display: inline-block;
        font-size: 0.8rem;
        border: 1px solid white;
        padding: 8px;
        margin-top: 15px;
    }

    .show {
        display: block;
    }

    .up_btn {
        width: 25px;
        height: 25px;
        border-radius: 0px;
        bottom: 20px;
        right: 20px;
    }

    .down_btn {
        width: 40px;
        height: 40px;
        background-color: var(--point);
        position: absolute;
        transform: rotate(180deg);
        -webkit-mask: url('/img/up_btn.svg') no-repeat center;
        mask: url('/img/up_btn.svg') no-repeat center;
        animation: motion 0.8s ease-in 0s infinite alternate;
        bottom: 50px;
    }

    @keyframes motion {
        0% {
            bottom: 40px;
        }
    
        100% {
            bottom: 20px;
        }
    }

    .intro_logo {
        display: block;
    }

    .main_text>h1 {
        font-size: 2rem;
    }

    #title_box>h1 {
        font-size: 2rem;
    }

    .footer_box>p {
        font-size: 10px;
    }

    .footer>p {
        font-size: 10px;
    }

}