body, html, * {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    font-size: 14px;
}

body { 
    background: #eff1ed;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body { 
    background: url(/image/square-circle.svg) no-repeat;
    background-size: 100%;
    color: #040025;
    /* color: #575170; */
    /* padding-top: 20px; */
    /* padding-bottom: 100px; */
    /* box-shadow: 3px 3px 10px 10px rgba(0, 0, 0, 0.1); */
}

a { 
    color: inherit;
    /* text-decoration: none; */
    text-decoration: underline;
}
a:hover {
    /* text-decoration: underline; */
    opacity: 0.7;
}

p {
    padding: 0.5em 0px;
    line-height: 1.5em;
    font-size: 1.1em;
    /* background: red; */
    /* margin: 1px; */
    /* text-align: justify; */
}

h1 { font-size: 2.2em; }
h2 { font-size: 1.7em; }
h3 { font-size: 1.5em; }

/* h1, h2, h3 { */
/*     padding: 0px 0px; */
/* } */

code {
    display: block;
    /* font-weight: bold; */
    background: #b2b1c3;
    padding: 3px 9px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.9em;
}


pre {
    background-color: #333;
    color: #ddd;
    padding: 10px 15px;
    border-radius: 5px;
    /* box-shadow: 0px 5px 10px rgba(0,0,0, 0.5); */
    overflow: auto;
}
pre code {
    background-color: #333;
    /* font-size: 1.1em; */
    line-height: 1.3em;
    font-weight: normal;
}

ul {
    padding: 0px;
    margin: 0px;
}
li {
    list-style-type: none;
}

video {
    max-width: 100%;
}

.error-message {
    background: rgba(255, 0, 0, 0.05);
    border: 1px dashed red;
    border-radius: 10px;
    padding: 20px;
}

.page-wrap {
    /* max-width: 960px; */
    max-width: 700px;
    margin: 0px auto;
    padding: 0px 20px;
}

.full-width {
    width: 100%;
}

/* -------------------------------------------------------------------------------- */

.header {
    padding: 20px 0px;
}

.header .content{
    display: flex;
    justify-content: space-between;
}
.header .nav{
    display: flex;
    align-items: center;      /* new */
}
.header .nav .nav-link{
    margin-left: 20px;
}

.header-logo {
    font-size: 1.6em;
    font-weight: bold;
}
.header .contacts{
    display: flex;
    align-items: center;
}
.header .contacts .item{
    height: 25px;
    display: inline-block;
}
.header .contacts .item img{
    max-height: 100%;
}

.main-content {
    padding-top: 50px;
    padding-bottom: 50px;
}

.post-info {
    margin-bottom: 30px;
}
.post-info .title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.post-time {
    color: #949493;
    font-size: 1.1em;
}

.article {
    /* max-width: 660px; */
    /* margin: 0px auto; */
    /* padding: 0px 20px; */
}
.article pre {
    max-height: 300px;
}

.article img {
    max-width: 100%;
    /* border: 1px solid rgba(0,0,0, 0.4); */
}
.article h2, h3 {
    margin-top: 40px;
}

.footer {
    padding: 20px 0px;
    /* border-top: 1px solid rgba(0,0,0, 0.3); */
    margin-top: auto;
    color: #949493;
}

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