@font-face {
    font-family: 'SBSansTextReg';
    src: url('../fonts/sb-sans-text-regular.eot');
    src: url('../fonts/sb-sans-text-regular.otf') format('truetype'),
    url('../fonts/sb-sans-text-regular.ttf') format('truetype'),
    url('../fonts/sb-sans-text-regular.woff') format('woff'),
    url('../fonts/sb-sans-text-regular.woff2') format('woff2'),
    url('../fonts/sb-sans-text-regular.svg') format('svg');
    font-display: swap;
}

.padding {
    display: flex;
    flex-direction: column;
    padding: 32px 16px 32px 16px;
    justify-content: center;
    align-items: center;
}

.videoWrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    padding-left: 16px;
    padding-right: 16px;
}

.iframe {
    border-radius: 25px;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #F2F5F7;
    box-shadow: 0px 8px 32px rgba(50, 97, 128, 0.1);
    border-radius: 16px;
}

.picked-stream {
    background: linear-gradient(129.71deg, #270769 0%, #076289 100.04%);
}

.picked-stream .date{
    background: linear-gradient(25.42deg, #3A57D1 -152.72%, #63C2FF 44.6%, #64C6F4 51.07%, #6AD9BB 89.89%, #6EE792 125.47%, #71F078 154.58%, #72F36F 170.76%);
    padding: 4px 12px;
    color: #F2F5F7;
    opacity: 1;
}

.picked-stream .title{
    color: #F2F5F7;
}

.stream:last-child {
    margin-bottom: 40px;
}

.date {
    height: 32px;
    width: max-content;
    font-family: 'SB Sans Display Regular';
    font-size: 12px;
    color: black;
    opacity: 0.8;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.title {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    margin-top: 8px;
}

.label {
    margin-top: 4px;
    font-family: 'SB Sans Display Regular';
    font-size: 14px;
}

.icon {
    background-image: url("../icons/play.svg");
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 2px;
    background-position: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    margin-right: 8px;
}

.streams {
    margin-top: 40px;
    max-width: 1564px;
    display: flex;
    width: 100%;
    flex-direction: column;
}

.stream:not(:first-child) {
    margin-top: 16px;
}

@media (min-width: 768px) {
    .streams {
        flex-wrap: wrap;
        flex-direction: row;
        position: relative;
    }

    .stream:not(:first-child) {
        margin-top: 0px;
    }

    .iframe {
        border-radius: 30px;
    }

    .padding {
        padding: 40px 24px 40px 24px;
    }

    .stream {
        width: calc(33.333% - 8px);
        height: max-content;
        display: flex;
        align-items: flex-start;
        padding: 24px;
    }

    .stream:nth-child(n + 2) {
        margin-left: 12px;
    }

    .stream:nth-child(n + 4) {
        margin-top: 12px;
    }

    .stream:nth-child(4n) {
        margin-left: 0;
    }

    .label {
        margin-top: 3px;
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .padding {
        padding: 40px 40px 80px 40px;
    }
}

@media (min-width: 1352px) {
    .padding {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 48px 208px 80px 208px;
    }

    .stream {
        width: calc(33.333% - 8px);
    }

    .stream:nth-child(n + 2) {
        margin-left: 12px;
    }

    .stream:nth-child(n + 4) {
        margin-top: 12px;
    }

    .stream:nth-child(4n) {
        margin-left: 0;
    }
}

@media (min-width: 1920px) {
    .videoWrapper {
        max-width: 1564px;
        padding-bottom: 880px;
    }

    .padding {
        padding: 64px 100px 80px 100px;
    }
}