* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.m-container::before {
    content: "";
    background-image: url(../images/about-me2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    filter: blur(20px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.m-container {
    display: flex;
    height: 100vh;
    position: relative;
    width: 100%;
    flex-direction: column;
    z-index: 3;
    align-items: center;
}

.song {
    display: none;
}

.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 19em;
    margin: 1em;
    border-radius: 50px 50px 0 0;
    background-size: cover;
}

.description {
    display: flex;
    flex-direction: row;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px 50px 0 0;
    width: 100%;
    height: 12.5em;
}

.progress-container {
    display: flex;
    width: 100%;
    height: inherit;
    background: rgba(0, 0, 0, 0.5);
    justify-content: flex-end;
}

.waveform {
    display: grid;
    width: 80%;
    z-index: 5;
    height: -webkit-fill-available;
    align-items: center;
}

.music-player-container {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
    margin-top: 3em;
}

.duration {
    width: 9em;
    height: 7em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player {
    display: flex;
    width: 60%;
    min-height: 50vh;
    height: auto;
    margin: 0 auto;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    position: relative;
    border-radius: 50px 50px 0 0;
    background: rgba(0, 0, 0, 0.6);
}

.music-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    height: auto;
}

.img-container {
    display: block;
    width: 200px;
    height: 200px;
    background-size: cover;
}

.img-container {
    display: block;
    width: 275px;
    height: 200px;
    background-size: cover;
}

.card-text {
    color: white;
    width: 20em;
    height: 12em;
    padding-left: 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 5;
}

.control-btn {
    border-radius: 50%;
    border: 1px solid white;
    width: 90px;
    height: 90px;
    display: flex;
    margin: 0 1em;
    justify-content: center;
    cursor: pointer;
    align-items: center;
    background-color: transparent;
    transition: background-color 0.3s ease-in;
}

.control-btn:hover {
    background-color: #333;
}

.control-btn.side {
    width: 70px;
    height: 70px;
}

.control-btn img {
    width: 30px;
    height: 30px;
    margin: 2em;
    border: 0px solid white;
    padding: 0em;
}
.playlist-wrapper {
    width: 60%;
    z-index: 1;
    display: flex;
    height: 34vh;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}

.playlist {
    background: transparent;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 34vh;
    overflow-y: scroll;
}

.playlist::-webkit-scrollbar {
    background-color: transparent;
    width: 10px;
}

.playlist::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 150px;
}

.playlist::-webkit-scrollbar-corner {
    background-color: #f1f1f1;
    border-radius: 5px;
}

.playlist-row {
    display: flex;
    justify-content: space-between;
    color: #fff;
    padding: 1em;
    border-bottom: 1px solid white;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s ease-in-out;
}

.playlist-row:hover {
    background-color: rgba(49, 45, 112, 0.5);
}

.playlist-row.selected {
    background-color: rgba(49, 45, 112, 0.8);
}

.spinner {
    width: 56px;
    height: 56px;
    border: 4.5px solid #0000;
    position: absolute;
    z-index: 99;
    border-radius: 50%;
    border-right-color: #ff0404;
    animation: spinner-a4dj62 1s infinite linear;
}

.spinner::before,
.spinner::after {
    content: "";
    grid-area: 1/1;
    margin: 2.2px;
    border: inherit;
    border-radius: 50%;
    animation: spinner-a4dj62 2s infinite;
}

.spinner::after {
    margin: 8.9px;
    animation-duration: 3s;
}

@keyframes spinner-a4dj62 {
    100% {
        transform: rotate(1turn);
    }
}

@media (max-width: 480px) {
    .active {
        width: 100%;
        height: 100%;
        margin: 0;
        z-index: 2;
    }
    .progress-container {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
    }
    .player {
        width: 98%;
    }

    .playlist-wrapper {
        min-width: 98%;
        width: 50%;
    }
    .playlist {
        width: 100%;
        height: 100%;
    }

    .description {
        width: inherit;
    }
}

@media (max-width: 768px) {
    .music-player-container {
        height: auto;
    }

    .controls {
        margin: 1em auto;
        display: flex;
        justify-content: center;
    }

    .player {
        display: block;
        height: 100%;
    }
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100px;
}

.edit {
    display: flex;
    text-decoration: none;
    color: white;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.delete {
    background-color: transparent;
    border: none;
    color: red;
    cursor: grabbing;
}
