main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-banner {
    height: 60vh;
    background-position: center bottom;
}

main .player-container {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;

    background-color: #82938a;

    .player {
        width: 1000px;
        max-width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 20px 0;

        .all-podcasts-header {
            align-self: flex-start;

            a {
                display: block;

                font-family: Oswald;
                font-size: var(--body);
                font-weight: 200;
                color: #FFFFFF;
                text-decoration: none;
            }
        }

        .podcast-meta {
            display: flex;
            flex: 1 0 0;
            gap: 60px;
            align-items: center;
            
            .podcast-thumbnail-image {
                display: block;
                width: 300px;
                max-width: 30%;
                border-radius: 6px;
            }

            .podcast-title {
                font-family: Oswald;
                font-size: var(--h1);
                font-weight: 400;
                color: #FFFFFF;
                line-height: 1.3em;
            }

            .podcast-episode {
                font-family: Oswald;
                font-size: var(--body);
                font-weight: 200;
                color: #FFFFFF;
            }
        }
    
        .podcast-player {
            flex: 1 0 0;
            width: 100%;
        }
        .player-controls {
            flex: 1 0 0;
            display: flex;
            flex-direction: column;
            align-items: center;

            .progress-container {
                width: 100%;
                display: flex;
                align-items: center;
                gap: 12px;
                color: #FFFFFF;
                font-variant-numeric: tabular-nums;

                .time-stamp {
                    font-family: monospace;
                    font-size: var(--body);
                }
                
                .progress-bar {
                    --progress: 0%;
                    position: relative;
                    flex: 1;
                    min-width: 0;
                    height: 24px;
                    overflow: hidden;
                    border-radius: 999px;
                    cursor: pointer;
                    touch-action: none;

                    &::before {
                        position: absolute;
                        z-index: 1;
                        top: 50%;
                        left: 0;
                        width: var(--progress);
                        height: 6px;
                        border-radius: inherit;
                        background-color: #FFFFFF;
                        content: "";
                        transform: translateY(-50%);
                    }

                    &::after {
                        position: absolute;
                        z-index: 0;
                        inset: 50% 0 auto;
                        height: 6px;
                        border-radius: inherit;
                        background-color: rgba(255, 255, 255, 0.35);
                        content: "";
                        transform: translateY(-50%);
                    }
                }
            }

            .controls {
                display: flex;
                align-items: center;
                gap: 6px;

                color: #FFFFFF;
                font-size: 40px;
                
                .player-control {
                    display: block;

                    svg, svg * {
                        min-height: 40px;
                        fill: #FFFFFF;;
                        stroke: #FFFFFF;
                    }
                }
            }
        }
    }

    @media screen and (max-width: 767px) {
        .player {
            .podcast-meta {
                flex-direction: column;
                gap: 40px;
    
                .podcast-thumbnail-image {
                    width: 400px;
                    max-width: 100%;
                }
    
                .podcast-title {
                    font-size: var(--h1);
                }
    
                .podcast-title, .podcast-episode {
                    display: block;
                    text-align: center;
                }
            }
        }
    }
}

main .podcast-description {
    width: 1000px;
    max-width: 90%;
    padding: 40px 0;

    font-family: Poppins;
    font-family: var(--body);
    color: var(--coffee);
}