@media (max-width: 1200px){
  .products-grid{
      grid-template-columns: 1fr 1fr 1fr;
    }
  .fe{
    flex: 0 0 5%;
    background-color:#ffff;
    height: 180px;
    padding: 10px;
    font-family: arial;
    border-radius: 10px;
    border: 1px solid gray;
  }
}
@media (max-width: 1146px) {
  .hero-section{
    background-position:center center;
    background-size: cover;
    background-color: blue;
  }
  
}
@media (max-width: 799px) 
{
  .header-right{
    left: 0;
    right: 0;
  }
  .header-right-section{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -310px;
    height: 100vh;
    width: 300px;
    background-color: rgb(232, 232, 232);
    padding: 80px 0 0 10px;
    box-shadow: 0 40px 60px rgba(0,0,0,.1);
    transition: right .3s linear;
  }
  .header-right-section.active{
    right: 0px;
  }
  .header-right-section p{
    line-height: 40px;
  }
  .mobile{
    display: flex;
    align-items: center;
  }
  #close{
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    color: black;
    font-size: 25px;
  }
  .hero-section {
    margin: 10px 0;
    height: 70vh;
    margin: 100px 30px;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    background-position: top 40% right 30%;
  }
  .hero-left{
    margin-left: 20px;
  }
  .hero-left h2 {

    width: 500px;
    font-size: 40px;
  }
  .hero-left button{
    margin: 30px 10px;
    box-shadow: 3px 3px 7px gray;
  }
  .products-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px 50px;
    column-gap: 25px;
    row-gap: 30px;
  }
  .footer-left-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    margin-left: 20px;
  }
  .footer-left-section img{
    width: 180px;
  }
  .footer-text{
    font-size: 12px;
  }
  .footer-middle-section h2,
  .footer-right-section h2{
    font-size: 34px;
    margin-top: 50px;
    margin-right: 0px;
  }
  .footer-middle-section .links p{
    font-size: 20px;
    line-height: 15px;
  }
  .footer-right-section{
    width: 280px;
  }
  .footer-right-section p{
    font-size: 18px;
    margin-left: 5px;
  }
  .social-icon i{
    font-size: 30px;
    margin: 0px;
  }
}


@media (max-width: 900px) {
  .hero-section{
    background-position: center center;
    background-size: cover;
  }
  .hero-left{
    width: 480px;
  }
  .social-icon i{
    font-size: 30px;
    margin: 0px;
  }
  .fe{
    flex: 0 0 5%;
    background-color:#ffff;
    height: 180px;
    padding: 10px;
    font-family: arial;
    border-radius: 10px;
    border: 1px solid gray;
  }
}


@media (max-width: 600px) {

  .hero-section{
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 120px;
    background-size: cover;
    background-position: top 30% right 100%;
    background-repeat: no-repeat;
  }
  .header{
    left: 0;
  }
  .products{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 30px gray;
    border-radius: 10px;
    transition: box-shadow .15s linear;
    cursor: pointer;
    background-color: white;
    width: 230px;
    height: 450px;
  }
  .product-image{
    width: 200px;
  }
  .products:hover{
    box-shadow: 5px 5px 15px gray;
    .product-name{
      color: rgb(37, 37, 37);
      text-decoration: underline;
    }
  }
}

