html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#primaryNav {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.navbar-logo a:after {
    margin-top: 15px;
}

@media (min-width: 992px) {
    .navbar-logo img {
        max-height: 125px;
    }
}

@media (max-width: 991px) {
    .navbar-brand {
        display: flex;
    }
    
    .navbar-brand img {
        max-height: 48px;
    }

    .navbar-brand::after {
        content: "Al-Khwarizmi Engineering Journal\AISSN: 1818-1171 / E-ISSN: 2312-0789";
        display: block;
        color: white;
        font-size: 14px;
        margin: 0px 10px;
        white-space: pre;
    }
}

.navbar-nav .nav-link,
.navbar-nav .dropdown-item {
    font-size: 16px !important;
}

#primaryNav .dropdown-item {
    font-size: 14px !important;
}

.main-header {
    background-color: #2C5391 !important;
}

.main-header .container * {
    color: white !important;
}

.navbar-logo a:after {
    content: "Al-Khwarizmi Engineering Journal";
    display: block;
    color: white;
}

.navbar-logo:after {
    content: "ISSN: 1818-1171 / E-ISSN: 2312-0789";
    display: block;
    color: white;
}

.homepage-issue-description-wrapper {
    width: 100%;
}

.homepage-issue-header .col-lg-9 {
    display: flex;
}

.pkp_block.block_custom {
    width: 100% !important;
}

.pkp_block.block_custom .content {
    width: 70% !important;
}

.pkp_block.block_custom * {
    margin: auto;
    margin-bottom: 20px;
    width: 100% !important;
}

.obj_issue_toc .cover img {
    border: 1px gray solid;
    margin: auto;
    max-height: 350px !important;
    width: auto;
}

@media (min-width: 768px) {
    .obj_issue_toc .cover {
        width: 50% !important;
    }
}


.homepage-announcements article {
    float: left;
    position: fixed;
    top: 0px;
    color: white;
    text-align: center;
    background-color: #f39c12;
    width: 100%;
    left: 0px;
    padding: 5px 40px 5px 30px !important;
    margin: 0px !important;
}

body:has(section.homepage-announcements) {
    margin-top: 40px !important;
}

@media screen and (max-width: 1024px) {
    body:has(section.homepage-announcements) {
        margin-top: 100px !important;
    }

}

/* section.homepage-announcements article::before {
    margin-left: -27px;
    position: fixed;
    display: inline-block;
    content: "ðŸŽ‰";
}

section.homepage-announcements article::after {
    position: fixed;
    display: inline-block;
    content: "ðŸŽ‰";
} */

section.homepage-announcements h3,
section.homepage-announcements footer,
section.homepage-announcements a,
section.homepage-announcements br {
    display: none;
}

section.homepage-announcements p {
    display: inline-block;
    margin: 0px;
    animation: scroll-left 15s linear infinite;
}

section.homepage-announcements p:nth-of-type(2)::before {
    content: "\1F389";
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

section.homepage-announcements a {
    font-size: 14px;
}


@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
    }
}
#scopus *{
    margin-bottom: 0px !important;
}
#citescoreValDiv, #citescoreYearValDiv{
    width: 50% !important;
}
#scopus img{
    width: 50px !important;
}
.cards * {
    text-align: center;
}
.cards .value{
    color: blue;
    font-size: 1.3em;
}
.cards .title{
    font-size: 1.0em;
}
.cards .card-body{
    background-color: #f7f7f7;
}
.cards{
    margin-top: 20px;
}
.cards-title {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}
.homepage-issue-description-wrapper {
    padding: 1rem;
    background: #f7f7f7;
}