* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #404040;
    scroll-behavior: smooth;
    font-size: 16px;
    background: #F0F1F2;
}

body.dark {
    background: #131313;
    color: #fff;
}

body.dark .content,
body.dark .sidebar div,
body.dark .breadcrumb,
body.dark .navigation {
    background: #222222;
    color: #fff;
    border-top: 1px solid #fff;
}


body.dark .breadcrumb  a,
body.dark .large-title,
body.dark .post-title a,
body.dark .newsmatic-block-title,
body.dark .sidebar-links li a,
body.dark .navigation a{
    color: #fff;
}

h1 {
    font-size: 18px;
    margin: 0.67em 0;
}

p {
    font-size: 14px;
    margin-bottom: 1.5em;

}

header {
    background: #2f337d;
    padding: 35px 0;


}

.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;


}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1rem;
    padding-left: 1rem;
}

.social-icon {
    color: #ffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 0px 6px;
    transition: all .3s ease-in-out;
}
.social-icon .fab, .fas{
    color: #ffff;
}

.logo img {
    width: 230px;
    height: auto;
}

.nav {
    background:  #05DB8B;
    padding: 19px 0;
    width: 100%;
}

.menu-header-container {
    display: flex;
    justify-content: space-between;
}

.menu {
    display: flex;
    justify-content: space-between;
    color: #ffff;
    list-style: none;
    align-items: center;
}

.menu a {

    text-decoration: none;
    color: #ffff;
    padding: 15px 15px;
    /* transition: all 4s ease; */
    transform-origin: 0 0;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0;
}

.mobile-menu {
    display: none;
}

.theme-switch {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.theme-switch input {
    display: none;
}

.icon {
    font-size: 18px;
    transition: all 0.3s ease;
}



#mode-toggle:checked~.sun {
    display: inline;
}

#mode-toggle:checked~.moon {
    display: none;
}

.theme-switch .moon {
    color: #2f337d;
}

.theme-switch .sun {
    color: #2f337d;
    display: none;
}

/* ----------------content--------------- */
.page {
    padding-top: 20px;
    display: flex;
    gap: 20px;
}

.content {
    max-width: 70%;
    flex: 0 1 70%;
    background-color: #fff;
    padding: 20px;
}

.sidebar {
    flex: 0 1 30%;
}

.sidebar div {
    background-color: #fff;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
}

.sidebar-links li {

    list-style: none;
    padding: 9px 0 9px 0;
    border-bottom: 1px solid #8a8a8c2e;

    ;

}

.sidebar-links .last {
    border-bottom: none;
}

.sidebar-links li a {
    text-decoration: none;
    color: #000000
}

.sidebar-links li a:hover {
    color:  #05DB8B;
    transition: 1s ease;

}

h1 {
    font-size: 18px;
    margin: 0.67em 0;
}

h2 {
    font-size: 17px;
    margin: 0.67em 0;
}

p {
    font-size: 14px;
    margin-bottom: 1.5em;

}

img {
    max-width: 100%;
    height: auto;
}

.element-caption {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 1.5em;
}

.button-container {
    text-align: center;
    margin-bottom: 1.5em;
}

button {
    background-color: #2f337d;
    border: none;
    color: #fff;
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    font-size: 1.125em;
    align-content: center;
    cursor: pointer;
    display: inline-block;
    height: 100%;
}

button a {
    color: #fff;
    text-decoration: none;
}

.content ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
    margin: 0 0 1.5em 0.5em;
}

blockquote{
    margin: 0 1.5em;
    padding-left: 15px;
    border-left: 5px solid #f0f0f0
;
}
blockquote a {
    text-decoration: none;
    color: #4169e1;
}
.post-navigation{
    background-color: #f5f5f5;
    padding: 30px 20px;
    margin-bottom: 0;
    margin-top: 15px;
    display: block;
}
.post-navigation .nav-links{
    display: flex;
    justify-content: center;

}

