html, body {
    height: 100%;
}

* {
    box-sizing: border-box;
}

header {
    background: #070707;
    z-index: 4;
    padding-bottom: 50px;
}


h1 {
    white-space: nowrap;
    z-index: 2;
    position: relative;
    margin-top: 110px;
}

.tabs {
    overflow: hidden;
    margin-top: 40px;
    padding-bottom: 40px;
}

.tablist {
    display: flex;
    gap: 24px;
}

.tab {
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .12s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
    position: relative;
    font-size: 14px;
    line-height: 1.1;
}

.tab.is-active {
    color: #000000;
    background: #ffffff;
}

.panel {
    display: none;

}

.panel.is-active {
    display: grid;
    padding: 64px 0 0;
}

.tabs .panels .panel {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 56px;
}

.tabs .panels .panel .descr {
    display: flex;
    gap: 16px;
}

.tabs .panels .panel .descr .year {
    color: #404040;
}

.video .video_container {
    width: 100%;
    height: 250px;
    transition: transform 0.5s ease;
    position: relative;
}

.video:hover .video_container {
    transform: scale(1.05);
    z-index: 3;
}

.video .video_container iframe {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.video {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video .descr {
    font-weight: 500;
    font-size: 14px;
}

.mobile {
    display: none;
}



@media (max-width: 960px) {
    html, body {
        overflow: auto;
    }

    header {
        padding-bottom: 0;
    }

    h1 {
        position: relative;
        font-size: 40px;
        top: 0;
        order: 2;
        margin-top: 50px;
    }

    .tab {
        font-size: 14px;
        white-space: nowrap;
    }

    .tablist {
        overflow: auto;
        padding-bottom: 20px;
    }

    .tabs .panels .panel {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .tabs .panels .panel .descr {
        margin-top: 16px;
    }

    .video:hover .video_container {
        transform: none;
        z-index: 3;
    }
    .video .video_container {
        height: 193px;
    }
    .mobile {
        display: block;
    }
    .desktop {
        display: none;
    }


}