#top-ads-banner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  height: 180px;
  width: 100%;
  background-color: var(--main-color);
  border-radius: 10px;
  overflow: hidden;
  margin: auto;
  padding: 1rem;
}
#top-ads-banner aside{
   height: 100%;
   width: calc(100% - 216px); 
   background-color: #777;
   border-radius: 10px;
   background-image: url("/static/lottlistapp/images/accessories.jpg");
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
   color: #fff;
  }
  #top-ads-banner a{
    height: 100%;
    width: 200px;
    background-color: #fcfcfc;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    background-image: url("/static/lottlistapp/images/car2.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  #top-ads-banner-txt::before{
    content: attr(info-txt);
    font-size: 1.8rem;
    color: var(--main-color);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    padding: 7px;
    text-align: center;
  }

  .categ-section{
    display: flex;
    height: auto;
    width: 100%;
    box-sizing: border-box;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    background-color: var(--main-color);
    flex-wrap: wrap;
  }
  .img-categ-wrap span{
    background-color: var(--main-color);
    padding: 5px 18px;
    box-sizing: border-box;
    color: #f7f7f7;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 5px 5px 0px 0px;
  }
  .img-categ-wrap:hover, .img-categ-wrap:active, .img-categ-wrap:focus{
    transform: scale(1.02, 1.02);
  }
  .img-categ-wrap{
    height: 220px;
    width: calc(98% / 5);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    box-sizing: border-box;
    margin: 5px 0px;
    text-decoration: none;
    background-position: center;
    background-size: cover;
    transition: 0.4s;
  }

  .big_img_wrap{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 40%; 
    background-color: #fcfcfc;
    height: 100%;
  }
  .big_img_wrap a{
    height: 100%;
    width: 100%;
  }
  .square_img_wrapp{
    display: flex; 
    flex-direction: column; 
    width: 20%; 
    background-color: antiquewhite;
    height: 100%;
  }
  .square_img_wrapp a{
    height: 50%;
    width: 100%;
  }
  .vertical-img-wrap{
    display: flex; 
    flex-direction: column; 
    width: 40%; 
    background-color: #777;
    height: 100%;
  }
  .vertical-img-wrap a{
    height: 50%;
    width: 100%;
  }
  .bigger-img-wrap{
    height: 350px;
    overflow: hidden;
  }
  .bigger-img-wrap a{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
  }
  .bigger-img-wrap span{
    font-size: 1.5rem;
    width: 100%;
    font-weight: 700;
    text-align: center;
    color: #fff;
    text-shadow: 0px 0px 50px #08171b4d;
    z-index: 10;
    position: relative;
  }
  .bigger-img-wrap a::after{
    content: '';
    height: 100%;
    width: 100% !important;
    background-color: #04232c83;
    position: absolute;
    z-index: 5;
  }
  .bigger-img-wrap a:hover, .bigger-img-wrap a:active, .bigger-img-wrap a:focus{
    transform: scale(1.03, 1.03);
  }
  @media screen and (max-width: 920px) {
    .square_img_wrapp{
      display: none;
    } 
    .big_img_wrap{
      width: 50%;
    }
  .vertical-img-wrap{
    width: 50%; 
  }
    .img-categ-wrap{
      width: calc(98% / 3);
    }
    .medium_hide{
      display: none;
    }
    @media screen and (max-width: 780px) {
      #top-ads-banner-txt::before{
        font-size: 1.3rem;
        font-weight: 800;
        padding: 3px;
      }
      #top-ads-banner{
        height: 120px;
        padding: 10px;
      }
      #top-ads-banner a{
        width: 120px;
      }
      #top-ads-banner aside{
        width: calc(100% - 130px); 
      }
    }
    @media screen and (max-width: 560px) {
      .big_img_wrap{
       width: 100%;
       height: 300px;
     }
     .vertical-img-wrap{
       width: 100%; 
       height: 300px;
     }
     .bigger-img-wrap{
       display: flex;
       justify-content: center;
       align-items: center;
       flex-direction: column;
       flex-wrap: wrap;
       height: auto;
     }
      .img-categ-wrap{
        height: 200px;
        width: calc(98% / 2);
      }
      .small_hide{
        display: none;
      }
    }
  }
    @media screen and (max-width: 580px) {
      #top-ads-banner{
        height: 100px;
        padding: 6px;
      }
      #top-ads-banner a{
        width: 100px;
        display: none;
      }
      #top-ads-banner aside{
        width: 100%; 
      }
    }
    @media screen and (max-width: 320px) {
      .img-categ-wrap{
        height: 180px;
        width: 98%;
      } 
    }