@font-face {
    font-family: 'YEONGJUPunggiGinsengTTF';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2310@1.0/YEONGJUPunggiGinsengTTF.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/*==================================*/


#give-mind {
    font-size: 1rem;
    background-color: #000;
    color: #fff;
    background-repeat: repeat;
}

.gm-stars-fixed {
    display: none;
}

@media (min-width: 1280px) {
    .gm-stars-fixed {
        animation: scaleStar 2s infinite ease-in-out;
        display: block;
        position: fixed;
        top: 13%;
        left: 3%;
        width: 2vw;
        transform-origin: 50% 50%;
        z-index: 99999;
    }

    .gm-stars-absolute {
        position: relative;
        width: 100%;
        transition: 0.3s all;
    }

    .gm-star {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
    }

    @keyframes scaleStar {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.3);
        }
        100% {
            transform: scale(1);
        }
    }
}

#gm-star-4 {
    opacity: 0;
}

#gm-star-6 {
    opacity: 0;
}

#gm-star-8 {
    opacity: 0;
}


.gm-floating-donate {
    display: none;
}

.gm-floating-donate-mobile {
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 32px;
    right: 16px;
    z-index: 9999;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 10px 8px;
    background-color: #fff;
    border-radius: 999px;
    gap: 4px;
    opacity: 0;
    transform: translateY(24px);
    visibility: hidden;
    transition: 0.3s all;
}

.gm-mobile-leaf {
    border-radius: 999px 0 999px 0;
    background-color: #FFA200;
    width: 16px;
    height: 16px;
}

.gm-floating-donate-mobile p {
    font-size: 11px;
}

@media (min-width: 768px) {
    .gm-floating-donate {
        display: block;
        position: fixed;
        width: 104px;
        z-index: 999998;
        right: 32px;
        top: 80px;
        transition: 0.3s all ease;
    }

    .gm-floating-donate-mobile {
        display: none;
    }
}

@media (min-width: 1440px) {
    .gm-floating-donate {
        width: 128px;
    }
}


.gm-floating-donate:hover {
    box-shadow: #00FF2B 8px 8px 0;
}


.give-mind-scene {
    /*overflow: hidden;*/
    position: relative;
    /*border-bottom: 1px solid red;*/
}

.gm-container {
    padding: clamp(24px, 0.5em, 32px);
    width: 100%;
    max-width: 952px;
    margin: auto;
}

.gm-headline {
    font-family: 'YEONGJUPunggiGinsengTTF', sans-serif;
    font-size: clamp(2em, 6vw, 140px);
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*gap: 0.3em;*/
}

.gm-main-message {
    font-family: 'YEONGJUPunggiGinsengTTF', sans-serif;
    text-align: center;
    font-size: clamp(20px, 4vw, 40px);
}

.gm-description {
    font-size: clamp(14px, 3vw, 24px);
    text-align: center;
    font-weight: 600;
}

.gm-br-web {
    display: none;
}

@media (min-width: 1024px) {
    .gm-br-mobile {
        display: none;
    }

    .gm-br-web {
        display: block;
    }
}


/*@media (min-width: 768px) {*/
/*    .gm-main-message {*/
/*        font-size: 0.6em;*/
/*    }*/

/*    .gm-description {*/
/*        font-size: 0.3em;*/
/*        text-align: center;*/
/*    }*/
/*}*/


.gm-highlight {
    color: #00FF2B;
}


.gm-highlight-orange {
    color: #ffa200;
}


.gm-sticky-elem {
    position: sticky;
    top: 0;
}

/* header*/

#gm-bf-logo-mobile {
    width: 2em;
}

#gm-bf-logo {
    width: 160px;
    display: none;
}

.give-mind-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: 0.6s all ease-in-out;
    z-index: 999;
    padding: 16px;
}

.gm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gm-header p {
    font-size: clamp(14px, 4vw, 20px);
    font-weight: 700;
}

.gm-header .pc {
    display: none;
}

