body {
    background-color: #000;
    color: #fff;
    position: relative;
}

section {
    padding: 24px;
}

button {
    outline: none;
    border: none;
}

.list-title {
    color: #fff;
    font-size:18px;
}

.playlist-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    overflow-x: scroll;
    margin: auto;
}

.video-item {
    display: block;
    aspect-ratio: 16/9;
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 240px;
    cursor: pointer;
    background-position: center;
    background-size: cover;
}

@media screen and (max-width: 680px){
    .video-item{
        max-width: 500px;
    }
}

.info {
    background: linear-gradient(0deg, #000000ee 25%, #00000000 100%);
    width: 100%;
    height: 100%;
    padding: 8px;
    display: flex;
    grid-gap: 4px;
    align-items: end;
    color: #fff;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.info h5 {
    color: #fff;
}

.video-item:hover .info {
    opacity: 1;
    transition: all .3s ease-in-out;
}

#videoheader {
    width: 100%;
    background-size: 65%;
    background-position: right;
    min-height: 460px;
    margin: 0;
    width: 100%;
    max-width: inherit;
    background-repeat: no-repeat;
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 680px){
    #videoheader{
        background-size: 100%;
        background-position: top;
        align-items: end;
    }
}

#videoheader .container {
    width: 100%;
}

#videoheader h1 {
    font-size: 2.5em;
    color: #fff;
}

#videoheader .info {
    position: relative;
    z-index: 10;
    max-width: 50%;
    height: 100%;
    display: flex;
    align-items: baseline;
    opacity: 1;
    flex-direction: column;
    gap: 16px;
    background: none;
}
@media screen and (max-width: 680px){
    #videoheader .info{
        width:100%;
        justify-content:center;
        text-align:center;
        max-width: 100%;
        align-items:center;
    }
}

#videoheader .gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000 35%, #00000000 100%);
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (max-width: 680px){
    #videoheader .gradient{
        background: linear-gradient(0deg, #000 35%, #00000000 100%);
    }
    #videoheader .container{
        margin:0;
    }
}

/*
*
*   Video player
*
*/

.video-player {
    background-color: #000c;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    backdrop-filter: blur(5px);
}

.video-player i{
    color: #fff;
    font-size:24px;
    position:absolute;
    top: -32px;
    right: 48px;
    cursor:pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    width:100%;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 48px;
  }
  