@import url(global.css?v=2);

body{
    margin: 0;
    padding: 0;
    background-color: var(--bg);
}

.container{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    margin: 1rem 0px;
}

.article-container::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 250px;
    background-color: var(--sec-color);
    border-radius: 100%;
    filter: blur(200px);
}
.article-container::before{
    content: '';
    position: absolute;
    right: 0;
    top: 300px;
    width: 250px;
    height: 250px;
    background-color: crimson;
    border-radius: 100%;
    filter: blur(200px);
}


.article-container{
    position: relative;
    width: 75%;
    min-height: 100vh;
    display: flex;
    align-items: start;
    /* background-color: orange; */
    flex-direction: column;
}

.article-right-side{
    position: relative;
    width: 20%;
    margin: 0px 30px;
    display: flex;
    /* background-color: red; */
    justify-content: start;
    align-items: end;
    flex-direction: column;
    height: 200vh;
}



.article-right-side::after{
    content: '';
    position: absolute;
    left: 0;
    top: 200px;
    width: 250px;
    height: 250px;
    background-color:cornflowerblue;
    border-radius: 100%;
    filter: blur(200px);
    pointer-events: none;
}

.article-content-container{
    position: relative;
    width: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: red; */
    /* margin-left: 50px; */
    width: 100%;
}


.article-content-container>img{
    max-width: 95%;
    min-width: 800px;
    margin: 10px;
    border-radius: 25px;
}

.article-content-container>h1{
    font-family: font;
    width: 95%;
    text-align: right;
    color:white;
    font-weight: bolder;
}

.article-info{
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 2rem;
    color:rgb(223, 223, 223);
    font-family: font;
    border-bottom: 1px solid rgba(134, 134, 134, 0.1);
    border-top: 1px solid rgba(134, 134, 134, 0.1);
    padding: 10px 0px;
}

.article-info .article-publish-date{
    color:#b28cfd;
    background-color: #c5aff344;
    padding: 10px 30px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 10px;
}

.article-real-content{
    position: relative;
    width: 95%;
    height: max-content;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    background-color: #090c16; 
    margin-top: 10px;
    /* z-index: 3; */
}

.article-real-content h2, .article-real-content h3, .article-real-content h4, .article-real-content h5, .article-real-content h6 , .article-real-content p , .article-real-content code{
    padding: 0px 20px;
}

.article-real-content a
{
    color:#2884c2;
    text-decoration: none;
}

.article-real-content code{
    background-color: #181a20; 
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 10px;
    text-align: left;
    direction: ltr;
}

.ql-editor {
    width: 95% !important;
}
.ql-editor .ql-syntax{
    background-color: #21242e !important;
    border-radius: 5px;
    padding: 10px 0px;
}

.ql-editor img{
    max-width: 100%;
}

.article-real-content *{
    /* width: 98%; */
    font-family: font;
    color:white;
    text-align:right;
}

.article-real-content img{
    margin: auto !important;
    border-radius: 10px;
}

.article-real-content p{
    color:rgb(206, 206, 206);
    line-height: 33px;
}

.ql-align-right{
    text-align: right;
}

.ql-direction-rtl{
    direction: rtl;
}


.article-real-content::after{
    content: '';
    position: absolute;
    left: 0;
    z-index: -3;
    top: 10%;
    width: 250px;
    height: 250px;
    background-color:cornflowerblue;
    border-radius: 100%;
    filter: blur(200px);
    pointer-events: none;
}

.article-real-content::before{
    content: '';
    position: absolute;
    right: 0;
    z-index: -3;
    top: 60%;
    width: 250px;
    height: 250px;
    background-color:rgba(255, 140, 0, 0.438);
    border-radius: 100%;
    filter: blur(200px);
    pointer-events: none;
}

.linked-articles{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 90%;
    height: max-content;
    margin-top: 10px;
    backdrop-filter: blur(10px);
    background-color: #090c16;
    /* z-index: 1; */
    border-radius: 10px;
}

.article-info a{
    color:#2884c2;
    text-decoration: none;
}

#editor{
    cursor: default !important;
}


.linked-articles span{
    color:white;
    font-family: font;
    padding: 10px 0px;
    width: 95%;
    font-size: 0.9rem;
    font-weight: normal;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.144);
}

