
*::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
}
body {
    background-color: rgb(251, 251, 252);
}

.ql-container {
    width: 1400px;
    box-sizing: unset;
}
.ql-editor{
    min-height: 300px;
}
.ql-editor.ql-blank{
    height: 300px;
}
.ql-snow{
    box-sizing: unset;
}

.blogForm-header {
    align-self: center;
    margin: 0;
    font-size: 2em;
    font-weight: var(--font-medium);
}

.blogForm {
    align-self: center;
    display: flex;
    margin: 8em;
    flex-flow: column;
    gap: 1em;
    width: auto;
}

.blogForm div {
    width: 100%;
}

.blogForm input,
.blogForm select {
    width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
}

.blogForm select {
    width: 422px;
}

.blogForm-upper {
    display: flex;
    gap: 8em;
}

.blogForm-upper .left {
    display: flex;
    flex-flow: column;
    width: 80%;
}

.blogForm-upper .right {
    display: flex;
    flex-flow: column;
}

.blogForm div img {
    width: 250px;
    height: 100px;
}

.submit-btn {
    width: 60%;
    height: 64px;
    padding: 12px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(180deg, rgba(46,42,103,1) 3%, rgba(66,91,148,1) 4%, rgba(29,47,87,1) 100%);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    place-content: center;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.submit-btn:hover {
    background: linear-gradient(0deg, rgba(47, 69, 152, 1) 0%, rgba(76, 102, 179, 1) 50%, rgba(110, 140, 210, 1) 100%);
}

.custom-file-input {
    width: 250px;
    height: auto;
    margin: 0;
}

.custom-file-input a {
    display: block;
    white-space: nowrap;
    width: 226px;
    margin-top: 10px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(46,42,103,1) 3%, rgba(66,91,148,1) 4%, rgba(29,47,87,1) 100%);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
}

.custom-file-input a:hover {
    background: linear-gradient(0deg, rgba(47, 69, 152, 1) 0%, rgba(76, 102, 179, 1) 50%, rgba(110, 140, 210, 1) 100%);
}

.editor {
    min-height: 300px;
    width: 1200px;
    word-wrap: break-word;
}

.ql-font-inconsolata {
    font-family: Montserrat;
}

.posts-Container {
    display: grid;
    grid-template-columns: auto auto auto;
    text-align: center;
    justify-content: center;
    list-style-type: none;
    column-gap: 50px;
    row-gap: 50px;
    margin-bottom: 10em;
}

.posts-Container:not(#posts-Container1){
    display: none;
}

.post {
    display: flex;
    justify-content: center;
    outline-width: 1px;
    outline-style: solid;
    outline-color: rgb(179, 179, 179);
    text-decoration: none;
    color: var(--text-color);
    width: 300px;
    height: 350px;
    border-radius: 15px;
    box-shadow: 15px 15px 10px rgb(192, 192, 192);
    overflow-wrap: break-word;
    line-height: normal;
}
.post span{
    /* line-height: normal; */
    /* padding: 0; */
}
.post:hover span{
    /* line-height: normal; */
    /* padding: 0; */
}

.post-topic {
    font-size: 22px;
    font-weight: 200 700;
    word-wrap: break-word;
    position: relative;
    margin-left: 27px;
    margin-right: 27px;
    margin-top: 160px;
    overflow-wrap: break-word;
    text-wrap: wrap;
    width: 100%;
    padding: 20px;
    height: 150px;
    overflow-y: scroll;
    padding: 0;
}

.post:hover {
    /* scale: 102%; */
    cursor: pointer;
    /* font-weight: 500; */
}

.post-footer {
    font-size: 12px;
    position: absolute;
    color: gray;
    margin-top: 330px;
    /* bottom: 0; */
}
.post-image-div{
    width: 250px;
    height: 120px;
    overflow: hidden;
    position: absolute;
    border-radius: 15px;
    margin-top: 10px;
    /* display: flex;
    place-items: center; */
}
.post-image {
    /* width: 250px;
    height: 100px; */
    /* scale: 0.9; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* margin-top: 20px; */
}

.category {
    color: #3a5dab;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    margin-top: 130px;
    align-items: left;
}

.subtitle {
    text-align: center;
    color: #3a5dab;
    font-size: 28px;
    font-weight: 700;
}

.text-container {
    margin-left: 50px;
    margin-bottom: 10em;
    overflow-wrap: break-word;
    text-align: justify;
    width: 60%;
}

.util-bar {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    column-gap: 20px;
}

.util-bar label {
    margin-top: 8px;
}

.editButton {
    width: 150px;
    padding: 15px;
    background: linear-gradient(180deg, rgba(46,42,103,1) 3%, rgba(66,91,148,1) 4%, rgba(29,47,87,1) 100%);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    justify-content: center;
    transition: background-color 0.3s;
}

