@import "colors.css";

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/* Items */
.item_list{
    width:100%;
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
}
.item_header {
    width: 100%;
    background-color: var(--PrimaryColor);
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 5px;
}

.item_panel {
    width: 25%;
    padding: 5px;
}
@media (min-width:768px) and (max-width:1280px){
    .item_panel{
        width:33.33%;
    }
}
@media (max-width: 768px) {
    .item_panel{
        width:50%;
    }
    .header h5{
        font-size:16px;
        font-weight:bolder;
    }
}
.item {
    border: 0.5px solid var(--PrimaryColor);
    border-radius: 4px;
    position: relative;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 5px;
}
.qr_code {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 25%;
    aspect-ratio: 1/1;
    /* border: 0.5px solid grey; */
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 5px;
}
.LC {
    position: absolute;
    display:flex;
    justify-content:center;
    align-items:center;
    bottom: 20px;
    left: 20px;
    width: 25%;
    aspect-ratio: 1/1;
    /* border: 0.5px solid grey; */
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 5px;
    
}
.off_on_label {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    right: 20px;
    width: auto;
    aspect-ratio: 1/1;
    border-radius: 5px;
    border: 2px solid red;
    color:red;
}
.item_image{
    width: 100%;
    aspect-ratio: 1/1;
    position:relative;
}
.item_image .offer{
    position:absolute;
    top:10px;
    left:0px;
    background-color:red;
    color:white;
    padding:4px;
    font-size:16px;
    width:auto;
    height:auto;
    border-end-end-radius:5px;
    border-top-right-radius:5px;
}
.item_image .price {
    position: absolute;
    top: 10px;
    right: 0px;
    color: white;
    padding: 4px;
    font-size: 16px;
    width: auto;
    height: auto;
    
}
.price p {
    margin-bottom: 5px;
    display:block;
    padding-left:10px;
    padding-right:4px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    background-color: var(--PrimaryColor);
}
.item_image img{
    width:90%;
    height:90%;
    margin:5%;
}
.item h5{
    font-weight:100;
}
.header{
    display:flex;
    flex-direction:column;
    border-bottom:0.5px solid var(--PrimaryColor);
}
.item p {
    margin:0px;
}
.more_panel{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top:20px;
}
.options{
    display:flex;
    flex-direction:row;
    position:fixed;
    z-index:100;
    bottom:30px;
    left:30px;
    width:auto;
}
.options button {
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-color: transparent;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 5px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background-color: var(--PrimaryColor);
    color: white;
    margin-left: 5px;
}
.No_found_message{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
}
.OfferImage{
    border:1px solid var(--PrimaryColor);
    display:flex;
    justify-content:center;
    border-radius:5px;
    padding:5px;
}
.OfferImage img{
    width:100%;
    object-fit:cover;
}
.CmpInfo h1{
    font-weight:bolder
}
.CmpInfo h2,h3{
    font-weight:100;
}