
@media screen and (orientation: landscape) and (min-width: 1024px) {

  
  #forord1{
    height: 70%;
    padding-left: 20px;
    padding-right: 10px;
  }

  #forord2{
    height: 70%;
    padding-left: 10px;
    padding-right: 20px;
  }
  
  #pages1{
    padding-left: 20px;
    padding-right: 20px;
  } 
  #pages2{
    padding-left: 20px;
    padding-right: 20px;
  }
  #pages3{
    height: 60%;
    padding-left: 20px;
    padding-right: 20px;
  }

  #ujamaa_9{
    padding-left: 20px;
    padding-right: 20px;
  }

  #avb{
    padding-left: 30px;
    padding-right: 30px;
    width: auto;
    height: 60%;
  }
}

@media screen and (orientation: portrait), ((orientation: landscape) and (max-width: 1024px)) {
  
  #forord1{
    padding-left: 10%;
    padding-right: 2%;
  }

  #forord2{
    padding-left: 2%;
    padding-right: 10%;
  }

  #ujamaa_9{
    width: 80%;
  }

  #avb{

    width: 50%;
    height: auto;
  }
}