/* GENERAL */
:root {
    --ORANGE: #da7146;
    --WHITE: #ffedd4;
    --YELLOW: #fee500;
    --BLUE: #3c52df;
    --BLACK: #120042;
    --CYAN: #00FFFF;
}
@font-face {
    font-family: 'Candycrawl';
    src: url('WebsiteAssets/Fonts/Candycrawl.ttf') format('truetype');
}

* {
    font-family: 'Candycrawl', sans-serif;
    color: var(--BLACK);
    text-align: center;
    image-rendering: pixelated;
    image-rendering: crisp-edges;

    margin: 0;
    padding: 0;
}
p, span, h1, h2, h3, h4, h5, h6 {
    display: block;
    backface-visibility: hidden;
}
html {
    font-size: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--BLUE) var(--ORANGE);
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}  
body {
    background-color: var(--WHITE);
}
a {
    color: var(--BLUE);
}

#logo {
    margin-top: 1rem;
    width: 35%;
    height: 35%;
}
#banner-text {
    font-size: 1rem;
    color: var(--BLACK);
    transform-style: flat;
    backface-visibility: visible;
    max-width: 25rem;

    margin: 0 auto 1.5rem auto;
    margin-top: 1em;
    margin-bottom: 3.5rem;

    text-shadow:
        0.0625rem 0.0625rem 0 var(--WHITE),
        -0.0625rem 0.0625rem 0 var(--WHITE),
        0.0625rem -0.0625rem 0 var(--WHITE),
        -0.0625rem -0.0625rem 0 var(--WHITE);
}

#footer {
    background-color: var(--BLUE);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    border-bottom: 1rem solid var(--BLUE);
    z-index: 1;
}
#footer, #footer * {
    font-size: unset;
}
.footerSide {
    flex: 1 1 15rem;
    min-width: 10rem;
    display: flex;
    flex-direction: column;
}
#footer span, #footer span * {
    color: var(--WHITE);
}
#footTitleLeft, #footTextLeft {
    text-align: left;
    margin-left: 1rem;
}
#footTitleRight, #footTextRight {
    text-align: right;
    margin-right: 1rem;
}
#footTitleLeft, #footTitleRight {
    font-size: 1.05rem;
}
#footTextLeft, #footTextRight {
    font-size: 0.75rem;
}

img[id^="loadingBagel-"] {
    padding: 1rem;
}

/* ANIMATION */
#stickerOverlay img {
    transform-origin: top left;
}

@keyframes coolAnim {
    0%, 100% {
        transform: translate3d(0, 0.05rem, 0);
    }
    50% {
        transform: translate3d(0, -0.05rem, 0);
    }
}
@keyframes coolAnimOppo {
    0%, 100% {
        transform: translate3d(0, -0.05rem, 0);
    }
    50% {
        transform: translate3d(0, 0.05rem, 0);
    }
}

/* NAVIGATION */
#navigation {
    display: flex;
    justify-content: center;
    background: var(--BLACK);
    border-bottom: 0.25rem solid var(--BLACK);
    z-index: 999999999;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
#navigation span {
    user-select: none;
}
#navigation a {
    cursor: pointer;
    user-select: none;
}
a.navi {
    text-decoration: none;
}

/* 404 PAGE */
#wrongPage {
    width: 100%;
    margin-top: 1.2rem;
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}
#wrongPage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('WebsiteAssets/ERRORS/404_scroll.png');
    background-size: contain;
    background-position: center;
    justify-content: center;
    background-repeat: repeat;
    opacity: 0.5;
    z-index: -5;
}
#wrongPage > * {
    position: relative;
    z-index: 1;
}

#fOf_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
#fOf_main {
    text-align: left;
    font-size: 1.25rem;
}
#fOf_imageCredit {
    text-align: left;
    font-size: 0.9rem;
}

/* HOME PAGE */
#bannerHome {
    padding-top: 1.5rem;
    position: relative;
    border-bottom: 0.25rem solid var(--BLACK);
    overflow: hidden;
}
#bannerHome::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('WebsiteAssets/General/Banners/Banner_Home.png');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.5;
    z-index: 0;
}
#bannerHome > * {
    position: relative;
    z-index: 1;
}

#welcome {
    background-color: var(--YELLOW);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}
#welcome-text {
    color: var(--BLACK);
    font-size: 1rem;
    max-width: 60%;
    text-align: right;
}
#campfire {
    width: 20%;
    height: 20%;
    max-width: 35%;
}

#pages {
    background-image: url('WebsiteAssets/Home/MMM_Wall.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    width: 100%;
}
#pages span {
    text-shadow:
        0.0625rem 0.0625rem 0 var(--BLACK),
        -0.0625rem 0.0625rem 0 var(--BLACK),
        0.0625rem -0.0625rem 0 var(--BLACK),
        -0.0625rem -0.0625rem 0 var(--BLACK);
}
#arrowLeft, #arrowRight {
    width: 7.5rem;
    height: auto;
}
#pageText {
    color: var(--WHITE);
    font-size: 1rem;
}
#pageTop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
#pageButtons {
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
}
.pageItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 12.8rem;
}
.pageItem img {
    width: 12.5rem;
    height: auto;
}
.pageItem span {
    color: var(--WHITE);
    margin-top: 0.5rem;
}
#pageButtons span {
    color: var(--WHITE);
}
.pageButtRow {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem
}

.footerHome {
    border-top: 0.5rem solid #0b4a32;
}

