@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
    /* For portrait layouts only */
    header .uk-navbar-nav > li > a {
    padding: 0 15px;
    }
    .uk-subnav > * > :first-child { 
    font-size: 12px;
    padding: 5px 5px;
    }
    }
    
    @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: landscape) {
    /* For landscape layouts only */
    header .uk-navbar-nav > li > a {
    padding: 0 15px;
    }
    .uk-subnav > * > :first-child {
    font-size: 12px;
    padding: 5px 5px;
    }
    .uk-pull-top {
    margin-top: -110px !important;
    margin-bottom: 20px !important;
    }
    }
    
    @media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    header .uk-navbar-nav > li > a {
    padding: 0 5px !important;
    }
    .uk-top-header {
    font-size: 12px !important;
    }
    .count-timer li {
      font-size: 0.8rem;
      width: 100px;
      height: 100px;
      background-color: none;
    }
    
    .count-timer li span {
      font-size: 1.5rem;
    }
    }
    
    @media screen and (max-device-width: 640px) {
    .uk-logo img {
    width: 130px;
    }
    .uk-pull-top {
    margin-top: -110px !important;
    margin-bottom: 20px !important;
    }
    }
    
     .uk-pull-top {
        margin-top: -150px;
    }
    
    /******Timer*******/
    .count-timer{
      display: flex;
      justify-content: center;
      text-align: center;
      padding: 0;
    }
    .end-item{
      bottom: -15px !important;
    }
    
    .count-timer li span {
      display: block;
      font-size: 2.9rem;
    }
    
    .count-timer li{
      font-size: 0.9em;
      list-style-type: none;
      text-transform: uppercase;
      display: flex;
      flex-wrap: nowrap;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-top: 50px;
      box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
      width: 130px;
      height: 130px;
      border-radius: 5px;
      background-image: url(../images/pattern.jpg);
      /* background-color: #AB0101; */
      color: antiquewhite;
      margin: 0 10px;
      }
    
    @media all and (max-width: 768px) {
      .count-timer {
          display: flex;
      }
      .count-timer li {
          font-size: 0.8rem;
          width: 100px;
          height: 100px;
          margin: 0px 5px;
        }
        .count-timer li span {
          font-size: 1.5rem;
        }
      }