body {
    background-color: rgb(226, 229, 233);
    display: flex;
    justify-content: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-image: url(../common_imgs/pattern_whitegray_selected.webp);
    background-size: 300px auto;
    background-position: center;
}

body a{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-decoration: none;
    outline: none;
}

:root {
    --dark_blue: #336699;
    --dark_gray: #4D4D4D;
    --white-gray: #CCCCCC;
}

.login-ref {
    outline: none;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-left: 18px;
    color: var(--dark_gray);
    border-bottom: 2px solid var(--dark_gray);
    padding: 2px;
}

.user-block {
    color: var(--dark_gray);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    margin-left: 18px;
    display: flex;
    font-size: 18px;
    gap: 10px;
    align-items: flex-end
}

section{
    background-color: white;
    width: 80%;
    min-height: 100vh;
    position: relative;
}

.header{
    display: flex;
    flex-direction: column;
}

.lang-block {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .lang-block form {
        display: flex;
        justify-content: center;
        align-items: center;
    }

.lang-select {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #336699;
    border-radius: 3px;
    margin-right: 5px;
}

    .lang-select option {
        border: 1px solid #336699;
    }

.translate-btn {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
    padding: 5px;
    border: none;
    border-radius: 3px;
    background: #CCCCCC
}

    .translate-btn:hover {
        background-color: #336699;
        color: white;
    }

.author-short-data{
    display: flex;
    flex-direction: column;
    margin: 25px;
}

.s-title {
    color: #336699;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .s-title span {
        margin-right: 10px;
        margin-bottom: 1px
    }

.title-logo-img {
    height: 20px;
    width: auto;
}

.s-description {
    font-size: 20px;
    color: #4D4D4D;
}

.s-description a{
    color: rgb(31, 122, 201);
}

.h-menu-line {
    background-color: #336699;
    padding-left: 25px;
    color: white;
    display: flex;
}

.h-menu-line a{
    color: white;
    font-size: 18px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 100;
}

.menu-active{
    background: rgb(110, 140, 178);
}

.main{
    display: flex;
    padding: 25px;
}

.blog-part{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.side-bar{
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    position: relative;
    padding-left: 40px;
    padding-right: 20px;
}

.rubrics{
    margin-top: 35px;
    display: flex;
    flex-direction: column;
}

.r-title {
    font-size: 25px;
    font-weight: 700;
    color: #4D4D4D;
    margin-bottom: 20px;
}

.cat-list{
    display: flex;
    flex-direction: column;
    width: 295px;
}

.cat-group{
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid rgb(104, 98, 98);
}

.rubric-img{
    height: 20px;
    margin-right: 10px;
}

.cat-group a {
    outline: none;
    text-decoration: none;
    color: #336699;
}

.footer {
    padding: 25px;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #4D4D4D;
    position: relative;
    overflow: hidden;
}

.circle {
    background-color: white;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: absolute;
    opacity: 0.5;
}

.left-circle {
    top: -120px;
    left: -100px;
    background-color: #336699
}

.right-circle {
    right: -100px;
    bottom: -120px;
    background-color: #808080
}

.f-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.f-desc {
    font-size: 14px;
    color: white
}

.link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    z-index: 10;
}

.link-ref img {
    height: 40px;
    width: auto;
}

.category-title {
    color: #336699;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: 30px;
    font-weight: 700;
}

.h-blog {
    color: #4D4D4D;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin-left: 15px;
    margin-bottom: 20px;
    transition: 0.5s ease;
    width: fit-content;
}

.h-blog:hover{
    color: rgb(225, 145, 32);
    margin-left: 25px;
}

@media (min-width:675px) and (max-width:826px){

    body{
        margin: 0;
        padding: 0;
    }

    .main{
        flex-direction: column;
        align-items: center;
    }

    .side-bar{
        align-items: center;
    }

    section{
        width: 100%;
    }
}

@media (max-width:675px){

    body{
        margin: 0;
        padding: 0;
    }

    .main{
        flex-direction: column;
        align-items: center;
    }

    .side-bar{
        align-items: center;
    }

    section{
        width: 100%;
    }

}