@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css');

/* GLOBAL */
@-webkit-keyframes fade {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    53% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    53% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}


body {
    background: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

body::before {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: -1;
  }

.mobile-only {
    display: none;
}

@media (max-width: 500px) {
    .mobile-only {
        display: inherit;
    }
}



/* BASIC TYPOGRAPHY */

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111;
}

a,
a:hover,
a:visited,
a:active {
    color: inherit;
    text-decoration: inherit;
}

h2 {
    font-size: 3em;
    margin-top: 2em;
}

@media (max-width: 720px) {
  h2 {
    font-size: 1.2em;
  }
}


/* COLOR SETS */
.bg_lightblue {
    background: #049adb;
}



/* MENU */

#header {
    z-index: 10;
}

.sticky-wrapper {
    max-height: 100px;
}

.is-sticky, .is-sticky #header {
    width: 100%;
}

.navbar-default {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
    background: #111;
    border: none;
    box-shadow: none;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
    margin-right: 5px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFF;
}

.navbar-default .navbar-nav > li > a {
    font-size: 0.85em;
    font-weight: 800;
    line-height: 30px;
}

.navbar-nav > li > .dropdown-menu {
    border: none;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
    font-size: 0.85em;
    border-radius: 0;
}

.navbar-nav > li > .dropdown-menu > li > a {
    padding: 8px 20px;
    text-transform: uppercase;
}

.navbar-nav > li > .dropdown-menu img {
    height: 15px;
    margin-right: 10px;
}

.navbar-fixed-top .navbar-collapse {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height: 90vh;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #EEE;
}

.fadein img {
    position: absolute;
    -webkit-animation-name: fade;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 6s;
    animation-name: fade;
    animation-iteration-count: infinite;
    animation-duration: 6s;
}

#logo2 {
    opacity: 0;
    animation-delay: 3s;
    -webkit-animation-delay: 3s;
}

#logo4 {
    opacity: 0;
    animation-delay: 3s;
    -webkit-animation-delay: 3s;
}

img.logo_narrow {
    display: none;
}

img.logo_wide {
    height: 28px;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .navbar-brand {
        width: 400px;
        padding-top: 16px;
    }
}

@media (max-width: 991px) {
    .navbar-brand {
        width: 210px;
    }

    

    img.logo_wide {
        display: none;
    }

    img.logo_narrow {
        display: block;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        width: 250px;
        padding-top: 6px;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        background: #333;
    }
}




/* FOOTER */


.footer {
    width: 100%;
    padding: 30px 0 30px;
    text-align: center;
    font-size: 13px;
    margin-top: 50px;
}

.footer #footer_brand {
    width: 90%;
    max-width: 350px;
    height: auto;
}

.footer .footer_logo {
    height: 12px;
}

.footer address {
    margin: 1px;
}

.footer img {
    margin: 1px;
    display: inline-block;
    margin-bottom: 10px;
}

.footer h2 {
    font-size: 17px;
    font-weight: 800;
    margin: 8px;
}

.footer h6 {
    margin-top: 6px;
}

.footer a {
    font-weight: 900;
}

.footer .official_sns {
    margin: 3px 0;
    text-align: center;
}

.footer .official_sns ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .official_sns li {
    display: inline-block;
    width: 50px;
}

.footer .official_sns li img {
    width: 100%;
    padding: 10px;
}

.footer hr {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    border-color: #666;
}

#footer_sponsor {
    width: 200px;
    height: auto;
}

@media (max-width: 500px) {
  .footer {
    font-size: 11px;
  }
  .footer h6 {
    font-size: 10px;
  }
}



/* FUNCTIONS */

#topBtn {
    display: none;
    width: 30px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    border: none;
    background-color: #0067c6;
    color: #FFF;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    opacity: .5;
}



/* 2022 NEW HEADER */

@media (min-width:992px) {

    .sticky-wrapper {
        float: left;
        top:0;
        height: auto !important;
        max-height: inherit;
    }

    .navbar-header {
        float: none;
      }

    div#header {
        width: 300px;
        height: 100%;
      }
      .navbar-default {
        width: 300px;
        height: 100%;
        background: transparent;
      }


      .navbar-default .navbar-brand {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  img.logo_wide {
      display: block;
      height: inherit;
      width: 90%;
      margin:0 auto;
  }
      nav .container {
        width: 100%;
        height: 100%;
      }
      nav .navbar-nav > li {
        width: 100%;
        float: none;
        display: block;
      }


      nav .navbar-right {
        float: none !important;
        width: 100%;
        margin: 0;
        display: block;
      }

      body > .container {
          padding-left:300px;
      }

      .centered {
        max-width: 1500px;
        margin-left: auto;
        margin-right: auto;
      }

      .navbar-default .navbar-nav > li > a {
        font-size: 1.2em;
    }

    .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
        background: transparent;
    }

      .navbar-default .navbar-nav>.active>a:after, .navbar-default .navbar-nav>.active>a:focus:after, .navbar-default .navbar-nav>.active>a:hover:after {
        content:'';
        display:block;
        height:5px;
        width:100%;
        position:absolute;
        top:28px;
        left: -13px;
        z-index:-1;
    }
}