@media (min-width: 576px) {
  html {
    font-size: 27px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 25px;
  }
}

@media (min-width: 992px) {
  html {
    font-size: 24px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 23px;
  }
}

body {
  font-family: Raleway;
  background-color: #fafafa;
}

img {
  max-width: 100%;
}

a, a:visited {
  color: #494E8E;
  text-decoration: none;
}

a:hover, a:visited:hover {
  color: #5e64ac;
}

a[name] {
  padding-top: 4.5em;
  margin-top: -4.5em;
  display: inline-block;
}

span.tag {
  padding: 0.3em;
  background: white;
  border: 1px solid #333;
  margin-right: 0.5em;
}

ul {
  list-style-position: outside;
  margin-left: 2em;
}

figure, p.caption {
  text-align: center;
  font-style: italic;
}

.card {
  position: relative;
  margin-bottom: 1em;
}

body.posts:not(.has-docked-nav) #main-header {
  display: none;
}

body.has-docked-nav #main-header, body:not(.posts) #main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.95;
  z-index: 2;
}

.header-wrapper {
  background: white;
  border-top: 2px solid #494E8E;
  border-bottom: 2px solid #494E8E;
}

.header-wrapper header {
  padding: 0 2rem;
  min-height: 4.4em;
  margin: auto;
  max-width: 65em;
}

.header-wrapper header .navbar-brand .subtitle {
  color: black;
}

.header-wrapper#inner-header {
  display: flex;
  width: 100%;
}

main.container {
  margin-top: 3em;
}

.container {
  max-width: 60em;
  padding: 3em;
}

#greeting {
  margin-top: 4em;
  margin-bottom: 2em;
  font-size: 2em;
}

#greeting .icons {
  display: flex;
  justify-content: space-between;
}

#greeting .icons span {
  font-size: 4em;
  font-weight: 600;
  font-family: Montserrat;
  padding: 0 5%;
}

#cv nav {
  margin-bottom: 2em;
}

#cv section {
  margin-bottom: 2em;
}

section.content {
  margin-top: 2em;
}

section.content time {
  margin-bottom: 1em;
}

section#tags li.tag {
  list-style-type: none;
}

section#tags li.taggedPost {
  margin-left: 2em;
}

section#posts li.post {
  margin: 5em 0;
  list-style-type: none;
}

section#posts li.post a.post-title {
  font-size: 2em;
}

section#posts li.post span.post-date {
  min-width: 7em;
  align-self: center;
}

section#post .meta {
  margin-bottom: 1em;
}

#cv span {
  margin-right: 0.25em;
}

#cv span.date {
  margin-left: 0;
}

#cv span.updateTitle > a {
  display: inline;
}

#cv .badges {
  position: absolute;
  top: 1em;
  right: 0;
}

#normalContents h1 {
  text-align: center;
}

#normalContents h1 + p {
  text-align: center;
}

#normalContents img {
  width: 45%;
}

footer {
  background-color: #494E8E;
  color: #fafafa;
}

footer a, footer a:visited {
  color: white;
}

footer .container {
  margin: auto;
  max-width: 65em;
  display: flex;
  align-items: center;
  padding: 3em;
}

footer .coda a {
  display: inline;
}

footer .icons {
  display: flex;
}

footer .icons a.fab, footer .icons a.fas, footer .icons a.far {
  font-size: 3em;
  text-decoration: none;
}

@media (min-width: 768px) {
  footer .icons {
    flex-direction: column;
    align-items: center;
    align-self: auto;
  }
}

@media (min-width: 992px) {
  footer .icons {
    flex-direction: row;
    align-self: center;
    text-align: right;
    justify-content: space-evenly;
  }
}
