html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

a {
  color: rgba(241, 48, 48, 1);
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

#header-wrapper {
  margin: 0 auto;
  max-width: 1000px;
}

#header {
  border-bottom: 2px solid rgba(241, 48, 48, 1);
  width: 1000px;
  padding: 25px 0;
}

#header-menu {
  display: flex;
  justify-content: space-between;
}

#header-item {
  margin: 0;
  text-align: left;
  font-size: 30px;
  font-weight: 500;
}

#content-wrapper {
  margin: 0 auto;
  max-width: 1000px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;
}

#content {
  width: 1000px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;
}

.post-tag {
  display: inline-block;
  vertical-align: text-top;
  text-transform: uppercase;
  font-size: 20px;
  padding: 2px 4px;
  background-color: rgba(241, 48, 48, 1);
  color: white;
  border-radius: 0.25em; /* 3px /12 */
  text-decoration: none;
  font-weight: bold;
}

#main-column {
  width: 650px;
}

#sidebar {
  width: 250px;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sidebar-element {
  border: 2px solid rgba(241, 48, 48, 1);
  padding: 0.5rem;
  margin-bottom: 25px;
  width: 95%;
}

.currently-reading {
  display: flex;
  justify-content: space-between;
}

#blog-post-preview {
  border-bottom: 2px solid rgba(241, 48, 48, 1);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

#blog-post-preview__title {
  color: rgba(10, 35, 66, 1);
}

#blog-post-preview__headline {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#blog-post-preview__date {
  margin-top: 10px;
  color: rgba(10, 35, 66, 1);
}

#blog-post__title {
  color: rgba(10, 35, 66, 1);
}

.blog-post-content {
  line-height: 130%;
}

.content-image {
  width: 100%;
}

.content-figure {
  margin: 0;
}

.content-figcaption {
  font-size: 14px;
  color: rgba(241, 48, 48, 1);
}

#blog-post-container {
  border-bottom: 2px solid rgba(241, 48, 48, 1);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.strava-iframe {
  height: 370px;
  width: 590px;
}

@media (max-width: 1050px) {
  #header {
    width: 100%;
  }

  #blog-post-preview {
    padding-left: 25px;
    padding-right: 25px;
  }

  #blog-posts {
    padding-left: 25px;
    padding-right: 25px;
  }

  #blog-post-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  #content-wrapper,
  #header {
    width: 100%;
  }

  #content {
    flex-direction: column;
    width: 100%;
  }

  #main-column {
    width: 100%;
  }

  #blog-post-container {
    width: 100%;
  }

  #sidebar {
    width: 100%;
  }

  .strava-iframe {
    width: 100%;
    height: 405px;
  }
}

img:hover {
  cursor: pointer;
}
