@media (width <= 1020px  ) {
  :root{
    --text-sm: 12px;
    --text-md: 16px;
    --text-lg: 24px;
    --text-xl: 36px;
    --text-xxl: 40px;

    --padding-sm: 20px;
    --padding-md: 24px;
    --padding-lg: 30px;
    --padding-xl: 40px;

    --margin-sm: 20px;
    --margin-md: 24px;
    --margin-lg: 30px;
    --margin-xl: 40px;
    --margin-xxl: 80px;
    background-color: black;

  }
  main{
    max-width: 100%;
    overflow: hidden;
  }
  body.fixed {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  #about-blur-3{
    display: none;
  }
  .hero{
    padding-bottom: 40px;
    height: 100vh;
    background-color: black;
  }
  .hero-bottom-right{
    display: none;
  }
  .hero-bottom-left{
    width: 100%;
    max-width: 100%;
  }
  .hero-bottom-left .explore-button a{
    width: 100px;
    height: 100px;
  }
  .explore-button a{
    font-size: 10px;
  }
  .explore-button .arrow-container{
    width: 20px;
    height: 20px;
    padding: 4px;
  }
  .explore-button .arrow-container img{
    width: 8px;
  }
  .hero-content{
    padding: 0%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: var(--margin-md, 24px);
    padding-bottom: 2px;

  }
  .hero #commercial, .hero #industrial, .hero #residential{
    transform: translate(0) !important;
    background: linear-gradient(180deg, #FFF 43.5%, rgba(153, 153, 153, 0.00) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-bottom{
    padding: var(--padding-sm, 20px);
    position: absolute;
    bottom: 50px;
  }
  .mini-thunder{
    display: block;
    width: 45px;
    margin-top: 50px;
  }
  .mini-thunder canvas{
    width: 100% !important;
    height: 100% !important;
  }
  .hero-content p{
    font-size: var(--text-sm, 12px);
    font-weight: 100;
  }
  .hero-content{
    height: 100dvh;

  }
  .hero-content h1{
    font-size: 12vw;
  }
  .hero-content .title{
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .video-container{
    height: 110vh;
  }
  .hero-content .title span{
    line-height: normal;
  }
  .title-text-container-2{
    z-index: 10;
  }
  .title-text-container-3{
    z-index: 0;
  }
  .title-text-container-3 h1{
    background: linear-gradient(180deg, #FFF 43.5%, rgba(153, 153, 153, 0.00) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  #threejs-container{
    width: 80vw;
    height: 90vw;
    right: 0;
    bottom: 0;
    top: 14vh;
    margin: auto;
    align-items: center;
  }
  #footer-thunder-3d{
    display: none;
  }
  #threejs-container canvas{
    max-width: 100%;
    max-height: 100%;
  }
  .info-band{
    display: none;
  }
  .info-cards{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--padding-sm, 20px);
    padding-top: 100px;
    gap: var(--margin-md, 20px);
    background: linear-gradient(180deg, rgba(13,12,17,1) 0%, rgba(15,12,15,1) 50%, rgba(27,21,26,1) 100%);
  }
  .info-cards div{
    border-radius: 9.849px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.10);
    box-shadow: 0px 49.243px 98.485px 0px rgba(255, 255, 255, 0.15) inset, 0px 4.924px 9.849px 0px rgba(0, 0, 0, 0.05), 0px 14.773px 29.546px 0px rgba(0, 0, 0, 0.05), 0px 29.546px 59.091px 0px rgba(0, 0, 0, 0.10);
    padding: var(--padding-md, 24px); 
    text-align: center;
    width: 100%;
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .info-cards h3{
    font-size: var(--text-xxl, 40px);
    color: white;
    font-weight: 700;
    margin-bottom: var(--margin-sm, 20px);
  }
  .info-cards p{
    font-size: var(--text-md, 16px);
    color: white;
    font-weight: 100;
    opacity: 0.75;
  }
  /*** About ***/

  .about-catalog{
    background: none;
  }
  .about{
    padding-inline: var(--padding-sm, 20px);
    padding-block: 5vh;
    height: auto;
    min-height: 500px;
    background-image: url(../assets/img/about-background-b.png);
    background-size: 150vw auto;
    background-position: 50% -50%; 
    background-repeat: no-repeat;
  }
  .about-mb-overlay{
    display: block;
    position: absolute;
    background-color: aqua;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(27,21,26,1) 0%, rgba(15,12,15,0) 50%, rgba(26,15,17,1) 100%);
  }
  .about h2{
    font-size: var(--text-xl, 36px);
    margin-bottom: 10px;
  }
  .about p{
    font-size: var(--text-sm, 12px);
    opacity: 0.75;
    max-width: 100%;
  }
  .about a{
    font-size: 10px;
    margin-bottom: 8px;
    padding: 8px 16px;
    font-weight: 300;
  }
  .about  a img{
    width: 8px;
    height: auto;
  }
  .title-container{
    bottom: auto;
    z-index: 99;
  }
  .catalog h2, .articles h2{
    font-size: var(--text-lg, 24px);
    margin-bottom: var(--margin-md, 20px);
  }
  .articles h2{
    margin-top: var(--margin-xl, 30px);
  }
  .catalog .link-container, .articles .link-container{
    display: none;
  }
  .articles .btn-blured{
    margin-bottom: var(--margin-xxl, 20px);
  }
  .catalog-carousel-container.swiper{
    display: none;
  }
  .catalog{
    height: auto;
    background: linear-gradient(180deg, rgba(26,15,17,1) 0%, rgba(15,12,15,0) 56%, rgba(0,0,0,1) 100%);
    padding-block: 80px;
  }
  .articles{
    background-image: url(../assets/img/articles-mb-bg.png);
    background-repeat: no-repeat;
    background-position: left calc(100% + 20px);
    height: auto;
  }
  .preloader{
    width: 100%;
    height: 100vh;
  }
  .card-item h5{
    font-size: 20px;
    font-weight: 100;
    color: white;
  }
  .card-item p{
    font-size: 14px;
    opacity: 0.75;
  }
  .articles-carousel-container-mobile, .catalog-carousel-container-mobile{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--margin-md);
  }
  .article-item-top .article-img, .card-item-top, .card-img{
    height: 200px;
  }
  .catalog-title, .articles-title{
    padding: var(--padding-sm, 20px);
  }
  .about p{
    line-height: 0.8rem;
  }
  .btn-blured{
    text-decoration: none;
    color: white;
    padding: 12px 24px; 
  }
  .articles-carousel-container{
    display: none;
  }
  .articles-overlay-mb{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgb(4,9,12);
    background: linear-gradient(201deg, rgba(4,9,12,1) 34%, rgba(15,8,10,0.5) 100%);
  }

  .cta-1{
    height: auto;
    background-image: url(../assets/img/cta-1-mobile-bg.png);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .cta-1-content{
    padding: 8% 20px 15% 20px;
    min-height: 30vh;
  }
  .cta-1 video{
    display: none;
  }
  .cta-1 .video-overlay{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
    background-blend-mode: overlay, normal, normal;
  }
  .cta-1 h2{
    font-size: 20px;
  }
  .cta-1-content .link-text{
    font-size: 14px;
  }
  /*cta 2 */
  .cta-2{
    height: auto;
    background-image: url(../assets/img/cta-2-mobile-bg.png);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: end;
  }
  .cta-2 .cta-2-content{
    padding: 40px 20px 15% 20px;
    max-width: 70%;
    justify-self: end;
    min-height: 30vh;
  }
  .cta-2 h2{
    font-size: 20px;
    text-align: left;
  }
  .cta-2 video{
    display: none;
  }
  .cta-2 .video-overlay{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
    background-blend-mode: overlay, normal, normal;
  }
  .cta-2 .cta-content{
    padding: var(--padding-sm, 20px);
    height: auto;

  }
  .cta-2 h2{
    font-size: 20px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .cta-2 .link-text{
    font-size: 14px;
  }
  .cta-2 .link-container{
    align-self: flex-start;
  }

  .link-container{
    font-size: 8px;
  }
  .link-container .link-text {
    &::after{
      height: 1px;
    }
  }

  .link-arrow{
    width: 20px;
    height: 20px;
    padding: 6px;
  }
  .link-arrow img{
    width: 100%;
  }
  /**Clientele**/

  .clientele{
    height: auto;
    background: rgb(0,0,0);
    background: linear-gradient(103deg, rgba(0,0,0,1) 0%, rgba(24,9,11,1) 100%);
  }
  .clientele-title{
    max-width: 100%;
    
    margin-top: var(--margin-xxl, 80px);
    
    padding: var(--padding-sm, 20px);
  }
  .clientele-title h2{
    font-size: var(--text-xl, 24px);
  }
  .clientele p{
    max-width: 500px;
    font-size: var(--text-sm, 12px);
    opacity: 1;
  }
  .clientele-logo-container{
    display: none;
  }
  .sponsors-marquee{
    bottom: 0;
    top: auto;
  }
  .clientele-marquee{
    width: 100%;
    display: flex;
    overflow: hidden;
    background-color: white;
    margin-top: 30px;
    margin-bottom: 150px;
  }
  .clientele-marquee .marquee-c{
    display: flex;
    padding: 20px;
    gap: 30px;
    width: max-content;
  }
  .clientele-marquee .marquee-c .clientele-item{
    width: fit-content;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .clientele-marquee .marquee-c img{
    width: auto;
    max-width: 100px;
    height: auto;
  }

  .swiper-slide{
    width: 80% !important;
    max-width: 80% !important;
  }

  .sponsor-item.big-sponsor img{
    width: auto;
  }
  /*Blurs */
  .hero .video-overlay{
    background: linear-gradient(180deg, rgba(255,255,255,0) 74%, rgba(13,12,17,1) 100%);
  }
  .footer-filter{
    display: block;
    width: 100%;
    height: 100%;
    background: rgb(15,8,10);
    background: linear-gradient(270deg, rgba(15,8,10,1) 0%, rgba(4,9,12,1) 100%);
    position: absolute;
    z-index: -4;
  }
  .footer-filter-2{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -3;
  }

  
  /***/
  .hero-content .title{
    position: static;
    height: auto;
  }
  .title-container{
    position: static;
  }
  /****/
}
@media(max-width: 500px){
  .about{
    background-size: 150vw auto;
    background-position: 50% 100%; 
    background-repeat: no-repeat;
    padding-block: 40px;
    min-height: auto;
  }
  #threejs-container{
    width: 50vw;
    height: 80vw;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    align-items: center;
  }
  .hero-content h1{
    font-size: 12vw;
  }
  .catalog{
    height: auto;
    padding-block: 0;
    background: linear-gradient(180deg, rgba(26,15,17,1) 0%, rgba(15,12,15,0) 56%, rgba(0,0,0,1) 100%);
    padding-bottom: 80px;
  }
  .cta-1-content{
    min-height: 20vh;
  }
  .footer-mb-thunder{
    left: 30vw;
  }
}