.product{
    max-width: 200px;
    box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    max-height: 400px;
    min-width: 200px;
        min-height: 390px;
}

.product a{
    text-decoration: none;
    color:#333;
}

.btn-grad {
    text-shadow: none;
    background-image: linear-gradient(to right, #FF512F 0%, #F09819  51%, #FF512F  100%);
    margin: 10px;
    padding: 15px 45px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 15px #eee;
    border-radius: 10px;
    display: block;
    position: relative;
    top: 25%;
    left: 25%;
}

.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

main{
    min-height: 115vh;
    width: 100%;
    padding-top: 75px;
}


.main-container{
    overflow-y: scroll;
    max-height: 85vh;
    float:left;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 70%;
    min-width: 77%;
    padding: 20px 10px 20px 10px;
    margin-bottom: 20px;
}
.category ul{
    font-weight: 600;
    cursor:pointer;
    display: block;
    list-style: none;
}
.product img{
    width: 100%;
    height: 60%;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}
.product-desc {
    text-align: center;
    line-height: 0.8;
}
.product-desc h4{
        font-family: "Kanit", sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: 1.3rem;
        margin-bottom: 5px;
        margin-top: 15px;
}

.product-desc p{
    font-size: 18px;
}
.category{
    min-width: 225px;
    margin-right: 2%;
    padding-left: 4%;
    float: left;
    width: 20%;
    text-decoration: none;  
}
.category li{
    list-style: none;
    display:block;
    width: 100%;
    padding-bottom: 5px;
}
.category h2{
    text-align: center;
}
.row{
    display: flex;

}

.main-list{
    background-color: silver;
    color: red;
    font-size: 30px;
    border-radius: 5px;
}

.sub-list{
    color: green;
    font-size: 25px;

}

.sub-sub-list{
    color: blue;
    font-size: 20px;
}

.sidebar{
    font-family: "Poppins", sans-serif;
    letter-spacing: 2px;
    width: 20%;
    padding: 10px 0;
    position: relative; /*do zmiany*/
}

.filter{
    padding: 0px 40px 30px 40px;
}
.filter h3{
    margin-bottom: 15px;
    margin-top: 0px;
    font-size: 45px;
    text-align: center;
}
.fil-p{
    padding: 10px 10px;
    background-color: white;
    margin: 1px 0;
    cursor: pointer;
    color: #333;
    font-weight: 700;
    font-size: 20px;
}
.fil-p:hover{
    color: rgb(71, 167, 71);
    cursor: pointer;
    background-color: #aaa;
}

.big-fil-p{
    padding: 10px 10px;
    background-color: rgb(71, 167, 71);
    margin: 2px 0;
    cursor: pointer;
    color: white;
    font-weight: 800;
    font-size: 20px;
    width: 100%;
}


button{
    width: 48%;
    position: relative;
    border: none;
    border-radius: 5px;
    background-color: #aaa;
    padding: 7px 25px;
    cursor: pointer;
    color: white;
}

.filter a{
    text-decoration: none;
}
.front{
    padding: 0px 10px;
    background-color: rgb(71, 167, 71);

    margin: 0px 0px;
    cursor: pointer;
    color: #333;
    font-weight: 800;
    font-size: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.front h3{
    color: white;
    margin: 0px 0px;
}

.main-container::-webkit-scrollbar {
    width: 10px;
  }

  /* Track */
.main-container::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  .main-container::-webkit-scrollbar-thumb {
    background: rgb(71, 167, 71);
    border-radius: 10px;
  }
  
  /* Handle on hover */
.main-container::-webkit-scrollbar-thumb:hover {
    background: rgb(48, 114, 48); 
  }


  @media (max-width: 1100px){
    .sidebar{
        margin: auto;
        padding: auto;
        min-width: 400px;
        clear: both;

    }
    .main-container{
        width: 100%;
        margin: auto;
        padding-top: 100px;
        gap: 4px;
    }
    .main-container::-webkit-scrollbar {
        display: none;
      }
    .product h4{
        font-size: 0.8rem;
        text-align: center;
        word-break: break-all;
    }
    .product img{
        height: 150px;
        max-width: 133px;
        width: 100%;
        min-width: 133px;
    }
    .product{
        max-height: 300px;
        max-width: 100px;
        min-width: 133px;
        min-height: auto;
        clear: auto;
    }


}
.return{
    width: 50px;
    height: 50px;
    background-color: rgb(71, 167, 71);
    align-items: center;
    text-align: center;
    padding: 0px;
}

@media(max-width: 700px){
    .product{
        min-height: auto;
    }
    .filter{
        padding: 0 2% 3% 2% ;
    }
    .sidebar{
        margin: auto;
        padding: auto;
        min-width: 300px;
        clear: both;
    }
    .footer{
        color: black;
        background-color: #157c34;
        width: inherit;
    }
    .footer .footer-row .footer-col ul li{
       font-size: x-small;
    }
    .footer .footer-row .footer-col ul li a{
        font-size: x-small;
     }
    .footer .footer-row{
        flex-wrap: nowrap;
    }
    .material-symbols-outlined{
        font-size: x-small !important;
    }
}