/* Big tablet to 1200px ( widths smaller than the 1140px row) */
@media only screen and (max-width: 4000px) {
  h1 {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 150%;
    padding: 1px;
    margin: 0;
    margin-left: 0px;
    letter-spacing: 1px;
  }
  .title h1 {
    position: fixed;
  }
  .row {
    margin-top: 63px;
  }
}

/* Small tablets to big tablets: from 768 to 1023px */
@media only screen and (max-width: 1150px) {
}

/* Small phones to small tablets: from 481 to 1000px */
@media only screen and (max-width: 1000px) {
}

/* Small phones to small tablets: from 481 to 900px */
@media only screen and (max-width: 900px) {
  .nav {
    float: right;
    list-style: none;
    margin-top: 170px;
    margin-right: 70px;
    position: fixed;
  }

  .nav li {
    display: block;
    text-align: center;
    margin-bottom: 5px;
  }

  .nav li: a:link,
    .nav li: a:visited {
    display: block;
    border: 0;
  }
}

/* Small phones to small tablets: from 481 to 767px */
@media only screen and (max-width: 800px) {
  .nav {
    float: right;
    list-style: none;
    margin-top: 150px;
    margin-right: 40px;
    position: fixed;
  }

  .mobile-nav-icon {
    display: inline-block;
  }
}

/* Small phones: from 0 to 480px */
@media only screen and (max-width: 500px) {
  .nav {
    font-size: 70%;
    float: right;
    list-style: none;
    margin-top: 80px;
    margin-right: 10px;
    position: fixed;
  }
  .title h1 {
    font-weight: normal;
    padding: 0px;
    font-size: 90%;
    width: 250px;
  }
}
