/* General font and body Settings */
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  margin: 0px;
  background-color: #fff;
  color: #222;
  font-family: 'Arial', Gadget, sans-serif;
  font-weight: 400;
}

/* Navbar */
nav {
  border-top: 0.05rem solid #e1e1e1;
  border-bottom: 0.05rem solid #e1e1e1;
  height: 3.5rem;
  width: inherit;
  top: 0;
  background-color: white;
  left: 0;
  display: grid;
  position: sticky;
  z-index: 1000;
  grid-template-columns: 3.5rem auto;
  grid-template-areas: 'menu-image logo';
}
#logo {
  background-color: white;
  grid-area: logo;
  display: flex;
  align-items: center;
  padding-left: 7.5%;
  padding-right: 7.5%;
  font-size: 1.5rem;
  font-weight: 400;
}
.svg-container {
  background-color: white;
  grid-area: menu-image;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 0.05rem solid#E1E1E1;
}
#navbar-menu-icon {
  height: 1.25rem;
}
#category-container {
  display: none;
}

/* Blogpost */
h1 {
  font-size: 1.8rem;
}
.site-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: 'article-container' 'footer';
}
.article-container {
  align-self: center;
  justify-self: center;
  width: 90%;
  max-width: 90%;
  margin-bottom: 8rem;
  grid-area: 'article-container';
}
#title {
  margin-top: 2rem;
  text-align: center;
  border-bottom: 0.05rem solid #e1e1e1;
}

#subtitle {
  color: #ff6864;
  text-align: center;
  letter-spacing: 0.125rem;
  font-size: 0.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}
#article {
  margin-top: 2.5rem;
  line-height: 1.5;
}
#title-image {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Footer */
.footer {
  display: grid;
  grid-template-columns: auto;
  background-color: #302e2d;
  grid-area: 'footer-content';
}
#footer-content {
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
  justify-self: center;
  line-height: 1.4;
}
#footer-logo {
  color: #ff6864;
}
#footer-text {
  color: white;
}

/* Media Queries for Desktop/Laptop/Large Monitors */

/* Font Size */
@media only screen and (min-width: 64rem) {
  html {
    font-size: 125%;
  }
}

/* Navbar */
@media only screen and (min-width: 64rem) {
  nav {
    border-bottom: 0.05rem solid #e1e1e1;
    border-top: 0px;
    height: 3.5rem;
    width: inherit;
    top: 0;
    background-color: white;
    left: 0;
    display: grid;
    position: sticky;
    grid-template-columns: 3.5rem 1fr 3fr;
    grid-template-areas: 'menu-image logo categories';
  }
  #category-container {
    background-color: white;
    grid-area: categories;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.7rem;
    justify-content: flex-end;
  }
  #category1,
  #category2,
  #category3 {
    margin: 0 0 0 3rem;
  }
  #category4 {
    margin: 0 3rem 0 3rem;
  }
  #logo {
    font-size: 1.25rem;
  }
  #navbar-menu-icon {
    height: 1rem;
  }
}

/* Blogpost */
@media only screen and (min-width: 40rem) {
  h1 {
    font-size: 2.5rem;
  }
  .article-container {
    max-width: 40rem;
    margin-bottom: 5rem;
  }
  #subtitle {
    font-size: 0.7rem;
  }
}

/* Footer */
@media only screen and (min-width: 72rem) {
  .footer {
    grid-template-columns: 1fr 20rem 20rem 1fr;
    font-size: 0.8rem;
  }
  #footer-content {
    justify-self: right;
    margin-right: 1rem;
  }
}
