/* Header */
header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header {
    display: flex;
    width: 660px;
    height: 100px;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 15px 10px;
    background-color: var(--primary-color);
    border-radius: 20px;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 0;
    box-shadow: 0 0 10px 2px var(--secondry-color);
}

.profile-picture img {
    width: 70px;
    border-radius: 90%;
    transition: border-radius 0.5s ease;
    transition: width 0.15s ease;
}

.profile-picture img:hover {
    border-radius: 15%;
    width: 80px;
}

.profile-picture {
    margin-left: 15px;
    margin-top: 5px;
}

.title {
    margin-right: 20px;
    text-decoration: none;
    color: var(--secondry-color);
    text-align: right;
    text-wrap: wrap;
    font-size: 15px
}

.dp-titel {
    text-decoration: none;
    color: #fdba01;
    text-align: center;
    text-wrap: wrap;
    font: var(--roboto-bold);
    font-size: clamp(20px, 6vw, 40px);
}

.titel-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
}

.discription {
    max-width: 400px;
    /* min-width: 280px; */
    text-align: justify;
    font-size: clamp(15px, 2vw, 20px);
    color: #dffd01;
}


/* Main */

main{
    display: flex;
    margin: 0 auto;
    max-width: var(--big-width);
    justify-content: center;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    padding: 10px;
    width: 100%;
    height: fit-content;
    overflow: hidden;
    border: 5px solid var(--secondry-color);
    border-radius: 20px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px 2px var(--secondry-color);
}

