
@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    margin-right: -.5%;
    display: block;
  }
}
@media screen and (max-width: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid black;
  }
}

/* 800-600 */
@media screen and (max-width: 800px) and (min-width: 600px) {
  .in{
    width: 90%;
    margin: 0;
  }
  .content{
    height: 550px;
  }
  .dropdown{
    width: 50%;
    margin: 1rem 25%;
  }
  .dropdown-content {
    position: relative;
  }
  .sub{
    margin-top: 10px;
  }
  .sub li{
    width: 40%;
    margin: 20px 2%;
  }
}

/* 599- */
@media screen and (max-width: 599px) and (min-width: 200px) {
  .slogan{
    width: 90%;
    margin: 0 5%;
  }
  .content{
    padding: 1.5rem 0;
  }
  .dropdown{
    width: 50%;
    margin: 1rem 25%;
  }
  .dropdown-content {
    position: relative;
  }
  .dropdown{
    width: 50%;
    margin: 1rem 25%;
  }
  .dropdown-content {
    position: relative;
  }
  .in{
    width: 90%;
    margin: 0;
  }
  .sub{
    margin-top: 10px;
  }
  .sub li{
    width: 40%;
    margin: 20px 2%;
  }
  .sub .sub_ul h1{
    font-size: 1.5rem;
    padding-top: 10px;
  }


}
@media screen and (max-width:630px) {
  .content{
    height: 600px;
  }
}
@media screen and (max-width:400px) {

  .dropdown-content a{
    font-size: 1rem;
  }
}