* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.music-card {
    padding: 15px 20px;
    background-color: rgb(29, 31, 29);
    max-height: 90%;
    width: 30%;
    text-align: center;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.music-card nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .icon {
    height: 50px;
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
    background-color: transparent;
    outline: 1px solid rgb(29, 31, 29);
    display: flex;
    justify-content: center;
    align-items: center;
    outline-offset: 3px;
    box-shadow: 4px 4px 10px rgb(22, 23, 22), -4px -4px 10px rgb(80, 83, 80);
    cursor: pointer;

}

nav .icon:active {
    transform: scale(1.05);
    background-color: rgb(29, 23, 29);
}

nav .icon i {
    font-size: 2rem;
    color: #fff;
}

.music-card .thumbnail {
    background-image: url(assets/singing-basics.webp);
    height: 250px;
    background-position: center;
    background-size: cover;
    width: 250px;
    border-radius: 50%;
}

.controls {
    margin-top: 40px;
    /* background-color: red; */
    width: 100%;
}

.controls input {
    -webkit-appearance: none;
    width: 90%;
    border-radius: 30px;
    height: 8px;
}

.controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #434445;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

.music-card .media-controls {
    display: flex;
    margin-top: 30px;
    width: 100%;
    /* background-color: red; */
    justify-content: space-around;
    align-items: center;
    margin-bottom: 40px;
}

.media-controls .media-icon {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: transparent;
    outline: 1px solid rgb(29, 31, 29);
    display: flex;
    justify-content: center;
    align-items: center;
    outline-offset: 3px;
    box-shadow: 4px 4px 10px rgb(22, 23, 22), -4px -4px 10px rgb(80, 83, 80);
    cursor: pointer;
    color: #fff;
    font-size: 2rem;
}

.media-controls .media-icon:nth-child(2) {
    height: 80px;
    width: 80px;
    font-size: 3rem;
}

.media-controls .media-icon:active {
    transform: scale(1.05);
    background-color: rgb(29, 23, 29);
}
@media screen and (max-width: 768px) {
    .music-card {
        width: 90%;
    }

    .music-card .thumbnail {
        height: 40vw;
        width: 40vw;
    }

    .controls input {
        width: 80%;
    }

    .media-controls .media-icon {
        height: 4vw; /* Adjusted height using vw unit */
        width: 4vw; /* Adjusted width using vw unit */
        font-size: 2vw; /* Adjusted font-size using vw unit */
    }

    .media-controls .media-icon:nth-child(2) {
        height: 6vw; /* Adjusted height using vw unit */
        width: 6vw; /* Adjusted width using vw unit */
        font-size: 3vw; /* Adjusted font-size using vw unit */
    }
}