.background-container {
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Layer for background images */
.background-layer {
    position: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(.25vw);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}

/* Class for active background with opacity */
.active {
    opacity: .25;
}

.top_div {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    border: 3px solid #dffd01;
    border-radius: 20px;
    background-color: #6b32c9;
    object-fit: cover;
    overflow: hidden;
    width: clamp(290px, 100%, 660px);
    height: fit-content;
    justify-content: center;
    align-items: center;
    align-content: center;
    box-shadow: 0 0 5px;
    gap: 10px;
    padding: 10px 0;
    margin: 0 12px;
}

.link_div {
    display: flex;
    /* list-style: none; */
    gap: 10px;
}

.link-image {
    fill: #dffd01;
    transition: fill 0.25s ease;
}

.link-image:hover {
    fill: #fdb601;;
}

/* Links */
.link_icon {
    width: 40px;
    height: auto;
}

/* #link_icon_amazon{
    width: 45px;
    height: 45px;
} */

.link {
    text-decoration: none;
    font: var(--roboto-regular);
    font-size: 20px;
    color: black;
    width: 200px;
}

.links {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.podcast {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-between;
    margin: 10px 7px 0;
    width: clamp(290px, 100%, 660px);
    gap: 10px;
}
/* Audio Player */

.audio-player-div{
    display: flex;
    width: 100%;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 5px;
    transition: width .3s ease;
}

.audio-player {
    --player-button-width: 3em;
    --sound-button-width: 2em;
    --space: .5em;
    list-style: none;
    border: 3px solid #dffd01;
    border-radius: 20px;
    background-color: #6b32c9;
    object-fit: cover;
    overflow: hidden;
    /* width: 300px; */
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
    box-shadow: 0 0 5px #6b32c9;
    transition: width .3s ease;
}

/* .audio-player:hover{
    z-index: 2;
    width: 350px;
    transition: width .3s ease;
}
 */


/* .audio-player-div:hover{
    width: 800px;
    overflow: visible;
}
 */
.podcast-cover {
    width: 25%;
    height: auto;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-right: 3px solid #dffd01;
}



.cover {
    width: 40px;
}

.cover-img {
    width: 100%;
    height: auto;
    /* 
    margin: 10px 10px; */
    border-radius: 5px;
    box-shadow: 0 0 2.5px;
}

.audio-title {
    text-align: center;
    width: var(--audio_titel);
    font: var(--roboto-bold);
    font-size: clamp(17px, 10vw, 25px);
    color: #dffd01;
    padding: 0;
    margin: 0;
    width: clamp(10px, 100%, 100px);
    order: 2;
}

.controls {
    /* --margin-width: 7px; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    /* width: calc(100% - var(--margin-width) * 3); */
    width: 75%;
    /* margin: 10px var(--margin-width); */
    margin: 0 10px;
    height: 100%;
    /* min-height: 1em; */
    gap: 0;
}

.player-button-style {
    background-color: transparent;
    border: 0;
    color: #dffd01;
    width: var(--player-button-width);
    height: var(--player-button-width);
    cursor: pointer;
    padding: 0;
    order: 1;
}

.sound-button-style {
    background-color: transparent;
    border: 0;
    width: var(--sound-button-width);
    height: var(--sound-button-width);
    color: #dffd01;
    cursor: pointer;
    padding: 0;
    order: 3;
}

svg {
    vertical-align: middle;
    display: block;
    transition: fill 0.3s ease;
}

.player-button-style,
.sound-button-style {
    padding: 0;
    margin: 0;
}

.sound-button-style svg,
.player-button-style svg {
    fill: #dffd01;
}

.timeline-style {
    background-color: #430f97;
    background-image: linear-gradient(#dffd01, #dffd01);
    -webkit-appearance: none;
    /* width: calc(100% - (var(--player-button-width) + var(--sound-button-width) + var(--space) + var(--audio_titel))); */
    width: 100%;
    height: 1.75em;
    border-radius: 20px;
    background-size: 0% 100%;
    background-repeat: no-repeat;
    margin-right: var(--space);
    margin: 0;
    order: 4;
}

.timeline-style::-webkit-slider-thumb {
    background-color: #dffd01;
    border: 2px solid black;
    -webkit-appearance: none;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all .1s;
    transition: opacity 0.25s ease;
}

.timeline-style::-moz-range-thumb{
    background-color: #dffd01;
    border: 2px solid black;
    -webkit-appearance: none;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all .1s;
    transition: opacity 0.25s ease;
}
.timeline-style::-ms-thumb {
    background-color: #dffd01;
    border: 2px solid black;
    -webkit-appearance: none;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all .1s;
    transition: opacity 0.25s ease;
}

.timeline-style::-webkit-slider-thumb:hover {
    background-color: #dffd01;
    border: 2px solid black;
}

.timeline-style::-moz-range-thumb:hover {
    background-color: #dffd01;
    border: 2px solid black;
}

.timeline-style::-ms-thumb:hover {
    background-color: #dffd01;
    border: 2px solid black;
}

.timeline-style:hover::-webkit-slider-thumb {
    opacity: 1;
}

.timeline-style:hover::-moz-range-thumb {
    opacity: 1;
}

.timeline-style:hover::-ms-thumb {
    opacity: 1;
}

.timeline-style::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.timeline-style::-moz-range-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.timeline-style::-ms-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.sound-button-style svg:hover,
.player-button-style svg:hover{
    fill: #fdb601;
}


.footer {
    display: flex;
    justify-content: center;
}

/*  Media Queries */ 

@media only screen and (max-width: 450px) {
    .discription {
        width: calc(100% - 5px*2);
        text-wrap: wrap;
        margin: 0 5px;
    }

    .title{
        margin-right: 10px;
        width: 200px;
    }
}

@media only screen and (max-width: 680px) {
    .title {
        font-size: 10px;
        margin-right: 15px;
        text-align: justify;
    }
}

@media only screen and (max-width: 700px){

    /* .audio-player-div{
        flex-direction: column;
    }
 
    .audio-player{
        flex-direction: row;
        justify-content: center;
        align-items: center;
    } */

    /* .podcast{
        width: 100%;
    } */
    .podcast-cover{
        width: 25%;
        border-bottom: none;
        border-right: 3px solid #dffd01;
    }
    .controls{
        width: 75%;
        flex-wrap: wrap;
        margin: 10px 10px;
        /* height: 60px; */
    }

    .player-button-style{
        order: 1;
    }

    .audio-title{
        order: 2;
    }

    .sound-button-style{
        order: 3;
    }

    .timeline-style{
        order: 4;
        width: 100%;
        margin: 0;
    }
}

@media only screen and (max-width: 1050px) {
    .main {
        margin: 0 10px;
    }
}