* {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}
  
html, body, pre {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #3E3E3E;
}

pre {
    background-color: #f0f0f0;
    padding: 1em;
    border-radius: 5px;
    margin: 40px 0;

    position: relative;
}

pre div.copyIcon {
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 2px;
    color: #169FF2;
    font-weight: 400;
    font-size: 12px;

    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 10px;
}

pre svg {
    height: 24px;
    cursor: pointer;
}

pre span {
    user-select: none;
}

.content-tutorial {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.content-tutorial .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1040px;
}

.content-tutorial .inner > label {
    margin-top: 60px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
}

.content-tutorial .inner > label.category {
    background: linear-gradient(134.71deg, rgba(0, 176, 255, 0.977355) -0.5%, #861FFC 76.33%, #861FFC 98.45%);
    color: white;
    padding: .5em;
    border-radius: 10px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-tutorial .inner > label:first-letter {
    text-transform: capitalize;
}

.content-tutorial .inner > h1 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
    color: #3E3E3E;
    margin: 48px 0;
    max-width: 800px;
}

.content-tutorial .inner > h2 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    text-align: center;
    color: #5F6368;
    margin: 0 0 40px 0;
    max-width: 800px;
}

.content-tutorial .inner .text {
    margin-top: 28px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-size: 17px;
    line-height: 23px;
    color: #3E3E3E;
    width: 100%;
    max-width: 800px;
}

.content-tutorial .inner .editor {
    max-width: 800px;
    width: 100%;
    padding: 2em 0;

    .editor-paragraph, .editor-list-ul {
        margin: 0;

        .editor-list-ul span, span {
            font-family: 'Open Sans' !important;
            font-style: normal !important;
            line-height: 23px !important;
            color: #3E3E3E !important;
        }

        span {
            font-size: 17px !important;
        }
    }

    .editor-list-ul {
        padding-top: .5em;
        padding-bottom: .5em;
        display: flex;
        flex-direction: column;
        gap: 0;

         span {
            font-size: 16px !important;
            font-weight: 600 !important;
            display: inline-flex;

        }
    }

}

.content-tutorial .inner .text p {
    word-wrap: break-word;
    font-weight: 400;
}

.content-tutorial .inner .text a {
    text-decoration: underline;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 23px;
    color: #169FF2;
}

.content-tutorial .inner .editor ul li  {
    position: relative;
    list-style: none;
    line-height: 36px;
    font-weight: 400;
}

.content-tutorial .inner .editor ul li > p {
    line-height: initial;
}

.content-tutorial .inner .editor ul li:before {
    position: absolute;
    display: flex;
    content-tutorial: " ";
    background: url(/assets/images/list-bullet-check.svg) no-repeat;
    width: 18px;
    height: 18px;
    left: -40px;
    top: 8px;
}

.content-tutorial .inner .text .bnl ul li:before {
    top: 4px;
}

.content-tutorial .inner .share p {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 23px;
    text-align: center;
    color: #3E3E3E;
}

.content-tutorial .share .socials > div {
    display: flex;
    flex-direction: row;
    justify-content-tutorial: center;
    align-items: center;
}

.content-tutorial .share .socials > div .button {
    padding: 0;
    width: 32px;
    height: 32px;
    background: #169FF2;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 8px;
}

.content-tutorial .share .socials > div .button.wa {
    display: none;;
}

.content-tutorial .share .socials > div .button svg {
    width: 16px;
}

.content-tutorial .inner i {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 1;
    left: 50%;
    top: 50%;
    background: rgba(22, 159, 242, 0.80);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: -30px 0 0 -30px;

}

.content-tutorial .inner i > svg {
    width: 24px;
    position: relative;
    left: 1px;
}

.overview-button {
    height: 44px;
    display: flex;
    flex-direction: revert;
    justify-content: center;
    border: 1px solid;
    align-items: center;
    text-decoration: none;
    padding: 0 60px;
    border-radius: 8px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #169FF2;
    border: 1px solid #169FF2;
    transition: color .25s, background .25s ease-out;
}

.overview-button:hover {
    background: #169FF2;
    color: #fff;
}

