.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.overlay-background {
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.5);
}

.overlay-image {
    height: 80%;
    border-radius: 20px;
    box-shadow: 0px 0px 30px black;
    z-index: 1000;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cover-image {
    width: 100%;
    min-height: 250px;
    min-width: 250px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px black;
    cursor: pointer;
}

.text-clip {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 350px;
}

.text-multiline-clip {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.title {
    font-family: "Better VCR", sans-serif;
    font-weight: 600;
    color: white;
    overflow: hidden;
    margin: 0px;
    background: transparent;
    -webkit-text-stroke: 0px transparent;
}

.album-card .title {
    text-align: center;
}

.artist-name {
    margin-bottom: 5px;
    font-family: "Alkhemikal", sans-serif;
    color: white;
    -webkit-text-stroke: none;
    text-shadow: 1px 1px 10px black;
}

.list-card .artist-name {
    color: rgba(255, 255, 255, 0.6);
}

.lyrics son {
    font-weight: 800;
    color: white;
}

.glass son {
    font-weight: 800;
    color: white;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 0;
    margin: 20px 0;
    justify-content: start;
}

.front-grid {
    max-height: calc(2 * 280px);
    overflow: hidden;
    grid-auto-rows: 1fr;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 0;
    margin: 20px 0;
    justify-content: start;
}

.album-card {
    position: relative;
    background: rgba(255, 255, 255, 0);
    box-shadow: 2px 2px 6px transparent;
    transition: background-color 0.2s, box-shadow 0.2s;
    border-radius: 20px;
    min-height: 250px;
    max-width: 170px;
    padding: 15px;
}

.album-card:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    padding: 15px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.album-card img {
    width: 170px;
    height: auto;
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0px 0px 10px black;
    margin-bottom: 5px;
    display: block;
}

.album-card-artist {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0);
    transition: background-color 0.2s, box-shadow 0.2s;
    border-radius: 10px;
    min-height: 250px;
    max-width: 170px;
    padding: 15px;
}

.album-card-artist:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    padding: 15px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.album-card-artist img {
    width: 170px;
    height: auto;
    pointer-events: none;
    border-radius: 1000px;
    box-shadow: 1px 1px 20px black;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, auto));
    gap: 20px;
    justify-content: center;
}

.list-card {
    display: flex;
    flex-direction: column;
    width: 95% !important;
}

.list-card img {
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0px 0px 10px black;
    margin: 0px;
}

.title-stats {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: center;
}

.pfp-design {
    border-radius: 1000px;
    box-shadow: 1px 1px 10px black;
    pointer-events: none;
}

.pfp-design2 {
    border-radius: 10px;
    width: 5%;
    height: 5%;
    box-shadow: 1px 1px 10px black;
    pointer-events: none;
}

.h-stack {
    display: flex;
    flex-direction: row;
    gap: 10px;
    min-width: 0;
}

.h-stack img {
    max-width: 100%;
}

.v-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.glass {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.tag-deleted {
    background: rgba(255, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 0, 0, 0.8);
    text-align: center;
    width: auto;
}

.album-card .tag-deleted,
.album-card .tag-unreleased,
.album-card .tag-snippet,
.album-card .tag-upcoming {
    border-radius: 10px 10px 0px 0px;
    right: 15px;
    left: 15px;
    z-index: 2;
    position: absolute;
}

.h-stack .tag-deleted,
.h-stack .tag-unreleased,
.h-stack .tag-snippet,
.h-stack .tag-upcoming {
    padding: 5px;
}

.tag-deleted h6,
.tag-unreleased h6,
.tag-snippet h6,
.tag-upcoming h6 {
    margin: 3px;
    color: white;
}

.tag-deleted h5,
.tag-unreleased h5,
.tag-snippet h5,
.tag-upcoming h5 {
    margin: 0;
}

.tag-unreleased {
    background: rgba(161, 0, 167, 0.7);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(161, 0, 167, 0.8);
    text-align: center;
    width: auto;
}

.tag-snippet {
    background: rgba(10, 151, 113, 0.7);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(10, 151, 113, 0.8);
    text-align: center;
    width: auto;
}

.tag-upcoming {
    background: rgba(255, 123, 0, 0.7);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 123, 0, 0.8);
    text-align: center;
    width: auto;
}

.glass-btn {
    height: auto;
    width: auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    pointer-events: auto;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    user-select: none;
    transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.gch {
    transition: all .1s;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.2);
}

.spot {
    height: auto;
    width: auto;
    background: rgba(8, 149, 69, 0.5);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(30, 215, 96, 0.6);
    padding: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    user-select: none;
    transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.spot:hover {
    background: rgb(8, 149, 69);
    border: 1px solid rgb(30, 215, 96);
    box-shadow: 1px 1px 10px rgba(30, 215, 96, 0.6);
}

.cloud {
    height: auto;
    width: auto;
    background: rgba(255, 49, 2, 0.5);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 118, 1, 0.6);
    padding: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    user-select: none;
    transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cloud:hover {
    background: rgb(255, 49, 2);
    border: 1px solid rgb(255, 118, 1);
    box-shadow: 1px 1px 10px rgba(255, 118, 1, 0.6);
}

.gram {
    height: auto;
    width: auto;
    background: rgba(126, 72, 192, 0.5);
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(77, 98, 211, 0.6);
    padding: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    user-select: none;
    transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.gram:hover {
    background: rgb(126, 72, 192);
    border: 1px solid rgb(77, 98, 211);
    box-shadow: 1px 1px 10px rgba(77, 98, 211, 0.6);
}

#toggle-cover {
    height: 50px;
    width: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px;
    pointer-events: auto;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-shadow: 1px 1px 5px white;
}

#toggle-cover p {
    font-size: 30px;
    margin: 0;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
    color: white;
}

#toggle-cover:hover {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid white;
    box-shadow: 1px 1px 5px white;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.custom-textbg {
    margin: 0px;
}

.glass-btn h2 {
    margin: 0px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 10px;
}

#discography:hover {
    text-decoration-line: underline;
}