.top-bar {
    display: inline;
    margin: 50px 10% 30px;
}

.live-player-container{
    /* width: 842px; */
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.off-air{
    width: 100%;
    transform: scale(1.1);
}

.close-player {
    color: white;
    text-decoration: none;
    font-family: 'comfortaa', sans-serif;
    float: right;
    margin: 0 10%;
}

.player-main {
    background-color: black;
    padding: 40px;
    margin: 100px 10%;
    margin-top: 20px;
    border-radius: 10px;
    display: flex;
}

iframe {
    border-radius: 10px;
}

h1 {
    color: white;
    font-family: 'Comfortaa', sans-serif;
    margin: 10px 10%;
    margin-bottom: 0;
}

h2 {
    color: white;
    font-family: 'comfortaa', sans-serif;
    margin-left: 30px;
    font-size: 28px;
    font-weight: 500;
    border-bottom: 1px solid #5f5f5f;
    padding-bottom: 20px;
}

p {
    color: white;
    font-family: 'comfortaa', sans-serif;
    margin-left: 30px;
}

.rating {
    color: #4A76B6;
}

.player-text {
    display: block;
    /* flex-shrink: 150; */
    width: 340px;
}

.episode-date {
    margin: 0;
    color: #5f5f5f;
    font-family: 'Comfortaa', sans-serif;
    margin-top: 5px;
    margin-left: 30px;
    font-size: 12px;
}

.error-container{
    background-image: linear-gradient(to bottom left, #4A76B6, #262D4B);
    padding: 40px;
    margin: 100px 10%;
    margin-top: 20px;
    border-radius: 10px;
}
.error-h3{
    color: white;
}

.error-p{
    margin: 0;
    margin-top: 10px;
    margin-right: 60%;
    line-height: 20px;
}


.player-msg{
    width: 854px;
    height: 480px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to bottom left, #4A76B6, #262D4B);
}

.player-msg-p{
    text-align: center;
    margin: 0 3%;
    line-height: 25px;
    font-size: 20px;
}

.player-msg-link{
    color: white;
}

.player-container iframe{
    aspect-ratio: 16 / 9;
    height: auto;
    width: 100%;
}

.player-container{
    width: 100%;
}



@media only screen and (max-width: 1350px) {

/* .player-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    /* display: none;
}

.player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */
.error-p{
    margin-right: 0;
}
}

@media only screen and (max-width: 1000px) {

    .player-main {
        background-color: black;
        padding: 20px;
        margin: 5%;
        margin-top: 10px;
        border-radius: 10px;
        flex-wrap: wrap;
    }

    .player-text {
        display: block;
        flex-shrink: 1;
    }

    .player-text{
        margin-top: 20px;
        width: 100%;
    }

    h2{
        margin: 0;
        padding-bottom: 10px;
        font-size: 24px;
    }

    .episode-date{
        margin: 0;
        margin-top: 5px;
    }

    p{
        margin: 0;
        margin-top: 10px;
    }

    .error-p{
        margin-right: 0;
    }

    .player-msg{
        width: 100%;
        height: 150px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: linear-gradient(to bottom left, #4A76B6, #262D4B);
    }
    
    .player-msg-p{
        text-align: center;
        line-height: 20px;
        font-size: 14px;
    }
}