@charset "utf-8";

/* color */
:root {
    --main-red: #e15048;
    --red-gra: linear-gradient(228deg, #e15048 0%, #ff827d 100%);
    --white-color: #ffffff;
    --black-color: #292526;
    --main-yellow: #f0cc5e;
    --main-purple: #583bd3;
}

/* 공통 */
.bold {
    font-weight: 700;
}

.mobile {
    display: none;
}

.ess {
    color: red;
}

@media (max-width: 900px) {
    .mobile {
        display: block;
    }

    .pc {
        display: none;
    }
}

/* 마진 */
.mt10 {
    margin-top: 1rem;
}

.mb10 {
    margin-bottom: 1rem;
}

.mb16 {
    margin-bottom: 1.6rem;
}

.mb20 {
    margin-bottom: 2rem;
}

.mb26 {
    margin-bottom: 2.6rem;
}

.mb28 {
    margin-bottom: 2.8rem;
}

.mb30 {
    margin-bottom: 3rem;
}

.mb32 {
    margin-bottom: 3.2rem;
}

/* 헤더 */
.header {
    position: fixed;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 8rem;
    padding: 0.8rem 6rem;
    background: #fff;
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.1);
}

.header_btns {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header_btns .btn {
    display: flex;
    padding: 1.2rem 3rem;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    filter: drop-shadow(0 10px 10px #ddd);
    transition: 0.2s;
}

.header_btns .btn:hover {
    opacity: 0.8;
}

.header_btns .btn:active {
    transform: translate(0, 10px);
    filter: drop-shadow(0 0 0 #ddd);
}

.header_btns .gra_btn {
    background: linear-gradient(228deg, #e15048 0%, #ff827d 100%);
    color: var(--white-color);
}

.header_btns .line_btn {
    border: 1px solid var(--main-red);
    color: var(--main-red);
}

.header_btns .red_btn {
    background: var(--main-red);
    color: var(--white-color);
}

@media (max-width: 900px) {
    .header {
        height: 6rem;
        padding: 1.5rem 2rem;
    }

    .header .logo {
        max-width: 18.1rem;
        width: 100%;
    }

    .hamburger {
        cursor: pointer;
        transition: 0.2s;
    }

    .header_btns {
        display: none;
    }

    .header_btns.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 3.2rem;
        top: 9.2rem;
        gap: 3rem;
    }

    .header_btns .btn {
        width: 13.2rem;
    }

    .black_bg {
        display: none;
    }

    .black_bg.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
    }

    .white_bg {
        display: none;
    }

    .white_bg.active {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1;
        width: 19.7rem;
        height: 100vh;
        background: var(--white-color);
    }

    img[alt="hamburger"].active {
        display: none;
    }

    img[alt="close"] {
        display: none;
    }

    img[alt="close"].active {
        display: block;
    }
}

/* 푸터 */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    padding: 4.6rem 18rem;
    background: var(--black-color);
    color: var(--white-color);
}

.footer_info li {
    color: #999;
    font-size: 1.6rem;
    line-height: 1.3;
}

.footer_info li span {
    color: #CCC;
}

.copyright {
    color: #999;
    font-size: 1.6rem;
    text-align: center;
}

#top_btn {position:fixed;bottom:20px;right:20px;width:50px;height:50px;line-height:46px;border:2px solid #333;color:#333;text-align:center;font-size:15px;z-index:90;background:rgba(255,255,255,0.5)}
#top_btn:hover {border-color:#3059c7;background:#3059c7;color:#fff}

@media (max-width: 900px) {
    .footer {
        padding: 3.2rem 2rem;
    }

    .footer_logo {
        max-width: 15.2rem;
        width: 100%;
    }

    /* .footer_info li {
        font-size: 1.4rem;
        line-height: 1.3;
    } */
    .copyright {
        font-size: 1.4rem;
    }
}