body {
    background-color: #DFDFDF;
}

.tutorial {
    margin-top: 80px;
}

.tutorial-steps {
    counter-reset: step-count;
    display: grid;
    grid-auto-flow: column;
    width: 100%;
    grid-auto-columns: 1fr;
    column-gap: 20px;
}

.tutorial-steps .tutorial-step {
    counter-increment: step-count;
    position: relative;
    font-weight: 700;
    font-size: 13px;
    border-radius: 5px;
    padding: 15px;
    display: grid;
    grid-template-columns: max-content auto;
    column-gap: 8px;
    background-color: #C4C4C4;
    color: #031B4F;
}

.tutorial-steps .tutorial-step:hover {
    cursor: pointer;
}

.tutorial-steps .tutorial-step.active {
    background-color: #031B4F;
    color: white;
}

.tutorial-steps .tutorial-step::before {
    content: counter(step-count) ".";
    font-weight: 500;
    font-size: 16px;
    transform: translateY(-3px);
}

.tutorial-step-body {
    margin-top: 50px;
    padding: 0 250px;
}

.tutorial-step-body .tutorial-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.tutorial-step-body .tutorial-video:hover {
    cursor: pointer;
}

.tutorial-step-body .tutorial-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.tutorial-step-body .tutorial-video .tutorial-video-thumbnail {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.tutorial-step-body .tutorial-step-description {
    font-size: 14px;
    color: #767676;
    margin-top: 15px;
}

.discord-invite {
    position: fixed;
    bottom: 10px;    
    text-align: right;
    width: 100%;
}

@media screen and (max-width: 800px) {
    .tutorial-steps {
        grid-auto-columns: unset;
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row;
        row-gap: 10px;
    }

    .section.tutorial {
        padding: 0 20px 30px 20px;
    }

    .tutorial-step-body {
        padding: 0;
        margin-top: 20px;
    }

    .discord-invite {
        display: none;
    }

    .tutorial-step-body .tutorial-video::after {
        width: 102px;
        height: 72px;
    }
} 