main {
    margin-bottom: 10rem;
}




.tutorials {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: "Kanit", sans-serif;
    color: var(--clr-light);
    gap: 5rem;
    transition: 21s;
    opacity: 0;
}

.fade{
    transition: 1s;
    opacity: 1;
}

.tutorial__box {
    border-radius: 20px;
    margin: 1rem;
    display: flex;
    gap: 3rem;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    border-top: 2px solid white;
}

.tutorial__text {
    position: relative;
    padding: 1rem;
}



.videos {
    border-radius: 20px;
    max-width: 750px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    margin: 1rem;
    order: 2;
}


.background-image {
    position: absolute;
    z-index: -1;
    mix-blend-mode: hard-light;
    filter: drop-shadow(1px 1px 10px #000000);
}

.b1 {
    left: -0.5rem;
    bottom: -1rem;
    width: 128px;
    opacity: 0.3;
}

.b2 {
    right: -1rem;
    top: -1rem;
    width: 128px;
    opacity: 0.5;
}

.b3 {
    left: -1rem;
    bottom: -1rem;
    width: 160px;
    opacity: 0.8;
}

.b4 {
    right: -1rem;
    top: -1rem;
    width: 192px;
    opacity: 0.4;
}





.tutorial__title {
    font-size: var(--size-xl);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.tutorial__paragraph {
    font-size: var(--size-s);
    color: white;
}











.choose {
    text-align: center;
    display: flex;
    align-items: center;
    color: var(--clr-light);
    margin-bottom: 3rem;
    margin-top: 3rem;
    flex-direction: column;
}

.buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tutorial__choose {
    font-family: "JetBrains Mono", monospace;
    margin-bottom: 2rem;
    font-size: var(--size-1_5xl);
}

.btn {
    font-weight: 500;
    letter-spacing: 0.2em;
    font-size: var(--size-xs);
    padding: 13px 20px;
    border-radius: 9px;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(110, 110, 110, 0.2);
    transition: 0.3s;
    user-select: none;
    text-decoration: none;
    font-family: "Kanit", sans-serif;
    cursor: pointer;
    filter: saturate(0.2);
}

.btn:hover, .btn-input:checked + label {
    transform: translateY(-3px) scale(1.03);
    transition: 0.3s;
    filter: saturate(1);
}

.btn:active {
    transform: scale(1.1);
}

.beginner {
    background-color: var(--clr-bluebutton);
    color: var(--clr-light);
}

.intermediate {
    background-color: var(--clr-button__text);
    color: var(--clr-darkblue);
}

.expert {
    background-color: var(--clr-darkblue);
    color: var(--clr-button__text);
}





@media (min-width: 475px) {
    .tutorial__title {
        font-size: var(--size-1_5xl);
        margin-bottom: 0.3rem;
    }

    .tutorial__paragraph {
        font-size: var(--size-base);
    }

    .tutorial__choose{
        font-size: var(--size-2xl);
    }
}

@media (min-width: 640px) {
    .tutorial__title {
        font-size: var(--size-3xl);
        margin-bottom: 0.3rem;
    }

    .tutorial__paragraph {
        font-size: var(--size-lg);
    }

    .b1 {
        width: 144px;
    }

    .b2 {
        width: 144px;
    }

    .b4 {
        opacity: 0.5;
    }

    .tutorial__text {
        position: relative;
        padding: 1rem;
    }

    .videos {
        max-width: 550px;
        max-height: 400px;
    }

    .btn{
        font-size: var(--size-s);
    }

    .tutorial__choose{
        font-size: var(--size-3xl);
    }
}

@media (min-width: 768px) {
    .tutorial__title {
        font-size: var(--size-3xl);
        margin-bottom: 0.3rem;
    }

    .tutorial__paragraph {
        font-size: var(--size-xl);
    }

    .tutorial__text {
        position: relative;
        padding: 1rem;
    }

    .videos {
        max-width: 550px;
    }
    
    .choose{
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .buttons{
        gap: 5rem;
    }
    .btn{
        font-size: var(--size-base);
    }

    .tutorial__choose{
        font-size: var(--size-3xl);
    }
}

@media (min-width: 1024px) {
    .tutorial__title {
        font-size: var(--size-3xl);
        margin-bottom: 0.3rem;
    }

    .tutorial__paragraph {
        font-size: var(--size-xl);
    }

    .tutorial__box {
        flex-flow: row nowrap;

    }

    .tutorial__text {
        flex: 1 1 400px;
    }

    .videos {
        flex: 1 1 400px;
        order: unset;
    }

    .b1 {
        left: -2rem;
        bottom: -3rem;
        width: 192px;
    }

    .b2 {
        right: -2rem;
        top: -2rem;
        width: 192px;
    }

    .b3 {
        left: -3rem;
        bottom: -3rem;
        width: 192px;
    }

    .b4 {
        right: -3rem;
        top: -3rem;
        width: 256px;
    }
    .choose{
        margin-bottom: 8rem;
    }

    .tutorial__choose{
        font-size: var(--size-4xl);
    }

}

@media (min-width: 1280px) {
    .tutorial__title {
        font-size: var(--size-4xl);
        margin-bottom: 0.3rem;
    }

    .tutorial__paragraph {
        font-size: var(--size-1_5xl);
    }

    .videos {
        max-width: 850px;
    }

    .tutorial__text {
        flex: 1 1 200px;
    }

    .videos {
        flex: 1 1 400px;
        order: unset;
    }
    .choose{
        margin-bottom: 10rem;
    }

    .btn{
        font-size: var(--size-lg);
    }

    .tutorial__choose{
        font-size: var(--size-5xl);
    }

}

@media (min-width: 1536px) {

    .b1 {
        left: -2rem;
        bottom: -3rem;
        width: 256px;
    }

    .b2 {
        right: -2rem;
        top: -2rem;
        width: 256px;
    }

    .b3 {
        left: -3rem;
        bottom: -3rem;
        width: 256px;
    }

    .b4 {
        right: -3rem;
        top: -3rem;
        width: 320px;
    }

    .tutorial__title {
        font-size: var(--size-5xl);
        margin-bottom: 0.3rem;
    }

    .tutorial__paragraph {
        font-size: var(--size-2xl);
    }

    .videos {
        max-width: 950px;
        max-height: 500px;
        height: 600px;
    }

    .tutorials {
        gap: 8rem;
    }

    .buttons{
        gap: 8rem;
        margin-top: 1rem;
    }
    .btn{
        font-size: var(--size-xl);
    }

    .tutorial__choose{
        font-size: var(--size-6xl);
    }


}