@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    font-family: "Explora", serif;
    font-weight: 400;
    font-style: normal;
}

.wrap {
    position: relative;
    background: url(./aurora.png) no-repeat center;
    width: 100%;
    height: 100vh;
    background-size: 100% 100%;
    background-attachment: fixed;
}

/* 스크롤바 전체 */
.content::-webkit-scrollbar {
    width: 6px;
    /* 세로 스크롤바 두께 */
    height: 6px;
    /* 가로 스크롤바 두께 */
}

/* 스크롤바 트랙 (배경) */
.content::-webkit-scrollbar-track {
    background: rgba(20, 20, 30, 0.7);
    /* 트랙 색 */
    border-radius: 10px;
}

/* 스크롤바 핸들 (움직이는 부분) */
.content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3a1c71, #d76d77, #ffaf7b);
    border-radius: 10px;
}

/* 핸들 hover 상태 */
.content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2b0e5e, #c74b73, #ff9966);
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    /* 클릭 막지 않음 */
    z-index: 2;
    /* 텍스트 위에 나오게 하고 싶으면 높이고, 뒤에 두려면 낮추기 */
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: rise linear infinite;
}

@keyframes rise {
    from {
        transform: translateY(100vh);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    to {
        transform: translateY(-10vh);
        opacity: 0;
    }
}

/* 유성 */
.meteor-field {
    height: 80vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

.meteor {
    position: absolute;
    top: 10%;
    width: 90px;
    height: 1px;
    pointer-events: none;
    transform: rotate(-45deg);
    opacity: 0;
}

.meteor>div>div {
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #fff, #afafaf);
    /* 빛나는 효과 */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6),
        0 0 16px rgba(255, 255, 255, 0.4),
        0 0 24px rgba(255, 255, 255, 0.2);
}

.meteor>div>div:nth-child(1) {
    top: 0;
}

.meteor>div>div:nth-child(2) {
    top: 1px;
}

.meteor>div>div:nth-child(3) {
    top: 2px;
}

.meteor>div>div:not(:nth-child(2)) {
    left: 1px;
    right: 3px;
    background: linear-gradient(to right, #fff, #454545);
}

.meteor-2 {
    left: 60%
}

.meteor-3 {
    left: 90%
}

.meteor-4 {
    left: 120%
}