@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');
*{margin: 0;padding: 0;box-sizing: border-box;font-family: 'cairo', sans-serif !important;}
body{
    overflow-x: hidden;
    /* background-image: url('../images/pattern-bg.avif'); */
    background-color: #fcfcfc;
    /* background-image: url('/images/triangles-bg.jpg'); */
    background-image: url('/images/section-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.main-container{
    min-height: 100vh;
    padding-top: 1.5rem;
}
:root{
    --app-clr: #000;
    --app-bg: #fff;
    --secondary-clr: #333;
    --secondary-bg: #ddd;
    --app-clr1: #6c63ff;
    /* --app-clr1: #30638e; */
    --app-clr2: #0F1035;
    --danger-dark: rgb(134, 31, 41);
    --primary-dark: rgb(10, 69, 157);
    --success-dark: rgb(15, 80, 50);
    --warning-dark: rgb(136, 102, 2);
    --move-clr: rgb(94, 0, 177);
    --move-dark: rgb(42, 1, 79);
}

*::-webkit-scrollbar {
    width: .5em;
}
*::-webkit-scrollbar-thumb {
    background: var(--app-clr2);
    cursor: pointer;
    box-shadow: 0px 0px 0px var(--app-clr1) inset;
}
*::-webkit-scrollbar-thumb:hover {
    box-shadow: 0px 0px 5px var(--app-clr2) inset;
}

.main-gradient{
    background-image: linear-gradient(0deg, #333, var(--app-clr1));
}
.btn-main{
    background-image: linear-gradient(45deg, #333, var(--app-clr1));
    color: white !important;
    box-shadow: 0 0 3px #333;
    font-weight: 600;
}
.btn-main:not(.unactive):hover{
    background-image: linear-gradient(-45deg, #333, var(--app-clr1));
    box-shadow: none;
}

.strike{
    position: relative;
    overflow: hidden;
}

.strike::after{
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, .7);
    width: 80px;
    height: 100%;
    transform: skew(30deg);
    top:0;
    left: 140%;
    transition: all .8s linear;
}
.strike:not(.unactive):hover:after{
    left: -100%;
}

.bg-primary{
    background-color: var(--app-clr1) !important;
}
.text-primary{
    color: var(--app-clr1) !important
}
.btn-primary{
    border-color: var(--app-clr1) !important;
    background-color: var(--app-clr1) !important;
}

.white-opacity{
    background-color: rgba(255, 255, 255, .9);
}
.gradient-opacity{
    background: linear-gradient(90deg, rgba(51, 51, 51, 0.7), rgba(107, 99, 255, 0.7));
}

.shadow-lg{
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 69%) !important;
}

.main-hover{
    border: 2px solid transparent;
    border-radius: 10px;
}
.main-hover:hover, .main-hover.active {
    border: 2px solid var(--app-clr1);
    background-color: var(--app-clr1);
    color: white !important;
}

/* home */
.header-container{
    max-width: 1200px;
    min-height: 500px;
    animation: floating 3s linear infinite alternate;
}
.header-container:hover{
    animation-play-state: paused;
}

/* lessons page */
.lesson{
    min-height: 360px;
    position: relative;
}
.lesson.unactive, .position.unactive{
    filter: grayscale(10);
    cursor: not-allowed;
}
.lesson.unactive .btn{
    cursor: not-allowed;
}
.lesson .num{
    position: absolute;
    top: 0;
    right: 5px;
    padding: .5rem .8rem;
    background: linear-gradient(90deg, #333, var(--app-clr1));
    color: #fff;
    font-size: 18px;
    border-radius: 0 0px 10px 10px;
}

/* lesson */

.lesson-title{
    background: linear-gradient(90deg, #333, var(--app-clr1));
    background-clip: text;
    color: transparent;
    font-weight: 900;
    position: relative;
    text-align: center;
    display: table;
    margin-inline: auto;
    margin-block: 1.75rem;
    padding-block: .5rem;
}
/* .lesson-title::after, .lesson-title::before{
    position: absolute;top:50%;left:50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    content: '';
    width: 150%;
    height: 150%;
    border: 4px solid var(--app-clr1);
}
.lesson-title::before{
    transform: translate(-50%, -50%) rotate(2deg);
    border: 4px solid #111;
} */

.lesson-title::after, .lesson-title::before{
    position: absolute;bottom:-10px;left:50%;
    transform: translate(-50%, 0);
    content: '';
    width: 110%;
    height: 5px;
    background: var(--app-clr1);
}
.lesson-title::before{
    bottom:-15px;
    width: 90%;
    background: #111
}
/* .lesson-title-container{
    display: table;
    margin: .5rem auto;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    padding: .5rem 1.2rem;
    text-align: center;
    border: 5px ridge #fff;
} */

.ql-editor p, .ql-editor p * {
    margin: 1rem auto;
    line-height: 1.8rem;
}

.ql-editor ul, .ql-editor ol {
    text-align: start;
    margin-inline-end: 2rem;
}
.ql-editor ol li{
    list-style-type: decimal;
    margin-inline-start: 1rem;
}
.ql-editor ol li::marker{
    font-size: 1rem;
}
.ql-editor img, .ql-editor iframe{
    display: block;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 0 5px var(--app-clr1);
    border-radius: 5px;
    object-fit: cover;
}

.ql-editor iframe{
    min-height: 350px;
}


@keyframes floating {
    100%{transform: translate(0, -20px)}
}