@import url('https://fonts.googleapis.com/css2?family=Fredoka&family=Noto+Sans+KR:wght@100..900&display=swap');

.clear::after{display: block; clear: both; content: '';}
:root{--pink: #0D328E;}

*{margin: 0; padding: 0; box-sizing: border-box; font-family: 'Noto Sans KR', sans-selif; outline: none; border: none; text-decoration: none; text-transform: capitalize; transition: .2s linear;}

html{font-size: 62.5%; scroll-behavior: smooth; scroll-padding-top: 6rem; overflow-x: hidden;}
section{padding: 2rem 9%;}
.btn{display: inline-block; margin-top: 1rem; border-radius: 5rem; background: #333; color: #fff; padding: .9rem 3.5rem; cursor: pointer; font-size: 1.7rem;}
.btn:hover{background: var(--pink);}
header{position: fixed; top: 0; left: 0; right: 0; background: #fff; padding: 2rem 9%; display: flex; align-items: center; justify-content: space-between; z-index: 1000; box-shadow: 0 .5rem 1rem rgb(0,0,0,.1);}

/* header */
header .logo{font-size: 2rem;}
header .logo img{height: 9rem;}
header .navbar a{font-size: 2.5rem; font-weight: 600; padding: 0 3rem; color: #000;}
header .navbar a:hover{color:var(--pink);}

header .icons a{font-size: 2.5rem; color: #333; margin-left: 1.5rem;}
header .icons a:hover{color:var(--pink);}

.language-switch {position: absolute; top: 10px; right: 15px; display: flex; align-items: center; gap: 8px;}
.lang-icon{font-size: 18px;}
.lang-toggle {background: none; border: none; cursor: pointer; display: none; width: 0; height: 0;}
.lang-menu {display: flex; gap: 6px;}
.lang-btn {background: white; padding: 4px 10px; font-size: 14px; cursor: pointer;}

header #toggler{display: none;}
header .fa-bars{font-size: 2.3rem; color: #333; border-radius: .5rem; padding: .5rem 1.5rem; cursor: pointer; display: none;}

/* footer */
footer{background: #292929; padding: 60px 0;}
.ft-wrap{display: flex; justify-content: space-between; flex-direction: row-reverse; width: 100%; max-width: 1170px; margin: 0 auto;}
.ft-wrap .img{padding-top: 20px;}
.ft-wrap .img img{vertical-align: middle; font-size: 1em; width: 450px; padding-left: 150px;}
.ft-info .name{padding-bottom: 15px; color: #fff; font-size: 16px; font-weight: 600;}
.ft-info .city{padding-bottom: 15px;}
.ft-info .city span{color: #fff; font-size: 16px; display: inline-block; font-weight: 500;}
.ft-info .span_box span{display: inline-block; padding-right: 20px; font-size: 16px; color: #fff; font-weight: 500; padding-bottom: 15px; text-transform: none;}
.ft-info .copy{font-size: 16px; color: #fff; font-weight: 500;}

#top_btn{position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; line-height: 46px; border: 1px solid #999999; color: #777777; text-align: center; font-size: 15px; z-index: 90; background: rgba(255, 255, 255, 0.5); cursor: pointer;}
#top_btn:hover{border-color: #3059c7; background: #3059c7; color: #fff;}
.pageup{display: inline-block !important; position: absolute; top: 0; left: 0; width: 0; height: 0; margin: 0 !important; padding: 0 !important; font-size: 0; line-height: 0; border: 0 !important; overflow: hidden !important;}

@media (max-width:768px) {
    body{overflow-x: hidden; width: 100%;}
    
    header .fa-bars{display: block;}
    header .navbar{position: absolute; top: 100%; left: 0; right: 0; background: #eee; border-top: .1rem solid rgba(0,0,0,.1);  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);}
    header #toggler:checked ~ .navbar{clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);}
    header .navbar a{padding: 1.5rem; background: #fff; display: block; text-align: center;}
    header .logo img{height: 6rem; padding-right: 30px;}

    .lang-menu {display: none; flex-direction: column; background: #fff; position: absolute; top: 40px; right: 0; border: 1px solid #ccc; border-radius: 6px; padding: 8px; z-index: 100;}
    .language-switch.open .lang-menu {display: flex;}
    .language-switch .lang-btn {font-size: 14px;}
    .language-switch .lang-icon {cursor: pointer;}
    .language-switch .lang-toggle {display: inline-block; background: none; border: none; width: 0; height: 0;}
      
    footer{padding: 20px 0;}
    .ft-wrap{flex-direction: column; padding-left: 20px;}
    .ft-wrap .img{padding-top: unset;}
    .ft-wrap .img img{width: 123px; padding-left: unset;}
    .ft-info .name{padding-bottom: 25px; font-size: 15px;}
    .ft-info .span_box span{font-size: 12px; padding-bottom: 4px;}
    .ft-info .copy{font-size: 15px; padding: 18px 0;}
}