/*
    ======================================
    + Main Style CSS
        - Create : 2023. 05. 25
    ======================================
*/

/* Common Style ( PC / Tablet / Mobile ) */
@font-face {
    font-family: 'GmarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'NanumSquareNeo-Variable';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/NanumSquareNeo-Variable.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PyeongChangPeace-Bold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/PyeongChangPeace-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

* {
    font-family: 'GmarketSans';
    font-weight: normal;
    list-style: none; 
    text-decoration: none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    color: #000;
}

body { background: #fdfdfd; }

html { scroll-behavior: smooth; overflow: scroll; overflow-x: hidden; -ms-overflow-style: none; scrollbar-width: none; }

html::-webkit-scrollbar { display: none; }

.wrap {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    max-width: 2560px;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #4263f7;
    transition: all 0.5s;
}

a:hover { color: #3047af; }

::-moz-selection { background: #0D0E12; color: #fff; }

::selection { background: #0D0E12; color: #fff; }
/* // Common Style */

/* Common Animation */
@-webkit-keyframes FadeUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes FadeUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes FadeDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes FadeDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes FadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes FadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes ToLeft {
    from {
        opacity: 0;
        transform: translateX(300px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes ToLeft {
    from {
        opacity: 0;
        transform: translateX(300px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@-webkit-keyframes ToRight {
    from {
        opacity: 0;
        transform: translateX(-300px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes ToRight {
    from {
        opacity: 0;
        transform: translateX(-300px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.animation-before {
    opacity: 0;
}

.animation-up {
    opacity: 0;
    -webkit-animation: FadeUp 1.5s;
            animation: FadeUp 1.5s;
    transition-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

.animation-down {
    opacity: 0;
    -webkit-animation: FadeDown 1.5s;
            animation: FadeDown 1.5s;
    transition-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

.animation-fade {
    opacity: 0;
    -webkit-animation: FadeIn 1.5s;
            animation: FadeIn 1.5s;
    transition-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

.animation-left {
    opacity: 0;
    -webkit-animation: ToLeft 1.5s;
            animation: ToLeft 1.5s;
    transition-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

.animation-right {
    opacity: 0;
    -webkit-animation: ToRight 1.5s;
            animation: ToRight 1.5s;
    transition-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}
/* // Common Animation */

/* Common Class */
.row {
    display: flex;
    flex-direction: row;
}

.col {
    display: flex;
    flex-direction: column;
}

.row.center,
.col.center {
    align-items: center;
    justify-content: center;
}
/* // Common Class */

/* Header */
.header {
    align-items: center;
    width: 95%;
    height: 80px;
    margin : 0 auto;
}

.logout-btn {
    display: none;
    visibility: hidden;
    opacity: 0;
    width: 100px;
    height: 40px;
    font-size: 0.95rem;
    background: #fa5757;
    color: #fff;
    outline: none;
    border: none;
    border-radius: 10px;
    transition: all 0.5s;
    cursor: pointer;
}

.logout-btn:hover {
    background: #e54f4f;
}
/* // Header */

/* Mobile */
@media (min-width: 320px) and (max-width: 480px) {
    /* Header */
    .header {
        width: 90%;
    }
    /* // Header */
}
/* // Mobile */