* {
    margin: 0;
    padding: 0;
    outline: none;
}

#controls {
    display: flex;
}

.caset-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.caset {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
    border: 20px solid black;
    background-color: black;

}

.dot-top-lft {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: -8px;
}

.dot-top-right {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -8px;
}

.dot-botom-right {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    right: -10px;
    z-index: 1;
}

.dot-botom-left {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    left: -10px;
    z-index: 1;
}


.carcas {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: yellow;
    overflow: hidden;


    border-right: 2px solid black;

}

.track-name-body {
    display: flex;
}

.name-track {
    min-width: max-content;
    font-size: 12px;
    color: black;
    text-align: justify;
    margin-top: 20px;
    padding: 0 15px;
    left: 100%;
    position: absolute;
    /*visibility: hidden;*/
    animation-name: text-animation;
    animation-duration: 7s;
    animation-iteration-count: infinite; /* количество применения анимацией - infinite означает бесконечность */
    animation-direction: normal;
    animation-timing-function: linear;


}

.imgdownload {

    border-radius: 50%;
    background-color: yellow;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 10px;
    right: 3px;
    z-index: 5;
    color: yellow;

}


audio {
    width: 100%;
    height: 100%;

}

audio::-webkit-media-controls-enclosure {
    border-radius: 0;
    background-color: black;
}

audio::-webkit-media-controls-panel {

    /* background: linear-gradient(to right, #ccba15, #ee0000);*/
    background-color: yellow;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}


audio::-webkit-media-controls-time-remaining-display {
    font-size: 12px;
    color: white;
    position: absolute;
    right: 30px;
    bottom: 50px;
    z-index: 1;
    padding: 15px 8px;
    border-radius: 50%;
    text-align: center;
    background-color: black;
    box-shadow: 0 0 10px 0 rgba(151, 29, 29, 0.96);
}

audio::-webkit-media-controls-current-time-display {
    bottom: 50px;
    left: 30px;
    font-size: 12px;
    color: white;
    z-index: 1;
    position: absolute;
    padding: 15px 12px;
    border-radius: 50%;
    text-align: center;
    background-color: black;
    box-shadow: 0 0 10px 0 rgba(151, 29, 29, 0.96);
}

audio::-webkit-media-controls-timeline {
    margin-left: 15px;
}


/*
.downblack {
    background-color: black;
    width: 100%;
    height: 35px;
    margin-top: auto;
}
*/

/*

audio {
    width: 230px;
    height: 150px;
    position: absolute;
    bottom: 0;

}

audio::-webkit-media-controls-panel {
    background-color: red;

}

audio::-webkit-media-controls-play-button {
    margin-top: -110px;
    margin-left: 30px;
    width: 35px;
    height: 35px;
    background-color: #1abc9c;
    z-index: 1;
    position: absolute;
    border-radius: 50%;
}


audio::-webkit-media-controls-time-remaining-display {
    font-size: 14px;
    margin-top: 30px;
    color: white;
    position: absolute;
    right: 30px;
    bottom: 5px;
}

audio::-webkit-media-controls-current-time-display {
    margin-top: -110px;
    margin-left: 80px;
    width: 35px;
    height: 35px;
    color: white;
    background-color: black;
    z-index: 1;
    position: absolute;

}

audio::-webkit-media-controls-timeline {
    position: absolute;
    left: 10px;
    width: 180px;
    color: whitesmoke;
    margin-top: -60px;
    font-size: 20px;
}

audio::-webkit-media-controls-mute-button {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: white;
    border-radius: 5px;
    width: 30px;
    height: 30px;
}


audio:: {
    background-color: #4cff00;
}


audio::-webkit-media-controls-volume-slider-container {
    margin-top: 20px;
    width: 20px;
    position: absolute;
    left: 10px;
    bottom: 0;
}

audio::-webkit-media-controls-volume-slider {
    margin-top: 20px;
    width: 90px;
    position: absolute;
    left: 10px;
    bottom: 10px;

}

audio::-webkit-media-controls-volume-container {
    margin-top: 20px;
    width: 90px;
    position: absolute;
    left: 10px;
    bottom: 10px;
}

audio::-webkit-media-controls-enclosure {
    border-radius: 0;

}

*/

/*
@keyframes text-animation {
    0% {
        right: -200px;
        visibility: hidden;
    }

    50% {
        right: 0;
        visibility: visible;
    }


    100% {
        right: 8px;
        visibility: visible;
    }
}
*/

@keyframes text-animation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 218px));
    }
}

@media screen and (min-width: 600px) {
    audio {
        width: 100%;
        height: 100%;
    }
}
