.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    width: 80%;
    margin-right: 10px;
}

.play-pause {
    width: 30px;
    height: 30px;
    background: #33333300;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.play-pause:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: translate(-50%, -50%);
}

.play-pause.paused:before {
    clip-path: polygon(0 0, 0 100%, 40% 100%, 40% 0, 60% 0, 60% 100%, 100% 100%, 100% 0);
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.progress {
    height: 100%;
    width: 0%;
    background-color: #333;
    transition: width 0.1s linear;
}

#ukazky{
    height: 96vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgb(20,20,20);
    color: #fff;
}
#ukazky h1{
    font-size: 3vw;
    margin: 0;
}
#ukazky h2{
    font-size: 2vw;
    margin: 0;
}
#ukazky-sekce{
    display: flex;
    width: 80vw;
    height: 60vh;
    justify-content: space-around;
    align-items: center;
}
.ukazky-karta {
    background-color: rgba(0, 0, 0, 0.252);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 25%;
    height: 80%;
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

@media (max-width: 640px) {
    #ukazky {
        padding: 10vh 0;
        height: 80vh;
        justify-content: space-between;
    }
    #ukazky-sekce{
        flex-direction: column;
        gap: 20px;
    }
    .ukazky-karta{
        width: 80vw;
    }
    .custom-audio-player{
        margin: 0;
    }
    #ukazky h1 {
        font-size: 7vw;
    }
    #ukazky h2 {
        font-size: 5vw;
    }
}