html,
body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e5e4db !important;
    overflow: hidden;
}

.bot-0 {
    bottom: 0;
}

.background-container {
    position: absolute;
    left: 0;
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.background-image {
    height: 100vh;
}

.header-container {
    background: linear-gradient(transparent, black);
}

.body-container {
    padding-left: 0 !important;
}

.logo-container {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: end;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.cover_art {
    height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
}

.metadata-boxes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.5rem;
    padding: 0 150px;
    margin-top: 2rem;
}

.metadata-box {
    display: none;
    background-color: #2626261a;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    border: 2px solid grey;
    margin: 0.5rem;
}
.metadata-title {
    color: rgb(41, 41, 41);
    font-size: 1.2rem;
    text-align: left;
}
.metadata-artist {
    color: rgb(41, 41, 41);
    font-size: 1rem;
    text-align: left;
    padding-left: 5px;
}

.audio-wrapper {
    position: relative;
    border-radius: 5px;
    z-index: -2;
}

#audio-player {
    width: 100%;
    display: none;
}

#audio-visualization {
    width: 100%;
}

.play-icon {
    font-size: 3rem;
    color: #1c8cb4;
    filter: grayscale(100%);
}

.hidden {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.visable {
    opacity: 1;
}

.title {
    width: 100%;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
}

.heading {
    width: 100%;
}

.controls {
    cursor: pointer;
    z-index: 9999999;
    display: flex;
    flex-direction: collumn;
    justify-content: space-between;
    padding: 5px;
}

.info {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 1rem;
}

.no-image {
    height: 40px;
}

.playout {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 10px 5px 10px 5px;
    min-width: 300px;
    max-width: 300px;
    max-height: 85vh;
    background: rgba(255, 255, 255, 0.75);
}

.current_playout_container {
    display: flex;
    flex-direction: row;
    width: 110%;
    transform: translate(-5.5%);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    transition:
        width 1s ease,
        transform 1s ease;
}

.extend_current_playout_container {
    width: 220%;
    transform: translate(-52.5%);
}

.playout_list_current {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.playout_list_recent {
    max-height: 55vh;
    overflow: scroll;
}

.playout_item {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    text-decoration: none;
    color: rgb(41, 41, 41);
}

.playout_item_recent {
    margin-bottom: 0.2rem;
}

.tag {
    max-width: 100vw;
}

.song_title {
    padding-left: 10px;
    overflow: hidden; /* Hides overflow text */
    text-overflow: ellipsis; /* Adds ellipsis for overflow text */
}

.song_title_recent {
    white-space: nowrap; /* Prevents text from wrapping */
}

.hide {
    display: none !important;
}

.info_btn_container {
    width: 100%;
    display: flex;
    justify-content: end;
    height: 2rem;
}

.info_btn {
    margin: 1rem;
}

.manifesto-header {
    margin: 0;
}

.manifesto {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 70vh;
    margin-bottom: 10rem;
    border-radius: 0.2rem;
    background: rgba(229, 228, 219, 0.6);
}

.statement-list {
    max-width: 600px;
    margin: 1rem;
    padding: 0 1rem;
    border-radius: 0.3rem;
    background: #e5e4db;
    overflow: scroll;
}

.statement {
    margin: 2rem 0;
    padding-left: 1rem;
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

/* Add staggered animation delays */
.statement:nth-child(1) {
    animation-delay: 0.2s;
}
.statement:nth-child(2) {
    animation-delay: 0.4s;
}
.statement:nth-child(3) {
    animation-delay: 0.6s;
}
.statement:nth-child(4) {
    animation-delay: 0.8s;
}
.statement:nth-child(5) {
    animation-delay: 1.2s;
}
.statement:nth-child(6) {
    animation-delay: 1.4s;
}
.statement:nth-child(7) {
    animation-delay: 1.6s;
}
.statement:nth-child(8) {
    animation-delay: 1.8s;
}
.statement:nth-child(9) {
    animation-delay: 2s;
}

.statement:hover {
    color: #555;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive Styles */
@media screen and (max-width: 600px) {
    body {
        height: 100vh;
    }

    #canvas {
        max-width: 100vw;
        max-height: 100vh;
    }
    .metadata-boxes {
        flex-direction: column;
        width: 100vw;
        padding: 0;
        margin-top: 0.5rem;
    }

    .metadata-box {
        margin-bottom: 10px;
    }

    .audio-wrapper {
        padding: 10px;
    }
    .background-container {
        width: 100vw;
    }

    .heading_container {
        position: relative;
        margin-top: 2rem;
    }

    .heading {
        width: 85vw;
    }

    .controls {
        position: fixed;
        bottom: 2rem;
        right: 0;
        width: 100vw;
        display: flex;
        justify-content: center;
        z-index: 999999;
    }

    .playout {
        max-width: none;
        left: 5%;
        max-height: 70vh;
    }

    .playout_list_current {
        flex-direction: column;
    }

    .playout_list_recent {
        max-height: 45vh;
    }

    .extend_current_playout_container {
        width: 100%;
        transform: translate(-5.5%);
    }

    .cover_art {
        height: 23rem;
        margin: 0.5rem;
    }

    .metadata-title {
        margin-left: 2%;
    }

    .metadata-artist {
        margin-left: 2%;
        padding-left: 0;
    }

    .manifesto {
        margin-top: 3rem;
        width: 95vw;
    }
}