.row-share-buttons{
    position: relative;
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.row-share-buttons button{
    background-color: #181a20;
    /* border: none; */
    width: 23%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin: 10px 0px;
    border: none !important;
    border-radius: 10px;
    cursor: pointer;
    transition: 500ms;
}

.row-share-buttons button:hover{
    background-color: #12172a;
}

.row-share-buttons button i {
    color:white;
    font-size: 1.5rem;
}

.linked-articles a{
    position: relative;
    color:rgb(196, 194, 194);
    font-family: font;
    width: 85%;
    font-weight: lighter;
    text-decoration: none;
    font-size: 0.8rem;
    text-align: right;
    background-color: #0f1322;
    margin: 10px 0px;
    border-radius: 10px;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
}

.linked-articles a::after{
    content: '';
    position: absolute;
    width: 60%;
    height: 5px;
    left: 20%;
    bottom: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #5b28c2;
    transition: 500ms;
}

.linked-articles a:hover::after{
    background-color: #2884c2;
    box-shadow: 0 0 10px #2884c2;
}

.course-like-box{
    position: relative;
    width: 90%;
    height: 100px;
    background-color: #090c16;
    border-radius: 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row-reverse;
    margin: 10px 0px;
}

.course-like-box button{
    width: 60px;
    background-color: rgba(240, 248, 255, 0.185);
    border: none;
    cursor: pointer;
    height: 60px;
    color:rgb(116, 116, 116);
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    cursor: pointer;
    transition: 500ms;
}


.course-like-box button i{
    transform: translateY(3px);
    color:rgb(189, 189, 189);
    transition: 500ms;
    pointer-events: none;
}

.course-like-box button:hover{
    transform: scale(1.05);
}

.course-like-box button:hover i {
    color:white;
    filter: drop-shadow(0 0 10px white);
}

.course-like-box button[active]{
    background-color: rgba(220, 20, 60, 0.226);
}

.course-like-box button[active] i{
   color: rgb(248, 13, 60);
}

.course-like-box button[active]:hover i{
    color: rgb(248, 13, 60);
    filter: drop-shadow(0 0 10px rgb(248, 13, 13));

 }
 

.course-like-box span{
    direction: rtl;
    margin: 0px 10px;
    font-family: font;
    color:white;
    font-size: 1.2rem;
}

.course-like-box span{
    font-size: 0.9rem;
    color:rgb(189, 189, 189);
}

.course-like-box span span{
    font-size: 2rem;
    color:white;
}

.download-article-as-pdf{
    width: 90%;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: row-reverse;
    height: 100px;
    background-image: linear-gradient(60deg, #5b28c2, var(--sec-color));
    font-family: font;
    border: none;
    color:white;
    gap: 10px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 500ms;
}

.download-article-as-pdf span{
    direction: rtl;
}

.download-article-as-pdf i{
    margin: 0 10px;
    font-size: 2rem;
}

.download-article-as-pdf:hover{
    transform: scale(1.05);
}

.empty-comment-container{
    position: relative;
    width: 80%;
    padding: 10px 0px;
    border: 2px dashed rgb(128, 128, 128) !important;
    border-radius: 10px;
    color:white;
    text-align: center !important;
    margin: 10px 0px;
}

.linked-course-box{
    position: relative;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0px;
    border-radius: 10px;
    transition: 500ms;
}


.linked-course-box img{
    width: 90%;
    transition: 500ms;
    border-radius: 10px;
}

.linked-course-box:hover{
    transform: scale(1.05);
    /* object-fit: cover; */
}

.linked-course-box span{
    width: 90%; 
    border: none !important;
    direction: rtl;
}

.about-hivoo-team{
    width: 95%;
    border-radius: 10px;
    margin: 10px 0px;
    background-color: #090c16;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.about-hivoo-team img{
    width: 150px;
    transform: scaleX(-1);
}

.about-hivoo-text{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: end;
    font-family: font;
    color: white;
    font-weight: bolder;
    font-size: 1.3rem;
    padding: 0px 10px;
}

.about-hivoo-text p {
    text-align: right;
    font-size: 0.9rem;
    font-weight: lighter;
    color:rgb(189, 189, 189);

}


.article-category-design{
    position: relative;
    background-color: #2884c22c;
    padding: 10px 30px;
    border-radius: 10px;
    transition: 500ms;
    cursor: pointer;
}

.article-category-design:hover{
    background-color: #2884c26c;
}


@media only screen and (max-width:1280px) {
    .linked-articles{
        width: 100%;
    }

    .course-like-box{
        width: 100%;
    }

    .download-article-as-pdf{
        width: 100%;
    }

    .article-content-container>img{
        min-width: 100%;
    }
}

@media only screen and (max-width:990px) {
    .container{
        flex-direction: column;
    }

    .article-content-container>img{
        min-width: 95%;
    }

    .article-container{
        width: 100%;
    }

    .article-real-content h2{
        font-size: 1.1rem !important;
    }
    .article-real-content p{
        font-size: 0.8rem !important;
        line-height: 26px;
    }

    .article-real-content img{
        width: 95%;
        height:auto !important;
    }


    .article-content-container>h1{
        font-size: 1.3rem;
    }

    .article-info{
        font-size: 0.8rem;
    }
    .article-content-container{
        width: 100%;
        margin: 0;
    }

    .about-hivoo-text{
        flex-direction: column;
        text-align: center;
    }

    .about-hivoo-team img{
        width: 70px;
        height: 70px;
        object-fit: cover;
        background-color: rgba(128, 128, 128, 0.2);
        border-radius: 100%;
        margin: 10px 0px;
    }
    .article-info .article-publish-date{
        padding: 6px 15px;
    }
    .article-category-design{
        padding: 6px 15px;
    }
    .about-hivoo-team{
        flex-direction: column;
    }
    .article-right-side{
        height: max-content;
    }

    .article-right-side{
        width: 100%;
        margin: 0;
        left: 0;
        align-items: center;
    }

    .ql-syntax{
        word-wrap: normal !important;
    }

    .linked-articles{
        width: 95%;
    }

    .course-like-box{
        width: 95%;
    }

    .download-article-as-pdf{
        width: 95%;
    }
}