#back-to-top-button {
  display: none;
  border: 1px solid #1EAEDB;
  color: #1EAEDB;
  padding: .5em .8em;
  border-radius: 15%;
  position: fixed;
  bottom: 80px;
  right: 125px;
  background: #222;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

#back-to-top-button:hover {
  cursor: pointer;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

#brand {
  font-size: 2.5rem;
  text-decoration: none;
  color: #222;
}

#content {
  margin-bottom: 2em;
  flex: 1 0 auto;
}

#landing-image {
  display: none;
  padding-bottom: 3em;
  max-width: 100%;
}

#menuIcon {
  display: none;
}

#menuIcon:hover {
  cursor: pointer;
}

/* elements */
body {
  display: flex;
  flex-direction: column;
}

footer {
  border-top: 1px solid lightgray;
  display: flex;
  align-items: center;
  height: 3em;
  flex-shrink: 0;
}

footer p {
  color: gray;
  margin: 0 auto 0 auto;  
}

footer span {
  color: rgb(254,54,54)
}

h2 {
  text-align: center;
}

html, body {
  height: 100%;
}

img {
  max-width: 100%;
}

nav {
  border-bottom: 1px solid lightgray;
  display: flex;
  margin-bottom: 3em;
}

nav div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

nav li {
  padding: 0;
  list-style-type: none;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  width: 10rem;
}

nav li a {
  padding: 0.7rem 2rem;
  display: inline-block;
  width: 100%;
  text-decoration: none;
  text-align: center;
}

nav li a:active {
  background-color: #1EAEDB;
}

nav li a:hover {
  background-color: #33C3F0;
  color: white;
}

nav ul {
  display: flex;
  flex-direction: row;
  margin-bottom: 0;
}

pre, code {
  overflow-x:auto;
  overflow-y:hidden;
}

/* classes */
.article-below-image {
  margin-top: 1em;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px;
  margin-bottom: .5em;
  text-align: center;
  padding-top: 1em;
  color: #222;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  cursor: pointer;
  color: #1EAEDB;
}

.card-container {
  padding: 2px 16px;
}

.code-example {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.code-example-body {
  white-space: pre;
  word-wrap: break-word
}

.parallax {
  display: none;
  background-image: url("../images/v2osk-P_hTMaVlkzk-unsplash.jpg");
  height: 400px;
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.prettyprint {
  background: #fff;
  font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace;
  font-size: 1.2rem;
  padding: 2.5rem 3rem;
  -webkit-font-smoothing: antialiased; 
}

@media screen and (max-width: 774px) {
  /* ids */
  #back-to-top-button {
    border: 1px solid #1EAEDB;
    color: #1EAEDB;
    padding: .1em .3em;
    border-radius: 15%;
    position: fixed;
    bottom: 50px;
    right: 30px;
    background: #222;
  }

  #landing-image {
    padding-bottom: 1em;
  }

  #menuIcon {
    display: block;
    align-self: center;
    text-align: center;
    padding: .4em 1em;
    color: #1EAEDB;
  }

  /* elements */
  nav {
    border-bottom: 0;
    flex-direction: column;
    margin-bottom: 1.5em;
  }

  nav li {
    width: 100%;
  }

  nav li a {
    text-align: left;
  }

  nav div{
    border-bottom: 1px solid lightgray;
  }

  nav ul {
    display: none;
    border-bottom: 1px solid lightgray;
  }
}
