:root {
    --background: #121212;
    --background-2: #161616;
    --primary: #890cc7;
    --primary-light: #b645ee;
    --primary-opacity: #890cc798;
    --text: #f4f4f4;
    --text-opacity: #f4f4f4e0;
    --white-opacity: #f4f4f404;
}

* {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    user-select: none;
}

a {
    text-decoration: none;
}

body {
    background-color: var(--background);
}


/* texts */
.title-text {
    font-size: 56px;
    font-weight: 600;
}

.small-title-text {
    font-size: 40px;
    font-weight: 600;
}

.p-text {
    font-size: 20px;
    opacity: 0.85;
}

.bold-text {
    letter-spacing: 1px;
    font-size: 17px;
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(62deg, var(--primary) 0%, var(--text) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 150% auto;
    animation: textShine 2s ease-in-out infinite alternate;
}

.clickable-text {
    z-index: 1;
    cursor: pointer;
    position: relative;
    color: var(--text);
}

.clickable-text::before {
    z-index: -1;
    transition: 0.25s;
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-opacity);
    border-radius: 8px;
}

.clickable-text:hover::before {
    height: 100%;
}

.colored-text {
    color: var(--primary-light);
}

/* buttons */
button {
    transition: 0.25s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    outline: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 40px 12px 48px;
}
button span {
    opacity: 0.75;
}

button:hover {
    filter: brightness(1.05);
    opacity: 0.85;
}

/* custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* popup */

.popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-20px);
    background-color: var(--background-2);
    color: var(--text);
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px #00000066;
    z-index: 1000;
    opacity: 0;
    animation: popupFadeIn 0.7s forwards;
    max-width: 90%;
    width: 350px;
    text-align: center;
}

/* animations */
@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes scrollHide {
    0% {
        scale: 1;
        opacity: 1;
    } 100% {
        scale: 1.15;
        opacity: 0.25;
    }
}

@keyframes scrollScale {
    0% {
        transform: translateY(0);
        scale: 1;
    } 100% {
        transform: translateY(-40px);
        scale: 1.15;
    }
}

@keyframes loadReveal {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    } 100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupFadeIn {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

