@charset "utf-8";

html {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background-color: #F7F5EC;
}
body {
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul,li,ol {
    list-style: none;
}
a {
    text-decoration: none;
}

.all {
    min-width: 1000px;
}

                        /* 상단 구좌 */
.top {
    width: 100%;
    height: 30vh;
    position: relative;
    top: 0;
    overflow: hidden;
    min-width: 1000px;
    z-index: 100;
}
header {
    width: 100%;
    position: absolute;
    top: 0;
    line-height: 60px;
    z-index: 100;
}
nav {
    width: 90%;
    margin: 1.5% auto;
    display: flex;
}
nav .logobox {
    width: 125px;
    margin-top: -0.5%;
}
nav .logobox img {
    width: 100%;
}
nav > ul {
    width: 80%;
    margin: 0 auto;
    display: flex;

    justify-content: center;   
}
nav > ul > li {
    padding: 0 3%;
    text-align: center;
}
nav > ul > li:nth-of-type(2) a {
    width: 65px;
}
nav ul li a:active {
    color: #b4b5b6;
}
nav > ul li:hover a {
    border-bottom: 1px solid white;
}
nav ul li a {
    color: black;
    font-size: 1.1rem;
}
nav ul li ul {
    display: none;
}
nav ul li ul li {
    font-size: 0.8rem;
    line-height: 35px;
    text-transform: uppercase;
    cursor: pointer;
}
nav ul li ul li:hover {
    color: #707070;
}
nav .menubox {
    width: 10%;
    position: relative;
}
nav .menubox i:active {
    color: #b4b5b6;
}
nav .menubox .exit {
    display: none;
}
nav .searchBox {
    width: 100%;
    position: absolute;
    top: 35%;
    left: -50%;
    display: none;
}
nav .searchBox i {
    color: white;
    font-size: 1.2rem;
    position: absolute;
    top: 36%;
    right: -75%;
    cursor: pointer;
}
nav .searchBox input {
    width: 160%;
    outline: none;
    border: none;
    border-radius: 50px;
    background-color: white;
    opacity: 0.5;
    padding: 2px 0px;
    line-height: 25px;
    text-align: center;
}
nav button {
    width: 15%;
    color: black;
    background-color: rgba(0, 0, 0, 0);
    font-size: 1.1rem;
    margin: 0 11px;
    border: none;
    cursor: pointer;
    flex-grow: 1;
}
.headerbg {
    opacity: 0.8;
    background-color: #eae9e0;
}
.black {
    color: black;
}

                    /* 메인시작 */
.maincon {
    width: 100%;
    margin: -1% auto 10%;
}
.maincon h1, h3, h6 {
    letter-spacing: 0.8px;
    font-weight: 400;
    text-align: center;
}
.maincon h1 {
    font-size: 4.7rem;
    line-height: 80px;
    font-family: 'Tenor Sans', sans-serif;
}
.maincon h3 {
    font-size: 1.7rem;
    font-weight: 500;
}
.maincon h6 {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 60px;
}
.maincon .mainbox {
    width: 90%;
    margin: 4% auto;
}
.maincon .mainbox ul {
    display: flex;
    justify-content: space-evenly;
}
.maincon .mainbox ul h4 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 60px;
}
.maincon .mainbox ul h5 {
    font-size: 1.3rem;
    line-height: 50px;
}
.maincon .mainbox ul li {
    width: 28%;
}
.maincon .mainbox ul li img {
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
}
.maincon .mainbox ul li a:hover img {
    opacity: 0.4;   
}
.maincon .mainbox ul li p {
    line-height: 30px;
    margin-bottom: 4%;
    color: #666666;
    font-weight: 400;
}
.maincon .mainbox ul li a:not(:nth-of-type(1)) {
    border: 1px solid black;
    border-radius: 100px;
    padding: 2% 4%;
    margin-right: 2%;
    color: black;
    transition: all 0.4s;
}
.maincon .mainbox ul li a:hover:not(:nth-of-type(1)) {
    background-color: black;
    color: white;
}
.maincon .mainbox ul li a:nth-of-type(1) {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: relative;
    transition: all 0.5s;
}
.maincon .mainbox ul li a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #333;
    font-size: 3.6rem;
    opacity: 0.8;
    display: none;
    transition: all 0.4s;
}
.maincon .mainbox ul li a:hover i {
    display: block;
}

/* 위로가기 버튼 */

.upicon {
    width: 1%;
    position: fixed;
    bottom: 10%;
    right: 3.5%;
} 
.upicon button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
}
.upicon i {
    font-size: 0.2rem;
    color: black;
}
.upicon .up {
    font-size: 1.7rem;
}

                        /* 푸터 */
footer {
    width: 100%;
    background-color: #eae9e0;
    margin-top: 15%;
}
footer .footinner {
    width: 80%;
    margin: 8% auto 0;
    padding: 2% 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.8rem;
    position: relative;
    justify-content: flex-start;
}
footer .footinner div:first-child {
    width: 133px;
    margin: 0.6% 3% 0;
}
footer img {
    width: 120px;
}
.foot_info {
    width: 53%;
    display: flex;
    text-align: center;
    margin: 1% 0;
}
.foot_info > li {
    padding-right: 2%;
}
footer div.company {
    width: 90%;
}
footer div.company a {
    font-weight: 600;
    font-size: 0.7rem;
    color: black;
}
footer div.company a:hover {
    text-decoration: underline;
}
footer h3 {
    margin: 1% 0;
    font-weight: 500;
    font-size: 0.8rem;
}
footer .footinner .paylogo {
    position: absolute;
    right: 0;
}
footer .footinner .paylogo .snsicon {
    width: 100%;
    margin-bottom: -5%;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
}
footer .footinner .paylogo .snsicon li {
    width: 33%;
    font-size: 1.9rem;
}
footer .footinner .paylogo .snsicon li a {
    color: black;
}
footer .footinner .paylogo .snsicon li:nth-child(1) a i:hover {
    background: linear-gradient(135deg,#ffe17d 0%,#ffcd69 10%,#fa9137 28%,#eb4141 42%);
    color: transparent;
    -webkit-background-clip: text;
}
footer .footinner .paylogo .snsicon li:nth-child(2) a i:hover {
    color: #f00;
}
footer .footinner .paylogo .snsicon li:nth-child(3) a i:hover{
    color: rgb(29, 155, 240);
}