/* VIDEO TUT */
#theater-mode-video {
    background-color: #020202;
    display: none;
    /* width: 100%; */

    .video {
        width: 100%;
        height: 56.25vw;
        max-height: calc(100vh - 172px);
        position: relative;

        iframe {
            position: absolute;
            width: 100%;
            height: 100%;
        }
    }

    nav {
        height: 60px;
        color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        .button {
            position: relative;
            color: #ffffff;
            padding: 0 12px;
            border-radius: 8px;
            border: 1px solid #fff;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
            font-weight: 400;
            font-size: 18px;
            font-family: 'Open Sans';
            cursor: pointer;
            height: 32px;
            text-decoration: none;
            transition: background-color .25s ease-in-out;

            &:hover {
                background-color: rgba(255, 255, 255, .30);
            }
        }
    }

    &.show {
        display: block;
        margin-top: 15px;
    }
}

.youtube.theater-btn {
    position: relative;
    max-width: 800px;
    width: 100%;

    .video {
        width: inherit;
        height: inherit;
        aspect-ratio: 3 / 2;

        height: 0;
        padding-top: 56.25%;
        position: relative;
        background: #000000;
        border-radius: 10px;

        > iframe {
            position: absolute;
            top: 0;
            left: 0;
            border: 5px;
            width: 100%;
            height: 100%;
            border-radius: 5px;
        }

        &::before { 
            content: 'This video is in theater mode';
            color: #fff;
            height: 24px;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            width: 240px;
            top: 50%;
            position: absolute;
            font-family: 'Open Sans';
            left: 50%;
            margin: -12px 0 0 -120px;
            display: none;
        }    
    }

    .button.theater-mode {
        font-weight: 400;
        font-family: 'Open Sans';
        color: var(--primary, #169ff2);
        background-color: transparent;
        text-decoration: none;
        padding: 0 24px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 48px;
        font-size: 16px;
        box-sizing: border-box;
        border: 1px solid var(--primary, #169ff2);
        border-radius: 8px;
        width: max-content;
        margin: 28px 0;
        display: flex;
    } 


    &.inMode {
        .video {
            iframe {
                display: none;
            }

         &::before { 
            display: flex;
        }

    }
}
}

.content-tutorial > .inner > p.documentation {
    width: 100%;
    max-width: 800px;
    font-weight: 600;
    gap: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #3E3E3E;
    font-weight: 600;

    a {
        color: #169ff2;
        text-decoration: none;
        font-weight: 700;

        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    svg path {
        stroke: #169FF2;
    }
}

.tutorial.share {
    padding: 0;
    border-bottom: .5px solid rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;

    .socials {
        margin: 14px 0;
    }

    .overview-button {
        margin: 50px 0 80px 0;
    }
}

.continue-learning {
    h2 {
        position: relative;
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 40px;
        text-align: center;
        padding-bottom: 30px;
        color: #3E3E3E;
        margin: 80px 0;
    }

    h2::after {
        content: ' ';
        position: absolute;
        width: 32px;
        height: 4px;
        left: 50%;
        margin-left: -16px;
        bottom: 0;
        background: #169FF2;
        border-radius: 2px;
    }
}

.next-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1040px;
    box-sizing: border-box;
    margin-bottom: 5em;

    a.cover {
        margin-bottom: 0;

        .thumbnail {
            margin-bottom: 40px;
        }

        .inner-content-tutorial {
            > h3 {
                font-size: 17px;
            }

            > p {
                font-size: 15px;
            }
        }
    }
}

@media only screen and (max-width: 1200px) {

    .content-tutorial {
        padding: 0 36px;
    }

    .content-tutorial .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 1040px;
        padding: 0 24px;
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 667px) {
    .content-tutorial .inner {
        box-sizing: border-box;
        padding: 0;
    }

    .content-tutorial .inner > h1 {
        font-size: 24px;
        /* max-width: 264px; */
        margin: 20px 0 30px 0;
    }

    .continue-learning {
        h2 {
            padding-bottom: 20px;
            font-size: 24px;
            /* max-width: 320px; */
            margin: 60px 0 40px 0;
        }
    }

    .tutorial.share {
        margin-top: 40px;

        .overview-button {
            margin: 40px 0 40px 0;
        }
    }

    .content-tutorial .inner .editor {
        .editor-list-ul {
            gap: 4px;
        }
    }


    .next-videos {
        display: flex;
        flex-direction: column;
        gap: 30px;

        a.cover {
            .thumbnail {
                margin-bottom: 0;
            }

            .inner-content-tutorial p {
                margin: 0;
            }
        }
    }

    .youtube.theater-btn {
        .video {
            border-radius: 5px;
        }
    }

    .content-tutorial .inner .editor {
        padding: 1em 0;
    }

    .content-tutorial .share .socials > div .button.wa {
        display: flex;
    }
}