.post-navigation a{
    text-decoration: none;
    color: #333333;
}
.post-navigation .nav-subtitle{
    font-weight: 600;
    display: block;
    margin-bottom: 13px;
    color:  #05DB8B;
}
.sidebar div {
    margin-bottom: 20px;
    padding: 15px;
}

.sidebar-links i {
    padding-right: 8px;
}

/* -------------footer-------------- */
footer {
    padding: 25px 25px;
    border-top: 5px solid  #05DB8B;
    background: #000;
}

.site-info {
    color: #8a8a8a;

    font-size: 0.95rem;
    flex: 0 1 50%;
    text-align: center;
}

.site-info a {
    color: #ffffff;
    text-decoration: none;
}

/* ------------------BREADCRUMBS--------------- */
.breadcrumb {
    max-width: 1200px;
    flex: 0 1 70%;
    background-color: #fff;
    padding: 20px;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
}

.breadcrumb ul a {
    text-decoration: none;
    color: #000000;
    padding-left: 5px;
}

/* -----------------------LOGIN  PAGE------------------ */
.btn-block {
    width: 30%;
    text-align: center;
}

.btn {
    text-decoration: none;
    color: #fff;
    transition: all .4s ease;
    padding: 3px 7px 2px;
    display: block;
    margin: 0 5px 5px 0;
    border-radius: 3px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    line-height: 24px;

}

.btn-login {
    background-color:  #2f337d;

}
.large-title{
    font-family: 'Roboto',sans-serif;
    font-size: 34px;
    font-weight: 600;
    margin: 15px 0;
    line-height: 34px;
    color: #000;
}

.meta{
   align-items: center;
}
.meta span{
    margin-right: 8px;
    margin-bottom: 20px;
}
.meta span a,i{
    color:  rgb(138, 138, 140);
    text-decoration: none;
}
.login-btn{
        background-color:  #05DB8B;
}
.nav-previous{
        border-right: 1px solid #d9d9d9;
        text-align: right;
        padding-right: 20px;

}
.nav-next{
    text-align: left;
    padding-left: 20px;
}
.nav-links .fas{
    color: #fff;
}
.newsmatic-block-title {
    position: relative;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
    padding-bottom: 6px;
    font-size: calc(26px * 0.9);
    line-height: 32px;
    font-weight: 700;
    color: #161616;
}

.newsmatic-block-title span {
    position: relative;
}

.newsmatic-block-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,  #05DB8B, transparent);
}
.blog-thumbnail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem; 
}

.blog-thumbnail article {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.blog-thumbnail article > div:first-child {
    width: 35%;
}

.blog-thumbnail article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-thumbnail article > div:last-child {
    width: 65%;
}


.post-title a{
    color: #000000;
    text-decoration: none;
}
.post-title a:hover{
    color:  #05DB8B;
    transform: all 2s ease;
}
article .post-title{
   margin: 0;
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
    }
#menuIcon{
    width:25px;
}
    .menu {
        display: none;
    }
    .nav{
        position: relative;
    }
    .menu.active{
        display: block;
        top: 100%;
        position: absolute;
        background-color: white;
        left: 0;
        right: 0;
    }
    .menu.active a{
        color: #2f337d;
        font-weight:700;
        padding: 9px 0;
    }
    .menu.active li{
        border-bottom:1px solid #e8e8e8;
    }
.menu-item{
    padding: 15px;
    border-bottom: 1px solid #8a8a8a;
}
    .mobile-menu {
        display: block;
    }

    .main-navigation {
        align-items: center;
        display: flex;
        justify-content: space-between;
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
    }

    .page {
        flex-direction: column;
    }

    .content, .breadcrumb {
        max-width: 85%;
        margin: 0 auto;
    }

    .sidebar {
        width: 85%;
        margin: 0 auto;
    }
    .blog-thumbnail{
        grid-template-columns: 1fr;
    }
    .btn-block{
        width: 45%;
    }

}