@media screen and (orientation:portrait) {
  .grid,
  #pages {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }



}

@media only screen and (min-width: 1600px) {
  html {
    font-size: 30px;
  }
}

@media only screen and (max-width: 1000px) {

  html {
    font-size: 18px;
  }

  #menu {
    min-width: 35vw;
  }

  #menu ul {
    flex-direction: column;
  }

  .item #pages {
    grid-template-columns: 1fr 1fr;
  }

  .home h1 {
  font-size: 4rem;
}

.home h2 {
  font-size: 2rem;
}

}

@media only screen and (max-width: 600px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  #menu {
    min-width: 100%;
    transform: translateY(-100%);
  }

  #menu.active {
    transform: translateY(0);
  }


}