@media (min-width: 768px) {
    #gm-bf-logo-mobile {
        display: none;
    }

    #gm-bf-logo {
        display: block;
    }
    
    .gm-header .mobile {
        display: none;
    }
    
    .gm-header .pc {
        display: block;
    }
}

/* section - 0*/
#give-mind-scene-0 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100svh;
    position: relative;
}

.gm-scroll {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1svh;
    transition: 0.3s all;
}

.gm-scroll p {
    /*color: #00FF2B;*/
}

.gm-scroll-bar {
    width: 1px;
    height: 8svh;
}

.gm-scroll-gage {
    background-color: #00FF2B;
    width: 100%;
    height: 0;
    animation: gage ease-in-out 1.5s forwards infinite;
}

@keyframes gage {
    0% {
        height: 0%; /* 애니메이션 시작 */
    }
    100% {
        height: 100%; /* 애니메이션 종료 */
    }
}

.gm-headline-change {
    display: flex;
    align-items: center;
    text-align: center;
}

.gm-headline-change .gm-star-text-group {
    display: inline-block;
    position: relative;
}

.gm-headline-star {
    display: none;
    width: 0.95em;
    transform: translateY(-0.1em);
    transition: 1s all;
}

/*.gm-headline-star{*/
/*    display: none;*/
/*    width: 144px;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 0;*/
/*    transform: translateY(-50%);*/
/*}*/

/*.gm-change-to-star{*/
/*    display: inline-block;*/
/*    transition: 1s all;*/
/*}*/

/* section - 1*/

#give-mind-scene-1 {
    padding: 10% 0;
}

.gm-article-list {
    width: 100%;
    max-width: 768px;
    margin: auto;
}

.gm-article-list li {
    margin-bottom: 2em;
    opacity: 0;
    /*transition: opacity 1s ease-out;*/
}

.gm-article-list li h3 {
    font-size: clamp(18px, 4vw, 24px);
    color: #00FF2B;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
}

.gm-article-list li p {
    font-size: clamp(13px, 3vw, 18px);
}

@media (min-width: 768px) {
    .gm-article-list li {
        margin-bottom: 3em;
    }
}

/* section - 2*/
#give-mind-scene-2 {
    padding: 5em 0;
    position: relative;
    height: 100%;
}

@media (min-width: 1280px) {
    #give-mind-scene-2 {
        height: 300svh;
    }
}

#give-content-2 {
    z-index: 999;
    overflow-x: hidden;
}

#give-content-2 .gm-caption {
    text-align: center;
    font-size: clamp(13px, 3vw, 16px);
}

.gm-negative-message-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 0 1em;
    width: 100%;
    max-width: 375px;
    margin: auto;
}

.gm-negative-message-mobile-list li {
    padding: 1.5em 1em;
    background-color: #121212;
    border-radius: 8px;
}

.gm-negative-msg-mobile-title {
    background-color: #00FF2B;
    color: #000;
    padding: 0.4em 1em;
    border-radius: 999px;
    width: fit-content;
    margin: auto auto 1em;
    font-weight: 700;
}

.gm-negative-msg-mobile-body {
    text-align: center;
    font-size: clamp(14px, 3vw, 16px);
}


#gm-negative-message-2 {
    display: none;
    height: 100svh;
    padding: 2em;
    transform: translateY(50%);
    opacity: 0;
}

.negative-messages {
    position: relative;
}

#gm-caption-mobile {
    text-align: center;
    font-size: 0.8em;
}

.gm-negative-msg-outline {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 2px solid #00FF2B;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 1s all;
}

.gm-negative-msg-outline p {
    background-color: #00FF2B;
    color: #000;
    font-size: clamp(16px, 1vw, 20px);
    font-weight: 700;
    padding: 0.5em 1em;
    border-radius: 999px;
}

.negative-messages-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1em;
    height: 90%;
}

#gm-caption-web {
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
}


.negative-messages-group {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1em;
    transition: 1s all;
}

