@font-face {
    font-family: 'Video Instructions Ermilov';
    src: url('../fonts/video-instructions/Ermilov-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Video Instructions Fixel';
    src: url('../fonts/video-instructions/FixelText-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.video-instructions {
    background: #fcfcff;
    padding: 80px 0 84px;
}

.video-instructions .container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-instructions .nav,
.video-instructions .nav a,
.video-instructions .nav span {
    font-family: 'Video Instructions Fixel', sans-serif;
    font-size: 16px;
    line-height: 1;
    color: #7B7E8C;
    text-decoration: none;
}

.video-instructions .nav span {
    color: #282B38;
}

.video-instructions h1,
.video-instructions h2 {
    font-family: 'Video Instructions Ermilov', sans-serif;
    text-align: center;
    line-height: 1;
    overflow-wrap: anywhere;
}

.video-instructions h1 {
    margin: 32px 0 48px 32px;
    font-size: 48px;
    font-weight: 700;
    color: #282B38;
    background: linear-gradient(180deg, #424554 16.07%, #282B38 100%);
    background-clip: text;
}

.video-instructions h2 {
    margin-bottom: 36px;
    font-size: 36px;
    font-weight: 400;
    color: #000;
}

.video-instructions .video-tutorials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-instructions .video_frame {
    margin-bottom: 32px;
}

.video-instructions video {
    max-height: 585px;
}

@media (max-width: 1250px) {
    .video-instructions {
        padding: 113px 0 56px;
    }
}

@media (max-width: 650px) {
    .video-instructions .container {
        padding: 0 15px;
    }
}

@media (max-width: 500px) {
    .video-instructions {
        padding-top: 70px;
    }

    .video-instructions .nav,
    .video-instructions .nav a,
    .video-instructions .nav span {
        font-size: 14px;
    }

    .video-instructions h1 {
        font-size: 34px;
        margin: 18px 0 24px;
    }

    .video-instructions h2 {
        font-size: 28px;
    }
}
