/*
    ======================================
    + Default Style CSS
    @ Team. PLAYWORLD 2024. 07. 29.
    ======================================
*/

/*
- Common Style ( PC / Tablet / Mobile ) 

- PC: 1024 ~
- Tablet: 481 ~ 767
- Larger Tablet & Laptops: 768 ~ 1023
- Mobile: 0 ~ 480
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

:root {
    --default-background: #f2f2f2;
    --default-selection: #0D0E12;
    --default-blue: #5070F9;
    --default-blue-light: #6196DA;
    --default-blue-hover: #4663e4;
    --default-youbug-red: #ff8686;
    --default-geonbbang-blue: #005acb;
    --default-gray: #4c4c4c;
}

* {
    font-family: 'Pretendard';
    list-style: none; 
    text-decoration: none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    color: #000;
}

body { background: var(--default-background); }

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;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--default-blue);
    transition: all 0.5s;
}

a:hover { color: var(--default-blue-hover); }

::-moz-selection { background: var(--default-selection); color: #fff; }

::selection { background: var(--default-selection); 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-left-reverse {
    opacity: 0;
    animation: ToLeft 1.5s reverse;
}

.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;
}

.animation-right-reverse {
    opacity: 0;
    animation: ToRight 1.5s reverse;
}
/* // 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 */

/* PC (Default) */
/* Header */
.header {
    position: fixed;
    left: 50%;
    top: 8%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 1440px;
    height: 90px;
    background: #fff;
    border-radius: 45px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 25%);
    z-index: 999;
}

.header__contents {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 45px;
}

.header__contents > li {
    text-align: center;
    width: 15%;
}

.header__contents > li:not(:last-child) {
    margin-right: 2%;
}

.header-contents__logo {
    width: 32.5px;
    transform: scale(1.0);
    transition: all 0.5s;
}

.header-contents__logo:hover {
    transform: scale(1.05);
}

.header-contents__nav {
    position: relative;
    color: #000;
    font-size: 1.3rem;
    font-weight: 800;
}

.header-contents__nav:hover {
    color: #000;
}

.header-contents__nav::after {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    bottom: 0;
    left: 50%;
    width: 0;
    height: 38%;
    background-color: var(--default-blue);
    border-radius: 5px;
    transition: all 0.3s;
    z-index: -1;
}

.header-contents__nav:hover::after {
    width: 5rem;
}

.header-contents__nav img {
    width: 1rem;
    margin-left: 5%;
}

.nav-active {
    color: #fff !important;
    cursor: default;
}

.nav-active::after {
    content: '';
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 5rem !important;
    height: 2.5rem;
    background-color: var(--default-blue);
    border-radius: 50px;
    opacity: 1;
    z-index: -1;
}

.mobile-header,
.mobile-header-contents__nav-layer {
    display: none;
    visibility: hidden;
    opacity: 0;
}

.mobile-header {
    position: fixed;
    width: 100%;
    height: 90px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 0 25px rgba(0, 0, 0, 25%);
    z-index: 999;
}

.mobile-header__contents {
    justify-content: space-between;
    align-items: center;
    width: 75%;
    height: 100%;
    margin: 0 auto;
}

.mobile-header-contents__logo {
    width: 32.5px;
}

.mobile-header-contents__logo-text {
    margin-left: 8%;
    line-height: 100%;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.mobile-header-contents__nav-button-check {
    display: none;
    visibility: hidden;
    opacity: 0;
}

.mobile-header-contents__nav-button-label {
    display: block;
    width: 35px;
    height: 25px;
    cursor: pointer;
}

.mobile-header-contents__nav-button {
    position: relative;
    width: 100%;
    height: 100%;
}

.mobile-header-contents__nav-button-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    z-index: 2;
    transition: all 0.5s;
}

.mobile-header-contents__nav-button-line:nth-child(1) {
    top: 0;
}

.mobile-header-contents__nav-button-line:nth-child(2) {
    top: 45%;
}

.mobile-header-contents__nav-button-line:nth-child(3) {
    bottom: 0;
}

.mobile-header-contents__nav-button-check:checked + .mobile-header-contents__nav-button-label .mobile-header-contents__nav-button-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(-135deg);
}

.mobile-header-contents__nav-button-check:checked + .mobile-header-contents__nav-button-label .mobile-header-contents__nav-button-line:nth-child(2) {
    width: 0;
}

.mobile-header-contents__nav-button-check:checked + .mobile-header-contents__nav-button-label .mobile-header-contents__nav-button-line:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
}

.mobile-header-contents__nav-layer {
    position: fixed;
    width: 100%;
    height: 0;
    background: #f2f2f2;
    overflow: hidden;
    z-index: 998;
    transition: all 0.8s;
}

.mobile-header-contents__nav-contents {
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.35s;
}

.mobile-header-contents__nav-contents__wrap {
    justify-content: center;
    align-items: flex-end;
    margin: 0 3rem 5rem 0;
}

.mobile-header-contents__nav-contents__wrap li:not(:last-child) {
    margin-bottom: 10%;
}

.mobile-header-contents__nav-contents__nav-link {
    color: #000;
    font-size: 3.8rem;
    font-weight: 700;
    z-index: 2;
}

.mobile-nav-active {
    position: relative;
}

.mobile-nav-active:hover {
    color: #000;
}

.mobile-nav-active::after {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    bottom: 6.5%;
    left: 50%;
    width: 120%;
    height: 22.5%;
    background-color: var(--default-blue);
    border-radius: 19.5px;
    z-index: -1;
}
/* // Header */

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer__copyright {
    margin: 0 0 8px 15px;
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
}
/* // Footer */

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(80, 112, 249, 0.15);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    z-index: 999;
}

.loading__spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    -webkit-animation: Spin 1s linear infinite;
            animation: Spin 1s linear infinite;
}

@-webkit-keyframes Spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes Spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* // Loading */
/* // PC (Default)*/


/* Mobile */
@media (min-width: 320px) and (max-width: 480px) {
    /* Header */
    .header {
        display: none;
        visibility: hidden;
        opacity: 0;
    }

    .mobile-header,
    .mobile-header-contents__nav-layer {
        display: block;
        visibility: visible;
        opacity: 1;
    }    
    /* // Header */

    /* Footer */
    .footer__copyright {
        font-size: 0.8rem;
    }
    /* // Footer */
}
/* // Mobile */

/* Tablet */
@media (min-width: 481px) and (max-width: 767px) {
    /* Header */
    .header {
        display: none;
        visibility: hidden;
        opacity: 0;
    }

    .mobile-header,
    .mobile-header-contents__nav-layer {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .mobile-header__contents {
        width: 80%;
    }
    /* // Header */
}
/* // Tablet */

/* Tablet (Landscape Mode), Laptop */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Header */
    .header {
        width: 75%;
    }
    /* // Header */
}
/* // Tablet (Landscape Mode), Laptop */