
* {
    box-sizing: border-box;
}
h1 {
    color: #000000;
    margin-bottom: 30px;
}

label {
    color: #000000;
    margin-bottom: 30px;


}

select {
    width: 50%;
    margin-bottom: 15px;
}

.container {
    padding: 40px;
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;

}

#itemsList {
    padding-inline-start: 0;
    padding: 5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
}

.item {
    list-style-type: none;
    background-color: #eaeaea;
    border-radius: 3px;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: 4fr;
    grid-template-areas:
        'image'
        'title'
        'discount';
    text-align: left;
}

.item > h2 {
    grid-area: title;
    margin-bottom: 0px;
}

.item > p {
    grid-area: discount;
    margin: 0;
    margin-top: -18px;
}

.item > img {
    max-height: 100px;
    grid-area: image;
}

#searchBar {
    width: 100%;
    height: 40px;
    border-radius: 3px;
    border: 1px solid #eaeaea;
    padding: 10px 10px ;
    font-size: 12px;
    margin-bottom: 15px;

}

#searchWrapper {
    position: relative;
}

#searchWrapper::after {
    content: '🔍';
    position: absolute;
    top: 7px;
    right: 15px;
}

hr.solid {
  border-top: 3px solid #e1e1e1;
  padding: 5px; 
}


.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}
.center1 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  max-width: 200px;
  height: auto;
}




.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  

}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 30vh auto; /* auto from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 70%; /* Could be more or less, depending on screen size */

}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.butn{
    background-color: #bababa; /* Gray */
  border: none;
  color: black;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 80%;
  margin: auto 10%;
  font-size: 15px;
    
}


.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordionar {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 18px;
  transition: 0.4s;
}

.activear, .accordionar:hover {
  background-color: #ccc;
}

.panelar {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  text-align: right;
  transition: max-height 0.2s ease-out;
}


.itemar {
    list-style-type: none;
    background-color: #eaeaea;
    border-radius: 3px;
    padding: 10px 20px;
    display: grid;
    text-align: right;
}


