@charset "utf-8";
@import url("font.css");

:root {
  --gradient: linear-gradient(to right,
  #FFD521 0%,
  #FFD521 5%,
  #F50000 50%,
  #B900B4 95%,
  #B900B4 100%
    );
  --txt_color: #2B3036
}
/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    color: #2B3036;
    text-decoration: none;
}
ul {
    list-style: none;
}
img {
    vertical-align: top;
}
body {
    color: #2B3036;
    font-family: "Pretendard";
}

.container {
    max-width: 1480px;
    margin: 0 auto;
}
/* mb-nav-btn */
.mb-btn {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 101;
    cursor: pointer;
    display: none;
}
.mb-btn .line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #2B3036;
    border-radius: 5px;
    margin: 5px;
    transition: 1s;
}
.mb-btn.on .line-top {
    transform: rotate(45deg) translateY(10px);
}
.mb-btn.on .line-middle {
    opacity: 0;
}
.mb-btn.on .line-bottom {
    transform: rotate(-45deg) translateY(-10px);
}
/* mb-nav */
.mb-nav {
    position: fixed;
    top: 0;
    right: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    padding: 80px 60px;
    background-color: #fff;
    z-index: 100;
    transition: all .5s;
}
.mb-nav.on {
    right: 0;
}
.mb-nav .mb-profile {
    width: 170px;
    height: 170px;
}
.mb-nav .mb-profile img {
    width: 100%;
    object-fit: cover;
}
.mb-nav > p {
    width: 100%;
    text-align: center;
    padding: 5px 0 30px;
    font-weight: 600;
}
.mb-nav ul {}
.mb-nav ul li {
    padding: 10px 0;
    border-radius: 30px;
    margin-bottom: 30px;
}
.mb-nav ul li.on {
    background: var(--gradient);
}
.mb-nav ul li a {
    display: block;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
}
.mb-nav ul li.on a {
    color: #fff;
}


/* mask */
.window-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99;
    background-color: rgba(0,0,0,0.5);
    display: none;
}
/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;    
    border-bottom: 1px solid #eaeaea;
    background-color: #fff;
    z-index: 98;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}
header .logo {
    width: 245px;
    line-height: 0;
}
header .logo a {
    display: block;
    width: 100%;
}
header .logo a img {
    width: 100%;
}

/* nav */
nav {
    
}
nav ul {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
nav ul li {
   border-radius: 30px;
   overflow:hidden;
}
nav ul li.on {
    background: var(--gradient);
}
nav ul li:hover {
    background: var(--gradient);
}
nav ul li a {
    display: block;
    font-size: 1em;
    padding: 8px 20px;
    white-space: nowrap;
}
nav ul li.on a {
    color: #fff;
}
nav ul li:hover a {
    color: #fff;
}

/* footer */
footer {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 25px 0;
    border-top: 1px solid #eaeaea;
    background-color: #fff;
}
footer p {
    text-align: center;
    font-size: 1em;
    color: #aaa;
}

/* 반응형 */
@media screen and (max-width:1480px) {
    .container {
        width: 96%;
    }
}
@media screen and (max-width:1280px) {
    header .container {
        height: 65px;
    }
    header .logo {
        width: 200px;
    }
    nav {
        flex-basis: 370px;
    }
    nav ul li {
    }
    nav ul li a {
        font-size: 0.9em;
    }
    footer {
        padding: 15px 0;
    }
}
@media screen and (max-width:980px) {
    nav ul {
        gap: 5px;
    }
    nav ul li a {
        font-size: 0.8em;
    }
}
@media screen and (max-width:680px) {
    header .container {
        height: 55px;
    }
    header .logo {
        width: 150px;
    }
    .mb-btn {
        display: block;
    }
    nav {
        display: none;
    }
    footer p {
        text-align: center;
        font-size: 0.8em;
    }
}