.negative-message-item {
    flex: 1;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1em;
    border-radius: 16px;
    font-size: clamp(16px, 1vw, 20px);
    letter-spacing: -0.5px;
}


@media (min-width: 1280px) {
    #gm-negative-message-2-mobile {
        display: none;
    }

    #gm-negative-message-2 {
        display: block;
    }

    #give-mind-scene-2 .gm-content{
        padding: 0;
    }


    #gm-caption-mobile {
        display: none;
    }

    #give-content-2 {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(2);
    }
}

/* section - 3 */
#give-mind-scene-3 {
    padding: 5em 0;
    position: relative;
    height: 200svh;
}

#give-mind-scene-3 .gm-content {
    margin-bottom: 1em;
}

@media (min-width: 1280px) {
    #give-mind-scene-3 {
        height: 300svh;
    }

    #give-mind-scene-3 .gm-content {

        padding: 0;
    }

}

#give-content-3 {
    z-index: 999;
}

#gm-negative-message-3 {
    display: none;
    height: 100svh;
    padding: 2em;
    transform: translateY(50%);
    opacity: 0;
}

#gm-negative-message-3 .negative-messages-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1em;
    height: 100%;
}

#gm-negative-message-3 .negative-messages {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1em;
    transition: 1s all;
}

#gm-negative-message-3 .negative-message-item {
    flex: 1;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1em;
    border-radius: 16px;
    font-size: clamp(16px, 1vw, 20px);
}


.gm-text-highlight {
    color: #fff;
    background-color: #00FF2B00;
    padding: 0 4px;
    font-weight: 500;
    transition: 0.5s all;
}

.gm-negative-message-text-3 {
    transition: 0.5s all;
}


@media (min-width: 1280px) {
    #gm-negative-message-3-mobile {
        display: none;
    }

    #gm-negative-message-3 {
        display: block;
    }

    #give-content-3 {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(2);
    }
}

/* section - 4*/
#give-mind-scene-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10em 0;
}

#give-mind-scene-4 .gm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3em;
    top: 0;
}

#give-mind-scene-4 .gm-4-bubble {
    background-color: #ffa200;
    color: #000;
    font-size: clamp(15px, 3vw, 24px);
    padding: 0.5em;
    width: fit-content;
    border-radius: 4px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.gm-4-bubbles {
    display: flex;
    flex-direction: column;
    gap: max(1em, 5vh);
    justify-content: center;
    margin-bottom: 2em;
    width: 100%;
}

.gm-4-bubbles .gm-4-bubble:nth-child(2) {
    align-self: end;
}

.gm-4-bubbles .gm-4-bubble:nth-child(3) {
    align-self: center;
}

.gm-4-bubbles .gm-4-bubble:nth-child(4) {
    align-self: center;
}

#give-mind-scene-4 .gm-container .gm-main-message {
    margin-bottom: 1em;
}

#give-mind-scene-4 .gm-container img {
    width: 4em;
    justify-self: center;
    display: block;
}

#give-mind-scene-4 .gm-main-message {
    /*color: #121212;*/
}

/*section-5*/

#give-mind-scene-5 {
    padding: 8vh 0;
}

#give-mind-scene-5 .gm-main-message {
    margin-bottom: 1em;
}

.gm-star-5 {
    width: 24px;
    display: block;
    margin: auto;
}

.gm-vote-list {
    margin: auto auto 1em;
    width: 100%;
    max-width: 925px;
}

.gm-vote-item {
    border-radius: 4px;
    border: 1px solid #323232;
    display: grid;
    grid-template-columns: 3fr 1fr;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 8px;
    gap: 8px;
}

.gm-vote-item:last-child {
    margin-bottom: 0;
}


.gm-vote-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.gm-vote-desc {
    font-size: 0.8rem;
}

.gm-vote-button {
    font-family: 'YEONGJUPunggiGinsengTTF', sans-serif;
    height: fit-content;
    padding: 0.5em 1em;
    border-radius: 4px;
    width: 100%;
    max-width: 88px;
    justify-self: right;
    background-color: #ffa200;
    cursor: pointer;
}

