@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Light-webfont.woff') format('woff');
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: Roboto;
  src: url('fonts/Roboto-LightItalic-webfont.woff') format('woff');
  font-style: italic;
  font-weight: 300;
}

@font-face {
  font-family: Roboto;
  src: url('fonts/Roboto-Bold-webfont.woff') format('woff');
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: Roboto;
  src: url('fonts/Roboto-Medium-webfont.woff') format('woff');
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: Roboto;
  src: url('fonts/Roboto-Regular-webfont.woff') format('woff');
  font-style: normal;
  font-weight: 400;
}

*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  background-color: white;
  
}
.page-background {
  background-color: white;
}
.page {
  margin: 0 auto;
  font-family: "Roboto", sans-serif;
}
.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  margin-top: 0;
  padding-top: 0;
  width: 100%;
  height: 33px;
  display: flex;
  background-color: rgb(54, 52, 87);
  color: white
}
.header-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-logo {
  width: 2rem;
  margin: 0 2rem;
}
.header-logo {
  filter: invert(.5);
}
.header h1 {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  margin-right: 1.2rem;
}
.hr-title {
  background-color:rgb(54, 52, 87);
  height: 1px;
}
.nav-and-content {
  position: absolute;
  top: 33px;
  height: 40px;
}
.nav-bar {
  position: fixed;
  width: 100%;
  height: 62px;
  background-color: rgb(222, 232, 243);
  z-index: 10000;
}
.nav-bar-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.nav-bar-content-div {
  display: flex;
  align-items: baseline;
}
.nav-bar img {
  width: 2.5rem;
  max-height: 1.5rem;
  margin: 0.2rem 0.2rem;
}
.nav-bar-item,
.nav-bar-item:visited {
  display: block;
  text-decoration: none;
  color: #000;
  padding: 0.3rem 0.3rem;
}
.nav-bar-item > img {
  width: 2rem;
  height: 2rem;
}
.nav-bar-item:hover {
  background-color: #E9E9E9;
}
.nav-bar-item p{
  font-family: "Roboto", sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
}
.articles {
  position: relative;
  top: 61px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.article-std {
  background-color: rgb(246, 246, 248);
  padding: 1rem;
}
.article-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.5rem;
  color: rgb(54, 52, 87);
}
.article-title a {
  text-decoration: none;
  color: rgb(180, 12, 12);
}
.article-structure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 1rem;
}

.article-image-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  margin-top: 2rem;
}

.article-image {
  display: block;
  margin: auto;
  padding-bottom: 1rem;
  flex: 1;
}
.article-image > img {
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}
.article-image > figcaption{
  text-align: center;
  font-size: 0.8rem;
  margin: 0 auto;
  padding-bottom: 0.2rem;
}
.article-text {
  width: 100%;
  margin-top: 1rem;
  flex:1;
  flex-direction: column;
  display: flex;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgb(1, 1, 17);
}
.article-text a{
  text-decoration: none;
  color: rgb(180, 12, 12);
}
.article-p:not(:last-child) {
  margin-bottom: 0.3rem;
}
.fixed-header-align {
  display: block;
  padding-top: 95px;
  margin-top: -95px;
}

/* Mobile Systems */
@media only screen and (max-width: 750px) {
  html {
    font-size: 100%;
  }
  .page {
    max-width: 100%;
  }
}

/* Tablet Styles */
@media only screen and (min-width: 751px) and (max-width: 1024px) {
  .page {
    max-width: 100%;
  }
  .article-std {
    width: 100%;
  }
  .article-structure {
    flex-direction: row;
  }
  .article-text {
    margin: 0;
  }
  .article-image > img {
    display: inline-block;
    max-width: 90%;
  }
  .article-image-right {
    margin-left: 15%;
  }
  .article-image > figcaption {
    text-align: left;
  }
  .article-image > figcaption.article-figcaption-right {
    text-align: center;
  }
  .article-image-panel {
    margin: 0;
    padding: 0;
  }
}

/* Desktop Systems */
@media only screen and (min-width: 1025px) {
  
  .page {
    max-width: 1025px;
  }
  .header {
    width: 1025px;
  }
  .header nav {
    display: none;
  }
  .nav-bar {
    width: 50px;
    min-height: 100vh;
    max-height: 100vh;
  }
  .nav-bar img {
    max-height: 2rem;
  }
  .nav-and-content {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    max-height: 100vh;
  }
  .nav-bar-content {
    flex-direction: column;
  }
  .nav-bar-content-div {
    flex-direction: column;
  }
  .articles {
    left: 50px;
    top: 0px;
    width: 975px;
    min-height: 100vh;
    max-height: 100vh;
  }
  .article-structure {
    flex-direction: row;
  }
  .article-text {
    margin: 0;
  }
  .article-image > img {
    display: inline-block;
    max-width: 90%;
  }
  .article-image-right {
    margin-left: 15%;
  }
  .article-image > figcaption {
    text-align: left;
  }
  .article-image > figcaption.article-figcaption-right {
    text-align: center;
  }
  .fixed-header-align {
    padding-top: 33px;
    margin-top: -33px;
  }
  .article-image-panel {
    margin: 0;
    padding: 0;
  }
}
