@import url("fonts/montserrat/font.css");
@import url("fonts/aaargh/font.css");

html {
    font-family: 'montserrat.regular', Roboto, sans-serif;
}

html[lang="ru"] {
    font-family: 'aaargh regular', sans-serif;
    font-weight: bold;
}

body {
    padding: 0;
    margin: 0;
    background: #f3eff5;
}

nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    background: #454955;
    height: 100%;
    width: 250px;
}

nav a {
    color: white;
}

#nav-down {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
}

nav a {
    margin: 10px;
    margin-left: 20px;
}

#nav-down a {
    margin: 0;
    margin-left: 20px;
}

#content {
    position: relative;
    left: 270px;
    width: calc(100% - 290px);
}

#content > * {
    margin-left: 50px;
    margin-right: 50px;
}

#content > span {
    margin-top: 20px;
    font-size: 80%;
    display: block;
}

#content h1 {
    margin-left: 100px;
}

#content p, #content li {
    font-size: 125%;
}

.contact-head {
    font-size: 150% !important;
    margin-top: 0 !important;
}

.social-head {
    font-size: 150% !important;
    display: block;
    padding-bottom: 10px;
    margin-top: 0 !important;
}

.project-head {
    font-size: 150% !important;
    margin-top: 0 !important;
}

.project-head p {
    margin-left: 10px;
    margin-top: 5px;
    font-size: 100% !important;
}

.vertical-list {
    list-style-type: none;
}

.vertical-list li {
    display: inline;
    margin-right: 1%;
    margin-left: 1%;
}

.blogpost-head {
    font-size: 150% !important;
    margin-top: 0 !important;
}

.blogpost-head p {
    margin-left: 10px;
    margin-top: 5px;
    font-size: 100% !important;
}

.postdate {
    margin: 0 !important;
    display: inline;
}

.blogpost h1 {
    margin-right: 0 !important;
    display: inline-block;
}