@media (max-width: 550px) {

  .hero-section{
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 100px;
    width: 100%;
    background-size: cover;
    background-position-x: 76%;
    background-repeat: no-repeat;
  }
  .header{
    left: 0;
  }
  .products{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 30px gray;
    border-radius: 10px;
    transition: box-shadow .15s linear;
    cursor: pointer;
    background-color: white;
    width: 230px;
    height: 450px;
  }
  .product-image{
    width: 200px;
  }
  .products:hover{
    box-shadow: 5px 5px 15px gray;
    .product-name{
      color: rgb(37, 37, 37);
      text-decoration: underline;
    }
  }
 .products-grid{
    column-gap: 7px;
    grid-template-columns: 1fr 1fr;
    padding: 30px 10px;
  }
  .hero-left{
    width: 68%;
  }
  .hero-section h2{
    font-size: 30px;
    width: 80%;
  }
  .hero-section h4{
    font-size: 15px;
    font-style: normal;
    margin-top: 15px;
    width: 85%;
  }
  .hero-left button{
    font-size: 14px;
    margin: 10px 7px;
    padding:8px 14px;
  }
}
@media (max-width: 430px) {
  .header{
    height: 50px;
    width: 100%;
  }
  .header h1{
    font-size: 24px;
  }
  .hero-section{
    width: 100%;
    height: 370px;
    margin: 60px 0px;
    background-position-x: 78%;
    background-size: cover;
  }
  .hero-left{
    width: 65%;
  }
  .hero-section h2{
    font-size: 14px;
    width: 80%;
  }
  .hero-section h4{
    font-size: 8px;
    font-style: normal;
    margin-top: 15px;
  }
  .hero-left button{
    font-size: 8px;
    margin: 10px 7px;
    padding:8px 14px;
  }
  .product-heading{
    font-size: 20px;
  }
  .products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 30px gray;
    border-radius: 10px;
    transition: box-shadow .15s linear;
    cursor: pointer;
    background-color: white;
    width: 190px;
    height: 340px;
  }
  .product-image{
    width: 100px;
  }
  .product-name{
    font-size: 16px;
  }
  .product-price{
    font-size: 18px;
  }
  .footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
    box-shadow: 10px 10px 50px rgb(37, 37, 37);
    font-family: arial;
    background-color: rgb(192, 192, 192);
    bottom: 0;
  }
  .footer-left-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
    margin-left: 20px;
  }
  .footer-left-section h1{
    font-size: 30px;
    margin-top: 90px;
    font-family: 'Times New Roman', Times, serif;
  }
  .footer-left-section p{
    width: 140px;
    color: gray;
  }
  .footer-right-section h2{
    font-size: 24px;
  }
  .footer-right-section{
    margin-left: 30px;
  }
  .footer-right-section p{
    font-size: 16px;
    margin-left: 10px;
    cursor:pointer;
    margin-bottom: 0px;
  }
  .footer-right-section i{
    margin-left: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: color .15s linear;
    margin: 0px;
  }
  .footer-right-section i:hover{
    color: gray;
  }
  .footer-right-section .social-icon{
    margin: 20px 30px;
  }
  a{
    color: black;
    text-decoration: none;
  }
  i{
    border: none;
  } 
  .prodetails {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    margin-left: 0px;
    margin-right: 0px;
    width: 100vw;
    box-shadow: 10px 10px 50px black;
    border-radius: 20px;
    background-color: transparent ;
  }
  .single-pro-image { width: 100%; margin-top: 60px;}
  .single-pro-image img{ width: 250px;}
  .single-pro-details { width: 100%; padding: 0px 0px; }
  .single-pro-details input {
      width: 50px;
      height: 35px;
      padding-left: 10px;
      font-size: 16px;
      margin-right: 10px;
    }
  .pro-desc{
    width: 100%;
  }
  .single-pro-details button { 
    background: #088178;
    color: #fff;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 20px;
  }

}

@media (max-width: 400px) {
  .header{
    height: 50px;
    width: 100%;
  }
  .header h1{
    font-size: 24px;
  }
  .hero-section{
    width: 100%;
    height: 300px;
    margin: 60px 0px;
    background-position-x: 80%;
    background-size: cover;
  }
  .hero-left{
    width: 60%;
  }
  .hero-section h2{
    font-size: 14px;
    width: 80%;
  }
  .hero-section h4{
    font-size: 8px;
    font-style: normal;
    margin-top: 15px;
  }
  .hero-left button{
    font-size: 8px;
    margin: 10px 7px;
    padding:8px 14px;
  }
  /*carousel-wrapper*/
  .carousel-wrapper{
    width: 100%;
  }
  /*products*/
  .product-heading{
    font-size: 20px;
  }
  .products-grid{
    column-gap: 7px;
    grid-template-columns: 1fr 1fr;
    padding: 30px 10px;
  }
  .products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 30px gray;
    border-radius: 10px;
    transition: box-shadow .15s linear;
    cursor: pointer;
    background-color: white;
    width: 180px;
    height: 340px;
  }
  .product-image{
    width: 100px;
  }
  .product-name{
    font-size: 14px;
  }
  .product-price{
    font-size: 16px;
  }
  .product-bottom button{
    padding:8px;
  }
  .product-bottom button i{
    font-size: 12px;
  }

/*footer*/
  .footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
    box-shadow: 10px 10px 50px rgb(37, 37, 37);
    font-family: arial;
    background-color: rgb(192, 192, 192);
    bottom: 0;
  }
  .footer-left-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
    margin-left: 20px;
  }
  .footer-left-section h1{
    font-size: 30px;
    margin-top: 90px;
    font-family: 'Times New Roman', Times, serif;
  }
  .footer-left-section p{
    width: 140px;
    color: gray;
  }
  .footer-right-section h2{
    font-size: 24px;
  }
  .footer-right-section{
    margin-left: 30px;
  }
  .footer-right-section p{
    font-size: 16px;
    margin-left: 10px;
    cursor:pointer;
    margin-bottom: 0px;
  }
  .footer-right-section i{
    margin-left: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: color .15s linear;
    margin: 0px;
  }
  .footer-right-section i:hover{
    color: gray;
  }
  .footer-right-section .social-icon{
    margin: 20px 30px;
  }
  a{
    color: black;
    text-decoration: none;
  }
  i{
    border: none;
  }
  /*prodetails*/
  .prodetails {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    margin-left: 7px;
    margin-right: 7px;
    box-shadow: 10px 10px 50px black;
    border-radius: 20px;
    background-color: transparent ;
  }
  .single-pro-image { width: 100%; margin-top: 60px;}
  .single-pro-image img{ width: 250px;}
  .single-pro-details { width: 100%; }
  .single-pro-details input {
      width: 50px;
      height: 35px;
      padding-left: 10px;
      font-size: 16px;
      margin-right: 10px;
    }
  .pro-desc{
    width: 100%;
  }
  .single-pro-details button { 
    background: #088178;
    color: #fff;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 20px;
  }
}