@media screen and (max-width: 1048px) {
  nav .logo {
    font-size: 25px;
    padding-left: 60px;
  }
  nav ul {
    margin-right: 20px;
  }
  nav a {
    font-size: 17px;
  }
  header .hero-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    text-align: center;
    color: #fff;
    font-size: 25px;
  }
  .hero-text h1 {
    font-size: 30px;
    font-weight: 800;
    padding: 0 10px;
  }
}

@media screen and (max-width: 1436px) {
  nav #icon {
    display: block;
  }
  nav ul {
    position: fixed;
    width: 100%;
    height: 92vh;
    top: 57px;
    left: 100%;
    text-align: center;
    background: rgb(0, 0, 0);
    transition: all 0.5s;
  }
  nav li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul.show {
    left: 0;
    z-index: 1;
  }
}
