.tutorial-box {
    display: flex;
    min-height: calc(100vh - 70px - 70px);
    background-color: white;
    box-sizing: border-box;
    width: 100%;
}

.tutorial-left-box {
    padding: 0 1rem;
    display: flex;
    width: 250px;
    flex-shrink: 0;
    transition: transfrom 0.3s ease;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
    color: white;
}

.sidebar {
    width: 100%;
    height: calc(100vh - 70px);
    flex: 1;
    overflow-y: auto;
    position: sticky;
    top: 70px;
    left: 0;
}

.tutorial-left-box h1 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 2rem 0;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid gray;
    text-align: center;
}

.tutorial-topic-badge{
    border: none;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    text-decoration: underline;
    cursor: pointer;
}

.tutorial-topic-badge:hover{
    color: var(--primary-color-hover);
}

.tutorial-right-box {
    display: flex;
    width: 100%;
}


.tutorial-right-box h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1c0d33;
    /* text-decoration: underline; */
}

.tutorial-content-box{
    width: 100%;
}

.welcome-message {
    width: 100%;
    padding: 2rem 3rem;
    line-height: 1.5rem;
}

.welcome-message h2 {
    color: #1c0d33;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.sidebar-toggler-box {
    position: fixed;
    display: none;
    left: 0.5rem;
    top: 1.5rem;
    cursor: pointer;
    z-index: 9999;
}

.sidebar-toggler-img {
    width: 1.5rem;
    height: 1.5rem;
}

.sidebar-toggler-img:hover {
    width: 1.55rem;
    height: 1.55rem;
}

.tutorial-content {
    line-height: 1.5rem;
    padding: 2rem;
    flex: 1;
    max-width: 100%;
    overflow-x: auto;
    min-width: 0;
}

.extra-infos{
    display: flex;
    /* justify-content: flex-end; */
    width: 100%;
    border-bottom: 1px solid gray;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    gap: 1rem;
}

.extra-infos span{
    font-size: 0.9rem;
    color: gray;
}

.tutorial-content code {
    color: rgba(36, 37, 37, 0.9);
    padding: 0.2em;
}

.tutorial-content pre {
    font-size: 1rem;
    background-color: rgba(36, 37, 37, 0.9);
    color: white;
    padding: 1em 0.7em;
    border-radius: 5px;
    margin: 0.5rem;
    overflow-x: auto;
}

.tutorial-content pre code {
    color: white;
}

.tutorial-content li {
    margin: 1em 2rem;
}

@media (max-width: 768px) {
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(20, 20, 20, 0.5);

        z-index: 7;
    }

    .overlay.active {
        display: block;
    }

    .sidebar-toggler-box {
        display: block;
    }

    .tutorial-left-box.active {
        transform: translateX(0);
    }

    .tutorial-left-box {
        position: fixed;
        left: 0;
        top: 70px;
        z-index: 9;
        transform: translateX(-110%);
        background-color: var(--primary-color);
        box-shadow: 1px 1px 2px 1px var(--primary-color);
        color: white;
    }


}

@media (max-width: 400px) {
    .tutorial-content{
        padding: 2rem 0.5rem;
    }


    .sidebar-toggler-img{
        height: 1.2rem;
        width: 1.2rem;
    }


    .sidebar-toggler-img:hover{
        height: 1.25rem;
        width: 1.25rem;
    }

    .extra-infos{
        flex-direction: column;
        gap: 0.25rem;
    }
}