/* 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);
    color: rgb(255, 255, 255);
    font-weight: 400;
    font-size: 120%;
    padding: 1px;
    margin: 0;
    display: inline-block;
    float: left;
    list-style: none;
    margin-top: 220px;
    margin-left: 240px;
    position: fixed;
    top: 0;
    left: 0;
    letter-spacing: 1px;
  }

  .title {
    background-color: rgba(255, 255, 255, 0.5);
    color: rgb(255, 0, 0);
    font-weight: bold;
    font-size: 90%;
  }
}

/* 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;
    /*        top: 0;*/
    /*        right: 0;*/
  }

  .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;
    /*        top: 0;*/
    /*        right: 0;*/
  }

  .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;
    /*        top: 0;*/
    /*        right: 0;*/
  }
  .title {
    background-color: rgba(255, 255, 255, 0.5);
    color: rgb(255, 0, 0);
    font-weight: normal;
    font-size: 80%;
  }
}
