/* ========== IMPORTANT STUFF ========== */
@font-face {
    font-family: 'minimal';
    src: url(../../fonts/minimal.ttf);
}
* {
    transition: all 0.3s ease;
    font-family: 'minimal';
}
*:hover {
    transition: all 0.15s ease;
}
*:active {
    transition: all 0s ease;
}


/* ========== LIGHT MODE STYLES ========== */

html, body {
    background-color: #2e2e2e;
    color: white;
}

.main-container {
    background-color: #2e2e2e;
    color: white;
}
.header-container .header-name {
    font-weight: 900;
}

.section-info h3 {
    font-weight: 600;
    
}
.section-info div {
    font-weight: 200;
}
.song-item {
    transition: all 0s ease;
    background: linear-gradient(270deg,
        rgb(204, 248, 248) 0%,
        rgb(204, 248, 248) 35%,
        rgb(2, 253, 253) 50%,
        rgb(204, 248, 248) 65%,
        rgb(204, 248, 248) 100%);
    background-size: 1400% 1400%;
    border-radius: 25px;
    overflow: clip;
    cursor: pointer;
}
.song-item:hover {
    transform: scale(1.025);
}
.song-item:active {
    transform: scale(1.01);
}
.song-item img {
    cursor: pointer;
}
.song-item img, .song-item i {
    transition: all 0.3s ease, opacity 0.5s ease;
}
.song-item:has(.coverImg:not(.loaded)) {
    animation: skeletonLoaderCard 1.8s ease infinite;
}
.song-item:has(.coverImg.loaded) {
    background: rgb(204, 248, 248);
}
@keyframes skeletonLoaderCard {
    0%{
        background-position:92% 0%;
    }
    100%{
        background-position:9% 100%;
    }
}
.song-item i {
    color: black;
}

.song-item-container {
    transition: all 0s ease;
}
.popup-con .song-cover, .popup-con .song-cover img {
    border-radius: 15px;
    overflow: clip;
}
.song-cover img {
    box-shadow: 1px 2px 4px black;
}
.popup-con {
    transition: all 0.3s ease, transform 0.75s cubic-bezier(.32,.64,.37,1);
    background-color: #141414;
    border-radius: 25px;
    box-shadow: 1px 3px 5px black;
    transform: translate(-50%, -200%);
}
.song-link-item {
    text-wrap: nowrap;
    white-space: nowrap;
    transition: all 0s ease;
    color: white;
    background-color: rgb(42, 42, 42);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0px 2px 3px black;
}
.song-link-item:hover {
    transform: scale(1.02);
}
.song-link-item:active {
    transform: scale(1.01);
}
.popup-con .close-btn {
    transition: all 0s ease;
    border-radius: 100%;
    top: 3%;
    right: 2%;
    width: calc(5vw + 2vh);
    height: calc(5vw + 2vh);
    max-width: 50px;
    max-height: 50px;
    color: white;
    background-color: rgb(42, 42, 42);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: all;
    z-index: 10;
    box-shadow: 0px 0px 2px black;
}
.close-btn:hover {
    transform: scale(1.02);
}
.close-btn:active {
    transform: scale(1.01);
}

#versionDisplay {
    color: white;
}
.song-item p {
    color: black;
    font-size: 75%;
    white-space: initial;
}



/* DARK MODE STYLES */
body.dark, html.dark {
    background-color: #01000a;
    color: white;
}
body.dark .main-container {
    background-color: #01000a;
    color: white;
}
body.dark .fixed-logo-container {
    filter: invert(0);
}

/* MEDIA QUERIES */
@media only screen and (min-width: 1001px) {
    .song-item {
        border-radius: 16px;
    }
}
@media only screen and (max-width: 1000px) {
    .song-item {
        border-radius: 12px;
    }
}