:root {
    --bg-color-main: #000;
    --bg-color-secondary: #575757;
    --text-color-main: #ffffff;
    --text-color-secondary: #cfcfcf;
    --spotify-green: #1db954;
    --yt: #ff0000;
}

html {
    color-scheme: light dark;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: static;
    width: 100%;
    font-family: "Wix Madefor Text", sans-serif;
    z-index: 1;
    background-color: var(--bg-color-main);
    overflow-x: hidden;
    min-height: 1200px;
    display: flex;
    flex-direction: column;
}

a,
a:hover,
a:visited,
a:active {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.noScroll {
    overflow: hidden;
}

header.sticky {
    position: fixed;
    height: 60px;
    width: 100%;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ffffff20;
    background-color: transparent;
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 100;
    font-family: "Wix Madefor Display", sans-serif;
}

header.sticky .headerMain {
    height: 60px;
    width: 100%;
    padding: 0 calc((100% - 1200px) / 2);
    align-self: center;
    justify-self: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #00000050;
}

header.sticky .headerMain span {
    align-content: center;
    text-align: center;
}

header.sticky .headerMain span#side {
    width: 60px;
    height: 60px;
}

header.sticky .headerMain span.logo#center {
    font-size: 30px;
    font-weight: semi-bold;
    height: 60px;
}

header.sticky .headerMain span#side #menuBtn {
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 200ms ease;
    font-size: 26px;
    user-select: none;
}

header.sticky .headerMain span#side #menuBtn:hover {
    background-color: #ffffff10;
    transition: background-color 200ms ease;
}

header.sticky .headerMain span#side #menuBtn:active {
    background-color: #ffffff20;
    transition: background-color 200ms ease;
}

header.sticky .headerMenu {
    width: 100%;
    padding: 20px calc((100% - 1200px) / 2);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    background-image:
        linear-gradient(to bottom, #00000050, #00000025);
}

header.sticky .headerMenu .section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    gap: 20px;
}

header.sticky .headerMenu .section a,
header.sticky .headerMenu .section a:hover,
header.sticky .headerMenu .section a:visited,
header.sticky .headerMenu .section a:active {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: color 200ms ease;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.spotify-link::before,
.yt-link::before {
    content: "";
    display: inline-block;
    height: 1em;
    width: auto;
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-repeat: no-repeat;
    filter: grayscale(1) brightness(1.5);
    transition: filter 0.2s;
    vertical-align: middle;
}

.spotify-link::before {
    background-image: url('../src/spotify_icon.svg');
}

.yt-link::before {
    background-image: url('../src/youtube_icon.svg');
    margin-top: 0;
}

.spotify-link:hover::before {
    filter: none;
}

.yt-link:hover::before {
    filter: none;
}

header.sticky .headerMenu .section a#spotify:hover {
    color: var(--spotify-green);
    transition: color 200ms ease;
}

header.sticky .headerMenu .section a#yt:hover {
    color: var(--yt);
    transition: color 200ms ease;
}

header.sticky .headerMenu #divider {
    width: 1px;
    height: 100px;
    background-color: #ffffff20;
    margin: 20px;
}

#cursorBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

#cursor {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: invert(100%) grayscale(100%) brightness(200%);
    pointer-events: none;
    transition: width 200ms ease, height 200ms ease;
    opacity: 0;
}

main#mainContent {
    position: relative;
    margin-top: 100px;
    width: 100%;
    padding: 40px calc((100% - 1200px) / 2);
    flex: 1 0 auto;
}

main#mainContent p {
    color: var(--text-color-secondary);
}

footer {
    width: 100%;
    padding: 0 calc((100% - 1200px) / 2);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

footer div {
    border-top: 1px solid #ffffff20;
    width: 100%;
    padding: 40px 100px;
    flex-shrink: 0;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #ffffff20;
    border-radius: 4px;
    width: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff40;
}