@media only screen and (max-width: 900px) {
  main {
    width: 100%;
    flex-direction: column !important;
  }
  nav {
    display: none;
  }
  .container{
    margin-top: 60px;
    width: 100%;
  }
  .container-in{
    width: 100%;
  }
  .intro-post{
    width: 100%;
  }
  .type h1{
    font-size: 40px;
  }
  .span1{
    display: none;
  }
  .span2{
    display: none;
  }
  .intro-post h3{
    font-size: 25px;
  }
  .home-post h2{
    font-size: 25px;
  }
  #home h3{
    font-size: 20px;
    padding: 10px 0px;
  }
  #about{
    margin-top: 100px;
    padding-top: 60px;
  }
  #generated-txt{
    font-size: 35px;
  }
  .intro-post h4{
    text-align: center;
    font-size: 20px;
  }
  .intro-inner-post{
    width: 100%;
  }
  .burger-menu{
    display: block;
  }
  #cv{
    margin-top: -80%;
    padding-top: 60px;
  }
  #work{
    padding-top: 60px;
  }
  .work-hover{
    display: none;
  }
  .work-label{
    display: none;
  }
  .work-description{
    display: none;
  }
  .opacityAbout{
    transition: 1s;
    opacity: 1;
  }
  .opacityWork{
    transition: 1s;
    opacity: 1;
  }
  .opacityCv{
    transition: 1s;
    opacity: 1;
  }
  #contact h2{
    font-size: 20px;
  }
}

@media only screen and (max-width: 500px) {
  .type h1{
    font-size: 30px;
  }
  #generated-txt{
    font-size: 20px;
  }
  .intro-post h4{
    text-align: center;
    font-size: 15px;
  }
  .intro-post h3{
    font-size: 15px;
  }
  .home-post h2{
    font-size: 15px;
  }
  #home h3{
    font-size: 15px;
    padding: 10px 0px;
  }
  #about p{
    font-size: 15px;
  }
  .div-title{
    font-size: 15px;
  }
  .intro-inner-post{
    font-size: 12px;
  }
  #contact h2{
    font-size: 15px;
  }
}