@import 'base/_variables.css';


/* 
 * Global style 
 * Uniform basic styles.
 * eg: a, body labels.
 */

a.text-link {
    color: var(--color-hyperlink);
    font-weight: bold;
    text-decoration: none;
}

a.nav-link {
    text-decoration: none;

}

a.text-link:hover {
    border-bottom: 2px solid #297d7a ;
}

a.nav-link:hover {
    border-bottom: 2px solid #ffffff ;
}

body {
    margin: auto;
    text-align: center;
    background-color: var(--color-background-themes);
}


/* 
 * Header part 
 * Logo and navbar part
 */
header.header {
    height: 70px;
    vertical-align: middle;
    background-color: var(--color-navbar-background);
}

div.navbar {
    width: 75%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#poplav {
    height: 70px;
}

span.menu-items {
    font-size: x-large;
    font-family: Satoshi, "work-sans", sans-serif;
    font-weight: 200;
    font-style: normal;
    margin-left: 12px;
    margin-right: 12px;
}

span.menu-items a {
    font-weight: normal;
    color: var(--color-navbar-hyperlink);
}

/* 
 * H1 part
 */

div.chuck-title {
    /* margin: auto; */
    text-align: left;
    margin: 1em auto;
}

div.chuck-title a h1 {
    color: black;
    font-family: "Work Sans", sans-serif, Satoshi;
    font-weight: bold;
}

/* 
 * Main body part 
 * Aside bar and chuck 
 */

div.main {
    /* height: 95vh; */
    min-width: 800px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
}

/* 
 * Aside part
 * Display author info and chuck meta info.
 */
aside.chk-aside {
    width: 8%;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
}

aside.chk_article {
    width: 90%;
}

img.avatar {
    /* width: auto; */
    height: 40px;
    margin-top: 7px;
    border-radius: 5px;
}

div.chuck-tags {
    display: inline;
    padding: 2px 5px;
    background-color: orange;
    color: white;
    margin: 0 10px;
    font-weight: normal;
    font-size: small;
    border-radius: 5px;
}

div.chuck-author,
div.chuck-pubdate {
    margin: 10px auto;
}


/* 
 * Chuck body part 
 * Display chuck article
 */

div.chuck {
    width: 60%;
    min-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: auto;
}

div.chk-article {
    width: 92%;
    /* background-color: rgb(220, 220, 220); */
    padding-top: 15px;
    padding-left: 40px;
    padding-bottom: 15px;
    padding-bottom: 10px;
}

div.chuck-description {
    text-align: justify;
    text-justify: distribute;
}

div.chuck-description img {
    display: inline;
    vertical-align: bottom;
    margin-bottom: 0 5px 0 0;
    height: 24px;
}

div.chuck-description p {
    display: inline;
    margin: 0 auto;
    font-size: medium;
    font-weight: normal;
}

div.article {
    margin-top: 10px;
    text-align: left;
}

article p {
    font-size: large;
    font-family: "work-sans", sans-serif, Satoshi;
    line-height: 1.3em;
    margin-top: 0.7em;
    margin-bottom: 1px;
    word-spacing: 3px;
}

section {
    width: 100%;
}

/* 
 * Footer part 
 * Copyrights and sth.
 */

footer {
    padding: 10px;
    padding: 10px;
    background-color: rgb(200, 200, 200);
}

div.footer-box {
    width: 60%;
    margin: auto;
}

.footerbar {
    width: 100%;
    height: 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

span.footerbar-items {
    font-size: small;
    font-family: Helvetica, Arial, sans-serif;
}

a.footerbar-link {
    /* text-decoration: none; */
    font-size: small;
    font-weight: normal;
    color: black;

}