/* PROJECTS PAGE */
#bannerProj {
    padding-top: 1.5rem;
    position: relative;
    border-bottom: 0.25rem solid var(--BLACK);
    overflow: hidden;
}
#bannerProj::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('WebsiteAssets/General/Banners/Banner_Projects.png');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.5;
    z-index: 0;
}
#bannerProj > * {
    position: relative;
    z-index: 1;
}

.typeText {
    font-size: 0.7rem;
    display: inline-block;
}
#currentRelease, #upcoming {
    border-top: 1rem solid var(--YELLOW);
    background-color: var(--YELLOW);
    border-bottom: 1rem solid var(--YELLOW);
}
#currentText, #upcomingText {
    color: var(--BLACK);
}

#currentReleases > div, #upcomings > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.leftImg, .rightImg {
    width: 35%;
    height: auto;
}

.leftTxt, .leftLinks {
    width: 50%;
    text-align: left;
}
.rightTxt, .rightLinks {
    width: 50%;
    text-align: right;
}
.rightLinks {
    display: block;
    text-align: right;
    width: 100%;
}

/* ABOUT PAGE */
#bannerAbout {
    padding-top: 1.5rem;
    position: relative;
    border-bottom: 0.25rem solid var(--BLACK);
    overflow: hidden;
}
#bannerAbout::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('WebsiteAssets/General/Banners/Banner_About.png');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.5;
    z-index: 0;
}
#bannerAbout > * {
    position: relative;
    z-index: 1;
}

#teamAbout {
    padding-top: 1rem;
    background-color: var(--YELLOW);
    padding-bottom: 1rem;
}
#teamSocial, #teamMember {
    border-top: 1rem solid var(--YELLOW);
    background-color: var(--YELLOW);
    border-bottom: 1rem solid var(--YELLOW);
}
#socialText, #membersText {
    color: var(--BLACK);
}

#teamSocials {
    padding-top: 1rem;
    background-image: url('WebsiteAssets/About/Backgrounds/Socials.png');
    background-size: cover;
    background-position: center;
    padding-bottom: 1rem;
}

#teamMembers {
    padding-top: 1rem;
    background-image: url('WebsiteAssets/About/Backgrounds/Members.png');
    background-size: cover;
    background-position: center;
    padding-bottom: 2.5rem;

    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
#teamSocials span, #teamMembers span {
    color: var(--WHITE);
}
#teamSocials a, #teamMembers a {
    color: var(--CYAN);
}
#teamMembers .memberItem > span {
    color: var(--BLACK);
    font-weight: bold;
}
.social-item a span {
    color: var(--CYAN);
}

.memberItem {
    position: relative;
    width: 7.5rem;
    height: 7.5rem;
    cursor: pointer;
    text-align: center;
    overflow: visible;
}
.memberIcon {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.memberItem:hover .memberIcon {
    transform: scale(1.05);
}
.memberInfo {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: bottom center;
    background: rgba(18, 0, 66, 0.75);
    color: var(--WHITE);
    padding: 0.3rem 0.5rem;
    border-radius: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 10;
    font-size: 0.8em;
}
.memberItem.expanded .memberInfo {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
}

/* SONGS PAGE */
#bannerSongs {
    padding-top: 1.5rem;
    position: relative;
    border-bottom: 0.25rem solid var(--BLACK);
    overflow: hidden;
}
#bannerSongs::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('WebsiteAssets/General/Banners/Banner_Songs.png');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.5;
    z-index: 0;
}
#bannerSongs > * {
    position: relative;
    z-index: 1;
}

#songInfo {
    padding-top: 1rem;
    background-color: var(--YELLOW);
    padding-bottom: 1rem;
    border-bottom: 0.25rem solid var(--BLACK);
}
#songLoad > * {
    font-size: 0.75rem !important;
}

#songVolumePct {
    display: inline-block;
    width: 4ch;
    text-align: right;
}
#songVolume {
    -webkit-appearance: none;
    width: 150px;
    height: 16px;
    background-image: url('WebsiteAssets/Songs/Buttons/slider.png');
    background-size: cover;
    border-radius: 5px;
}
#songVolume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--WHITE);
    border: 2px solid var(--BLACK);
    cursor: pointer;
}
#songVolume::-webkit-slider-thumb:hover {
    background: var(--CYAN);
    transform: scale(1.2);
}
#songVolume::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--WHITE);
    border: 2px solid var(--BLACK);
    cursor: pointer;
}
#songVolume::-moz-range-track {
    width: 150px;
    background-image: url('WebsiteAssets/Songs/Buttons/slider.png');
    border-radius: 5px;
}

#songsContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    background-image: url('WebsiteAssets/Songs/paper.png');
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 100% auto;
}
.albumFlex {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    color: var(--BLACK);
    border-radius: 0.5rem;
}
.albumCover {
    width: 13.1rem;
    height: auto;
    outline: 0.25rem solid black;
    margin-top: 1.5rem;
}
.trackList {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.trackItem {
    cursor: pointer;
    padding: 0.3rem;
    transition: background 0.2s;
    background: transparent;
    border-radius: 0.5rem;
    max-width: 35rem;
}
.albumFlex .trackItem:hover {
    background: var(--track-hover-color, var(--YELLOW));
    border-radius: 0.5rem;
    outline: 0.15rem solid var(--BLACK);
    outline-offset: -0.1rem;
}

button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
button:hover {
    border-radius: 0.5rem;
    outline: 0.1rem solid var(--BLACK);
    outline-offset: 0.1rem;
}
button.active {
    background-color: var(--WHITE);
    color: var(--WHITE);
    border-radius: 0.5rem;
}