/* reset */
body,div,p,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,table,tr,th,td,form,fieldset,legend,label,input,textarea,select,button {margin:0; padding:0;}
body,h1,h2,h3,h4,h5,h6 {font-size:12px; font-family:"돋움",dotum,sans-serif; color:#333;}
a {text-decoration:none; color:#333;}
ul,ol,li {list-style:none;}
img {border:none;}
strong,em {font-weight:normal; font-style:normal;}
table {border-collapse:collapse;}

/* layout */

html, body {
    height: 100%;
}
#wrap {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
#headerWrap {
    width: 22%;
    margin-top: 5%;
    background-color: #fff;
    float: left;
    position: fixed;
}
#contents {
    width: 78%;
    min-height: 1000px;
    background-color: #f9f9f9;
    float: right;
    position: relative;
}

#footerWrap {
    background-color:#333;
    clear: both;
}

#footer {
    width: 100%;
    height: 100px;
}

#footer .copy {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    color: #777;
    text-align: center;
    line-height: 100px;
}

/* header */
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    font-weight: 700;
    height:50px;
    float:left;
    letter-spacing: 0.3em;
    margin-left: 50px;
}

/* nav */
#nav {
    width: 100%;
    float: left;
    clear: both;
    margin-top: 5%;
    margin-left: 50px;
}
.menu {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 25px;
}
.menu .sub {
    margin-bottom: 20px;
}
.sub, .sub2 {
    margin-left: 20px;
}

.menu li a {
    display: inline-block;
}

.menu span {
    position: relative;
    display: block;
    cursor: pointer;
}

.menu span:before, .menu span:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    top: 50%;
    margin-top: -0.5px;
    background-color: #ff2f6e;
}

.menu span:before {
    left: -2.5px;
}
.menu span:after {
    right: 2.5px;
    background-color: #ff2f6e;
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.menu span:hover:before {
    background-color: #ff2f6e;
    width: 107%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.menu span:hover:after {
    background: transparent;
    width: 107%;
    transition: 0s;
}

.on {
    color: #ff2f6e;
}



.hamburger {
    float: right;
    display: none;
    
}
.hamburger .line{
    width: 30px;
    height: 3px;
    background-color: #333;
    display: block;
    margin: 5px 17px 0 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger:hover{
    cursor: pointer;
}

#hamburger-1.is-active .line:nth-child(2){
    opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1){
    -webkit-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    -o-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3){
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    -o-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}







.contact a {
    position: relative;
    float: left;
    width: 212px;
    height: 50px;
    margin-top: 50px;
    color: #333;
    border: 1px solid #333;
    display: block;
    font-family: 'Montserrat', sans-serif;
    line-height: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition:color 0.3s ease;
}
.contact a:hover {
    color: #fff;
}
.contact a::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #333;
    color: #fff;
    transform-origin: left;
    transition: width 0.3s ease;
    z-index: -1;
}

.contact a:hover::after {
    width: 100%;
}