.gm-vote-button:hover {
    background-color: #ff6200;
}

.gm-vote-result {
    width: 100%;
    display: none;
    grid-template-columns: 1fr 3fr;
    gap: 8px;
    padding: 4px 0;
}

.gm-vote-result-graph {
    background-color: #fff;
    width: 100%;
}

.gm-vote-result-percent {
    width: 30%;
    height: 100%;
    background-color: #ffa200;
}

.gm-star-5 {
    margin-top: 0.5em;
    width: 2em;
}

.gm-vote-info {
    font-size: 0.8rem;
    text-align: center;
    margin: auto;
}


@media (min-width: 768px) {
    .gm-vote-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }

    .gm-vote-title {
        font-size: 1.1em;
    }

    .gm-vote-item {
        padding: 1em;
    }

    .gm-vote-desc {
        align-self: center;
        font-size: 0.9em;
    }

    .gm-vote-info {
        font-size: 1rem;
    }

}


/* section 6*/
#give-mind-scene-6 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8vh 0;
    color: #121212;
    /*height: 100svh;*/
    background-color: #FFF9F2;
}

#give-mind-scene-6 .gm-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 0.6s ease-out;
}

#give-mind-scene-6 .gm-container.visible {
    opacity: 1;
    transform: translateY(0);
}

#give-mind-scene-6 .gm-main-message {
    margin-bottom: 2em;
}

#give-mind-scene-6 .gm-description {
    margin-bottom: 1.5em;
}

#give-mind-scene-6 a {
    display: flex;
    width: fit-content;
    padding: 0.5em 2.5em;
    color: #000;
    border-radius: 16px;
    background-color: #F5A216;
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 700;
    margin: auto;
    gap: 16px;
    align-items: center;
}

#give-mind-scene-6 a svg {
    width: 24px;
}

@media (min-width: 768px) {
    #give-mind-scene-6 a svg {
        width: 32px;
    }
}

/*section 7*/

#give-mind-scene-7 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff4e7;
    position: relative;
}

#give-mind-scene-7 .gm-main-message {
    margin-bottom: 2em;
    color: #121212;
}

#give-mind-scene-7 .gm-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 0.6s ease-out;
}

#give-mind-scene-7 .gm-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.gm-outlink-list {
    display: grid;
    gap: 16px;
}


.gm-outlink {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    gap: 16px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    flex: 1;
    aspect-ratio: 16 / 9;
}

.gm-outlink p {
    text-align: center;
}

@media (min-width: 820px) {
    #give-mind-scene-7 {
        height: 100svh;
    }

    .gm-outlink-list {
        align-items: center;
    }

    .gm-outlink {
        width: 100%;
        /*max-width: 400px;*/
        aspect-ratio: 4 / 3;
    }
}


@media (min-width: 1024px) {
    .gm-outlink-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .gm-outlink {

    }
}


.gm-outlink p {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 700;
}

.gm-outlink img {
    width: 16px;
}


/*
스크립트*/

.vote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.vote-modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.vote-confirm-button {
    margin-top: 10px;
    padding: 8px 16px;
    border: none;
    background: #ff6600;
    color: white;
    cursor: pointer;
}

/* go to top*/
.go-to-top-mobile {
    background-color: #323232;
    padding: 1em;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
}

.go-to-top-mobile:hover {
    background-color: #f1f1f1;
}

.go-to-top-web {
    display: none;
}

@media (min-width: 1440px) {
    .go-to-top-mobile {
        display: none;
    }

    .go-to-top-web {
        display: block;
        position: absolute;
        width: 2.5em;
        bottom: 32px;
        right: 50px;
        background-color: #fff;
        border-radius: 2px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        transition: 0.3s all;
        cursor: pointer;
    }

    .go-to-top-web:hover {
        transform: scale(0.9);
    }
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: white;
}

.loading-box {
    background: #222;
    padding: 1em 2em;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
}