@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --discord-dark: #202225;
    --discord-card-bg: #2f3136;
    --discord-text-white: #ffffff;
    --discord-text-light: #b9bbbe;
    --discord-status-online: #3ba55d;
    --discord-status-idle: #faa81a;
    --discord-status-dnd: #f04747;
    --discord-status-offline: #747f8d;
    --discord-pfp-ring: #202225;
    --discord-bubble-bg: #2d2f34;
    --spotify-green: #1DB954;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--discord-dark);
    margin: 0;
    min-height: 100vh;
    padding-bottom: calc(3vh + 24px);
    overflow-x: hidden;
    display: block;
}

#backgroundCanvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 200vw;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.top-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.head-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    color: var(--discord-text-white);
    text-align: left;
    position: relative;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--discord-card-bg);
    border-radius: 8px;
    padding: 0.75rem;
    max-width: 680px;
    width: min(92%, 680px);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    margin: 0 auto;
    gap: 0.5rem;
    overflow: hidden;
}

.top {
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.head-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    color: var(--discord-text-white);
    text-align: left;
    position: relative;
    margin: 0;
}

.pfp-container {
    position: relative;
    width: 15vw;
}

.header * {
    position: relative;
    z-index: 2;
}

.pfp {
    width: 10vw;
    border-radius: 50%;
    object-fit: cover;
    margin: 0;
    border: 3px solid var(--discord-pfp-ring);
    z-index: 2;
}


.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    width: 100%;
    padding: 0;
    height: max-content;
}

.controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.controls input[type="range"] {
    width: 160px;
    accent-color: var(--spotify-green);
}

.info h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: var(--discord-text-white);
}

.live-info {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.info h3 {
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
    font-weight: 400;
    color: var(--discord-text-light);
}

#status {
    font-weight: 700;
    color: var(--discord-text-light);
}

.socials {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

i {
    color: var(--discord-text-light);
    font-size: 1.25rem;
    cursor: pointer;
    will-change: transform, color, box-shadow;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
        color 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

i:hover {
    color: var(--discord-text-white);
    transform: scale(1.15);
    animation: pulse-hover 1s infinite alternate cubic-bezier(0.65, 0, 0.35, 1);
}

i:active {
    transform: scale(0.9);
    animation: none;
}

@keyframes pulse-hover {
    0% {
        box-shadow: 0 0 0 0 rgba(var(59, 165, 93), 0.7);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(var(59, 165, 93), 0);
    }
}

.hotbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 3vh;
    background: linear-gradient(90deg, #3ba55d, #faa81a, #f04747, #406aa0, #3ba55d);
    background-size: 500% 100%;
    animation: hotbarAnimation 10s linear infinite;
    z-index: 10;
    align-items: end;
    justify-content: end;
}

@keyframes hotbarAnimation {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}

.about-container {
    height: 50vh;
    width: 100vw;
    color: var(--discord-text-white);
    text-align: center;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.6;
    box-sizing: border-box;
    margin: 1em auto;
    padding: 1rem 1rem;
    overflow-wrap: break-word;
    margin-bottom: 1em;
    margin-top: 1em;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.45s ease;
    will-change: transform, opacity;
    padding-left: 1vw;
}

.aboute {
    font-size: 1.1rem;
    line-height: 1.6;
    box-sizing: border-box;
    margin: 1em auto;
    padding: 1rem 1rem;
    overflow-wrap: break-word;
    margin-bottom: 1em;
    margin-top: 1em;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.45s ease;
    will-change: transform, opacity;
}

a {
    color: var(--spotify-green);
    text-decoration: none;
}

img {
    max-width: 40vw;
    border-radius: 8px;
    margin: 1rem 0;
}

.grade-small {
    max-width: 40vw;
}

.green {
    color: var(--spotify-green);
    text-decoration: none;
    font-weight: 500;
}

h2, h1 {
    margin-top: 0.5rem;
    color: var(--discord-text-white);
}

.about-container h2,
.about-container h1 {
    margin-top: 7rem;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}