.editButton:hover {
    background: linear-gradient(0deg, rgba(47, 69, 152, 1) 0%, rgba(76, 102, 179, 1) 50%, rgba(110, 140, 210, 1) 100%);
}

.deleteButton {
    width: 150px;
    padding: 15px;
    background: linear-gradient(180deg, rgb(172, 15, 15) 0%, rgb(218, 23, 23) 50%, rgb(102, 11, 11) 100%);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    justify-content: center;
    transition: background-color 0.3s;
}

.deleteButton:hover {
    background: linear-gradient(180deg, rgb(255, 155, 155) 0%, rgb(155, 68, 68) 50%, rgb(255, 0, 0) 100%);
}
blockquote{
   font-style: italic;
   margin-left: 20px;
   font-size: 1.5em;
   font-weight: 500;
}
blockquote::before{
    content: "";
    padding-right: 20px;
    border-left: #adadad 3px solid;
}

#baner{
    width: 100%;
    height: fit-content;
    position: relative;
    padding: 50px;
    color:#000;
    /* background: linear-gradient(135deg, 
    rgba(28, 56, 112, 0.38) 0%,
    #737373 25%,
    rgba(28, 56, 112, 0.275) 50%,
    rgba(28, 56, 112, 1) 100%
    ); */
    background-color: #eff0f3;
    min-height: 350px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#baner > span.cat{
    width: 45%;
    position: absolute;
    top: 4vh;
    left: 4vw;  
    text-transform: uppercase;
}
#baner > span.inf{
    width: 45%;
    position: absolute;
    bottom: 6vh;
    left: 4vw;
}
#baner > span.top{
    width: 45%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 4vw;
    font: 2em;
    overflow-wrap: break-word;
    line-height: 1;
}
#baner > div.rig{
    width: 50%;
    height: 300px;
    float: right;
    position: relative;
    right: -30px;
    display:flex;
    justify-content: center;
    margin: 0;
    padding:0;
    overflow: hidden;
    border-radius: 23px;
}
#baner > div.rig img.img{
    /* max-width: 100%; */
    /* height: 300px; */
    /* padding-right: 100px; */
    border-radius: 23px;
    /* background-image: URL("/images/empty_image.png"); */
    /* background-position: center; */
    /* background-size: 100%; */
    /* background-repeat: no-repeat; */
}
#currentPageSpan{
    display: inline-block;
}
.pagesButtons{
    /* width: 50px; */
    padding: 20px 30px;
    font-size: 50px;
    background: transparent;
    /* color: #ddd; */
    border: none;
    border-radius: 10px;
    margin: 10px;
}
.indexButtons{
    /* width: 50px; */
    padding: 20px 30px;
    font-size: 50px;
    background: transparent;
    /* color: #ddd; */
    border: none;
    border-radius: 10px;
    margin: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
}
.defaultImg{
    display: inline-block;
}
.hoverImg{
    display: none;
}
.pagesButtons:hover .hoverImg{
    display: inline-block;
    background: linear-gradient(0deg, rgba(47, 69, 152, 1) 0%, rgba(76, 102, 179, 1) 50%, rgba(110, 140, 210, 1) 100%);
    border-radius: 50%;
}
.pagesButtons:hover .defaultImg{
    display: none;
}
#currentPageSpan{
    font-size: 50px;
    padding: 20px 30px;
}
#ulButtons{
    margin-bottom: 40px;
}
#postDiv{
    margin-bottom: -100px;
}


@media (max-width: 1000px) {
    .util-bar {
        flex-direction: column;
    }
    #baner{
        text-shadow: 0 0 7px #ffffff, 0 0 16px #ffffff;
    }
    #baner > span.cat{
        width: 100%;
        position: absolute;
        top: 4vh;
        left: 0; 
        text-align: center; 
        text-transform: uppercase;
    }
    #baner > span.inf{
        width: 100%;
        position: absolute;
        bottom: 6vh;
        left: 0; 
        text-align: center; 
        text-transform: uppercase;
    }
    #baner > span.top{
        width: 100%;
        position: absolute;
        /* top: 6vh; */
        left: 0; 
        text-align: center; 
        text-transform: uppercase;
        font: 2em;
    }
    #over{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0; 
        backdrop-filter: blur(2px);
        background-color: #ffffff50;
    }
}
@media (max-width: 1100px) {
    .posts-Container{
        grid-template-columns: auto auto;
    }
}

@media (max-width: 700px) {
    .posts-Container{
        grid-template-columns: auto;
    }
    #ulButtons{
        transform: scale(0.7);
    }
    .pagesButtons{
        padding: 5px 0;
    }
    #currentPageSpan{
        padding: 5px 20px;
    }
}