
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

/*  General CSS  */
html, body {
    background: #fff;
    font-family: 'Open Sans', "NanumSquare", "Noto Sans KR";
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

.wrapper {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}

a {
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #444;
    letter-spacing: 1px;
    font-weight: bolder
}

h1 {
    font-size: 2em;
    margin: .67em 0;
    font-weight: 300;
}

h2 {
    font-size: 1.5em;
    margin: .75em 0
}

h3 {
    font-size: 1.17em;
    margin: .83em 0
}

h5 {
    font-size: .83em;
    margin: 1.5em 0
}

h6 {
    font-size: .75em;
    margin: 1.67em 0
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/*  Header Section  */

header {
    top: 0;
    position: fixed;
    z-index: 900;
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

header.headerShrink {
    height: 75px;
    background: rgba(0, 0, 0, 0.9);
    /* background: rgba(255, 255, 255, 0.99); */
}
header.headerShrink .sns-buttons {
    height: 75px;
    flex-direction: row;
    align-items: center;
}

.m-sns-buttons {
    display: none
}

header img.logo {
    height: 50px;
    margin-top: 25px;
    float: left;
    transition: 0.3s ease;
}
header .sns-buttons {
    margin-right: 30px;
    transition: 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    float: right;
    color: white;
}
header .sns-buttons>div {
    display: flex;
    align-items: center;
}
header .sns-buttons img {
    width: 24px;
    padding: 0 8px;
    margin: 4px;
}
header .button {
    float: right;
    flex: 1 1 auto;
    margin: 24px 0;
    padding: 15px 20px;
    border: 2px solid #f7f7f7;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    overflow:hidden;
    transition: .3s;
}

header .button:hover {
    background-color: white;
    color: #444;
}

header.headerShrink .button {
    margin: 11px 0;
}

/* header.headerShrink .black-logo {
    display: block;
}
header.headerShrink .white-logo {
    display: none;
}

header .black-logo {
    display: none;
}
header .white-logo {
    display: block;
} */

header img.logoShrink {
    height: 35px;
    margin-top: 20px;
}

header a.logo {
    color: #333333;
    font-weight: 500;
    text-decoration: none;
    font-size: 32px;
    height: 100px;
    line-height: 100px;
}

header a.hamburger {
    text-decoration: none;
    display: none;
    float: right;
    margin-top: 28px;
    width: 24px;
    height: 19px;
    transition: 0.3s ease;
}

header nav {
    float: right;
    opacity: 1;
}


header nav ul {
    list-style: none;
    overflow: hidden;
    float: left;
}

header nav ul li {
    float: left;
    margin-left: 40px;
    line-height: 100px;
    transition: 0.3s ease;
}

header .top_button {
    min-width: 160px;
    float: right;
    margin: 18px 0 0 10px;
    padding: 10px 8px 11px 0px;
    background: transparent;
    transition: .3s ease;
}
header.headerShrink .top_button {
    margin: 7px 0 0 10px;
}
header .top_button img {
    margin: 0 10px;
    height: 40px;
}

header nav ul li:last-child {
    margin-right: 20px;
} 
header nav ul li.keepCenter {
    line-height: 75px;
    transition: 0.3s ease;
}

header nav ul li a {
    font-weight: 300;
    text-decoration: none;
    color: #444;
    font-family: "Noto Sans KR", Helvetica, Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0px;

    transition: color .1s linear;
}

header nav ul li a:hover {
    color: #083588
}


.swiper-container {
    width: 100%;
    height: 600px;
    margin-top: 100px;
}

.popup {
    max-width: 500px;
    position: fixed;
    top: 50px;
    left: 50px;
    z-index: 999;
    padding: 0;
}
.popup img {
    width: 100%;
    height: 100%;
    margin: 0;
}
.layer {
    box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.2);
    border: solid 1px rgba(0, 0, 0, 0.1);
}
.layer_close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
.layer_close img {
    width: 30px;
}


/*  Hero Section  */

.hero {
    width: 100%;
    z-index: -10px;
    position: relative;
    background: url('../img/main_hero.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    min-height: 500px;
    height: 100%;
}

.hero .dark {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
    height: calc(100% - 100px);
    padding-top: 100px;
    display: flex;
    align-items: center;
}

.hero .caption {
    word-break: keep-all;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, .75);
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 50px 0;
    margin-bottom: 30px;
}

.hero .caption h2 {
    color: #fff;
    font-family: "Noto Sans KR", Helvetica, Arial, sans-serif;
    font-size: 40px;
    font-weight: 500;
    margin: 0;
    position: relative;
    display: block;
}

.hero .caption h3 {
    color: #eeeeee;
    font-family: "Noto Sans KR", Helvetica, Arial, sans-serif;
    font-size: 27px;
    font-weight: 300;
    margin: 20px 0 0 0px;
    left: 1px;
}

.hero .caption span {
    text-align: center;
    font-size: 72px;
    display: block;
    padding: 50px 0 20px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    /* animation: blur 2s ease-out infinite; */
    text-shadow: 0px 0px 3px #fff, 0px 0px 5px #fff;
  }

.button {
    background-color: rgba(0, 0, 0, .5);
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    margin-top: 20px;
    padding: 10px 20px;
    text-decoration: none;
    transition-property: background;
    transition-duration: 0.1s;
    transition-timing-function: linear;
}

.button:hover {
    background-color: rgba(0, 0, 0, .75);
}

.button:active {
    position: relative;
}


/*  responsive css */
@media (max-width: 1160px) {
    .wrapper {
        width: auto;
        max-width: 1020px;
        margin: 0 auto;
        padding: 0 20px;
    }
}


@media (max-width:800px) {
    header .sns-buttons {
        display: none;
    }
    .m-sns-buttons {
        background-color: rgba(0, 0, 0, 0);
        clear: both;
        transition: 0.3s ease;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        color: white;
    }
    header.headerShrink .m-sns-buttons {
        background-color: rgba(0, 0, 0, .7);
    }
    .m-sns-buttons>div {
        display: flex;
        align-items: center;
        margin: 0 8px;
    }
    .m-sns-buttons img {
        width: 20px;
        padding: 0 4px;
        margin: 4px;
    }
    .hero .caption h2 {
        font-size: 28px;
    }
    .hero .caption h3 {
        font-size: 24px;
    }
    .hero .caption span {
        font-size: 40px;
    }
    

    header {
        height: 75px;
    }

    header nav ul li {
        line-height: 15px;
    }
    
    header nav ul li.keepCenter {
        line-height: 15px
    }

    header a.hamburger {
        display: block;
    }

    header img.logo {
        height: 32px;
        margin-top: 20px;
    }

    header img.logoShrink {
        /* height: 34px;
        margin-top: 8px; */
    }

    header a.hamburger {
        margin-top: 28px;
    }

    header.headerShrink a.hamburger {
        margin-top: 17px;
    }
    header.headerShrink a.hamburger img {
        height: 16px;
    }
    
    header .button {
        float: right;
        flex: 1 1 auto;
        margin: 17px 0;
        padding: 10px 10px;
        border: 2px solid #f7f7f7;
        text-align: center;
        text-transform: uppercase;
        position: relative;
        overflow:hidden;
        transition: .3s;
    }
    header.headerShrink .button {
        margin: 17px 0;
    }

    header nav {
        position: absolute;
        display: none;
        width: 92.72727272727273%;
        top: 95px;
        left: 3.636363636363636%;
        float: none;
        z-index: 20;
        overflow: hidden;
        background: rgba(255, 255, 255, .95);
        border-top: 1px solid #000;
    }

    header nav.active {
        display: block;
    }

    header nav .login_btn {
        float: none;
        display: inline-block;
        width: 100%;
        border: 0;
        margin: 0;
        padding: 20px 0;
        text-align: center;
        background: #f2f3f3;
    }

    header nav ul {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 0;
    }

    header nav ul li {
        display: block;
        width: 100%;
        float: none;
        margin-left: 0;
    }

    header nav ul li a {
        display: block;
        padding: 25px 0;
        border-bottom: 1px solid #f2f3f3;

        transition: background .2s linear;
        -webkit-transition: background .2s linear;
        -moz-transition: background .2s linear;
        -o-transition: background .2s linear;
    }

    header nav ul li a:active {
        background: #f2f3f3;
    }

    header nav ul li a,
    header nav .login_btn {
        color: #1c3655;
    }

    header nav .login_btn:hover {
        background: #eaebeb;
    }

    header nav ul li:last-child {
        border: 0;
    }

    footer .copyrights {
        font-size: 12px;
    }

    footer h3 {
        font-size: 16px;
    }

    footer ul li {
        font-size: 14px;
    }

}


@media (max-width:500px) {
    .popup {
        width: calc(100% - 10.66vw);
        left: 20px;
        top: 100px;
    }
    .hero {
        height: auto;
        min-height: 0;
    }
    .hero .caption {
        padding: 100px 0;
    }

}