/*Mobile*/

@media screen and (max-width: 768px){
    .navigation{
        display: none;
    }
    .navigation-mobile{
        display: flex;
        justify-content: space-between;
        height: 50px;
        width: 100%;
        box-sizing: border-box;
        align-items: center;
        position: sticky;
        top: 0;
        
    }
    .navigation-mobile #open-nav-mobile{
        height: 100%;
        width: 40px;
        box-sizing: border-box;
        padding: 5px;
        background: transparent;
        border: none;
        border-radius: 10px;
        transition: all .2s ease;
    }
    .navigation-mobile #open-nav-mobile:active{
        background: rgba(0, 0, 255, .4);
    }
    .navigation-mobile #open-nav-mobile img{
        height: 20px;
        width: 20px;
        
    }
    .right-nav-mobile{
        display: flex;
        width: 100%;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        box-sizing: border-box;
        
        background: rgba(0, 0, 0, 0.3);
        z-index: 1001;
        height: 100%;
        max-height: 0%;
        overflow: hidden;
        transition: max-height .5s ease;        
    }
    .right-nav-mobile a{
        text-decoration: none;
        text-align: center;
        padding: 1rem 0;
        background: white; 
        color: black;
        width: 100%;
        font-weight: 700;
        transition: all .5s ease;
        position: relative;
        display: block;
        font-size: 1.2rem;
    }
    .right-nav-mobile a:active{
        background: rgba(0, 0, 255, 0.4);
        color: white;
    }
    .right-nav-mobile .navigator-mobile{
        display: flex;
        flex-direction: column;
        overflow: hidden;
        
    }
    .right-nav-mobile #main-nav::after{
        content: "∨";
        position: absolute;
        transform: translateY(0);
        right: 0;
        color: rgba(0, 0, 0, 0.5);
        
        font-weight: 700;
    }
    .right-nav-mobile .navigator-mobile ul{
        position: relative;
        overflow: hidden;
        max-height: 0;
        margin: 0;
        transition: all .8s ease;
        
    }
    .right-nav-mobile .navigator-mobile li{
        margin-top: 0;

    }
    .sub-nav li a{
        font-size: 1.1rem;
        font-weight: 400;
    }
    .right-nav-mobile #main-nav:hover ul{
        margin-top: 0;
        padding: 0;

    }
    #main-nav:active + ul{
        max-height: 300px;
    }
    /*Hero-section*/
    .ad{
        width: 100%;
        height: 700px;
        justify-content: space-evenly;
    }
    .ad h2{
        text-align: center;
        font-size: 2rem;
        height: max-content;
    }
    .ad h3{
        text-align: center;
        width: 100%;
        padding: 5px;
        

    }
    .ad .action{
        width: 100%;

    }
    .banner{
        width: 100%;
         
    }
    .banner-wrapper{
        height: max-content;
    }
    /*AQI*/
    .AQI{
        width: 100%;
        
    }
    .AQI-info{
        display: flex !important;
        flex-direction: column;
        height: auto !important;
    }
    .feature{
        display: flex !important;
        width: 100%;
        flex-direction: column;

    }
    .feature .feature-item{
        margin-top: 1rem;
    }
    /*Product-list*/
    .product-list{
        width: 100%;
        
    }
    .carousel-container{
        padding: 0;
        overflow: hidden;
    }
    .index.product-card{
        width: calc(100%);
        height: 100%;
    }
    /*News-carousel*/
    .news {
        width: 100%;
    }
    .news-carousel-container{
        width: 100%;
    }
    .news-carousel-wrapper{
        width: 100%;
    }
    .news-card{
        width: 100%;

    }
    .infras {
        width: 100%;
    }
    .infras-carousel-container{
        width: 100%;
    }
    .infras-carousel-wrapper{
        width: 100%;
    }
    .infras-card{
        width: 100%;

    }
	.index.product-card.prev{ 
    transform: translateX(-100%);
    z-index: 2;
    opacity: 1;
	}
	.index.product-card.next{ 
		transform: translateX(100%);
		z-index: 2;
		opacity: 1;
	}
	.index.product-card.far-left{ 
		transform: translateX(-200%);
		z-index: 1;
		opacity: 0;
	}
	.index.product-card.far-right{ 
		transform: translateX(200%);
		z-index: 1;
		opacity: 0;
	}
	.index.product-image img{
		object-fit: contain;
	}
    /*Footer*/
    .footer{
        display: flex;
        flex-direction: column;
        max-height: none;
        height: max-content;
        width: 100%;
    }
    .footer .company{
        width: 100%;

    }
    .footer .info{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        
        margin-bottom: 1rem;
        padding: 0;
    }
}
/*General*/
@media screen and (max-width: 768px){
    .general-content{
        width: 100%;
        box-sizing: border-box;
        padding: 10px 5px;
    }
    /*Company Info*/
    .company-info-content{
        display: flex !important;
        flex-direction: column;
        
    }
    .company-info-content .company-card{
        margin-top: 1rem;
    }
    /*Product List*/
    .filters{
        display: flex;
        flex-direction: column;
        height: max-content !important;
        width: 100%;

    }
    .filter-buttons{
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-evenly !important;
        padding: 10px 20px;
        width: 100% !important;
        box-sizing: border-box;
        gap: 20px;
    }
    .filter-buttons .filter-btn{
        border: 2px solid black;
    }
    .filters .search-bar{
        width: 100%;
        margin-top: 1rem;
    }
    .products-grid{
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .products-grid .product-card{
        margin-top: 1rem;
    }
    /*Product*/
    .product-heading{
        flex-direction: column;
        justify-content: center;
    }
    .product-heading .carousel-container{
        width: 100%;

    }
    .product-heading .product-title{
        width: 100%;
        box-sizing: border-box;
        padding: 5px;

    }
    .product-heading .product-title h2{
        font-size: 1.6rem;
    }
    .sub-product-item{
        flex: 0 0 100%;
    }
}
/*Article*/
@media screen and (max-width: 768px) {
    .hero-title h3{
        font-size: 1rem;
    }
    .hero-title a{
        font-size: 1rem;
    }
    .article-content{
        display: flex;
        flex-direction: column;

    }
    .article-content .main-article{
        width: 100%;

    }
    .main-article .main-article-title{
        
    }
    .main-article img{
        width: 80%;

    }
    .sub-article-container{
        width: 100% !important;

    }

    
}
/*Tablet*/
@media screen and (max-width: 1024px) and (min-width: 769px){
    .navigation{
        display: none;
    }
    .navigation-mobile{
        display: flex;
        justify-content: space-between;
        height: 50px;
        width: 100%;
        box-sizing: border-box;
        align-items: center;

    }
    .navigation-mobile #open-nav-mobile{
        height: 100%;
        width: 40px;
        box-sizing: border-box;
        padding: 5px;
        background: transparent;
        border: none;
        border-radius: 10px;
        transition: all .2s ease;
    }
    .navigation-mobile #open-nav-mobile:active{
        background: rgba(0, 0, 255, .4);
    }
    .navigation-mobile #open-nav-mobile img{
        height: 20px;
        width: 20px;
        
    }
    .right-nav-mobile{
        display: flex;
        width: 100%;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        box-sizing: border-box;
        
        background: rgba(0, 0, 0, 0.3);
        z-index: 1001;
        height: 100%;
        max-height: 0%;
        overflow: hidden;
        transition: max-height .5s ease;        
    }
    .right-nav-mobile a{
        text-decoration: none;
        text-align: center;
        padding: 1rem 0;
        background: white; 
        color: black;
        width: 100%;
        font-weight: 700;
        transition: all .5s ease;
        position: relative;
        display: block;
        font-size: 1.2rem;
    }
    .right-nav-mobile a:active{
        background: rgba(0, 0, 255, 0.4);
        color: white;
    }
    .right-nav-mobile .navigator-mobile{
        display: flex;
        flex-direction: column;
        overflow: hidden;
        
    }
    .right-nav-mobile #main-nav::after{
        content: "∨";
        position: absolute;
        transform: translateY(0);
        right: 0;
        color: rgba(0, 0, 0, 0.5);
        
        font-weight: 700;
    }
    .right-nav-mobile .navigator-mobile ul{
        position: relative;
        overflow: hidden;
        max-height: 0;
        margin: 0;
        transition: all .5s ease;
        
    }
    .right-nav-mobile .navigator-mobile li{
        margin-top: 0;

    }
    .sub-nav li a{
        font-size: 1.1rem;
        font-weight: 400;
    }
    .right-nav-mobile #main-nav:hover ul{
        margin-top: 0;
        padding: 0;

    }
    #main-nav:active + ul{
        max-height: 300px;
    }
    /*Hero-section*/
    .ad{
        width: 100%;
        height: 700px;
        justify-content: space-evenly;
    }
    .ad h2{
        text-align: center;
        font-size: 2rem;
        height: max-content;
    }
    .ad h3{
        text-align: center;
        width: 100%;
        padding: 5px;
        

    }
    .ad .action{
        width: 100%;

    }
    .banner{
        width: 100%;
         
    }
    .banner-wrapper{
        height: max-content;
    }
    /*AQI*/
    .AQI{
        width: 100%;
        
    }
    .AQI-info{
        display: flex !important;
        flex-direction: column;
        height: auto !important;
    }
    .feature{
        display: flex !important;
        width: 100%;
        flex-direction: column;

    }
    .feature .feature-item{
        margin-top: 1rem;
    }
    /*Product-list*/
    .product-list{
        width: 100%;
    }
    .carousel-container{
        padding: 0;
        overflow: hidden;
    }
    .index.product-card{
        width: calc(100%);
        height: 100%;
    }
    .index.product-image{
        overflow: inherit;
    }
    .index.product-image img{
        width: 100%;
        height: 300px;
        object-fit: contain;

    }
    /*News-carousel*/
    .news {
        width: 100%;
    }
    .news-carousel-container{
        width: 100%;
    }
    .news-carousel-wrapper{
        width: 100%;
    }
    .news-card{
        width: 100%;

    }
    .infras {
        width: 100%;
    }
    .infras-carousel-container{
        width: 100%;
    }
    .infras-carousel-wrapper{
        width: 100%;
    }
    .infras-card{
        width: 100%;

    }
    /*Footer*/
    .footer{
        display: flex;
        flex-direction: column;
        max-height: none;
        height: max-content;
        width: 100%;
    }
    .footer .company{
        width: 100%;

    }
    .footer .info{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        
        margin-bottom: 1rem;
        padding: 0;
    }
}
/*General*/
@media screen and (max-width: 1024px)  and (min-width: 769px){
    .general-content{
        width: 100%;
        box-sizing: border-box;
        padding: 10px 5px;
    }
    /*Company Info*/
    .company-info-content{
        display: flex !important;
        flex-direction: column;
        
    }
    .company-info-content .company-card{
        margin-top: 1rem;
    }
    /*Product List*/
    .filters{
        display: flex;
        flex-direction: column;
        height: max-content !important;
        width: 100%;

    }
    .filter-buttons{
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-evenly !important;
        padding: 10px 20px;
        width: 100% !important;
        box-sizing: border-box;
        gap: 20px;
    }
    .filter-buttons .filter-btn{
        border: 2px solid black;
    }
    .filters .search-bar{
        width: 100%;
        margin-top: 1rem;
    }
    .products-grid{
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .products-grid .product-card{
        margin-top: 1rem;
    }
    /*Product*/
    .product-heading{
        flex-direction: column;
        justify-content: center;
    }
    .product-heading .carousel-container{
        width: 100%;

    }
    .product-heading .product-title{
        width: 100%;
        box-sizing: border-box;
        padding: 5px;

    }
    .product-heading .product-title h2{
        font-size: 1.6rem;
    }
    .product-title .action a{
        width: 40%;

    }
    
}
/*Article*/
@media screen and (max-width: 1024px) {
    .hero-title h3{
        font-size: 1rem;
    }
    .hero-title a{
        font-size: 1rem;
    }
    .article-content{
        display: flex;
        flex-direction: column;

    }
    .article-content .main-article{
        width: 100%;

    }
    .main-article .main-article-title{
        
    }
    .main-article img{
        width: 80%;

    }
    .sub-article-container{
        width: 100% !important;

    }

    
}
@media screen and (max-width: 480px) {
    /*General-content*/
	.general-content{
		box-sizing: border-box;
		padding: 5px;
		
	}
	.main-article img{
		width: 80%;
	}
	/*Company*/
	.company-card-content{
		margin-left: 20%;
	}
	.company-card #company-card-title{
		margin-left: 20%;
	}

    
}
