* Global styles */


body {
   font-family: "Monospace", "monaco", monospace;
  margin: 0;
  padding: 0;
}

h3 {
  font-family: "Monospace", "monaco", monospace;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
   font-family: "Monospace", "monaco", monospace;
}

/*filter style*/

.filters {
   font-family: "Monospace", "monaco", monospace;
  display: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

select {
   font-family: "Monospace", "monaco", monospace;
  font-size: 15px;
  padding: 3px 2px;
  border-radius: 5px;
  border: none;
  background-color: #eee;
  margin-right: 10px;
  color: #333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

select:focus {
  outline: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.button {
   font-family: "Monospace", "monaco", monospace;
  display: flex;
  justify-content: center;
  align-items: center;
}

#resetFiltersButton {
  font-family: "Monospace", "monaco", monospace;
}

#resetFiltersButton:hover {
   font-family: "Monospace", "monaco", monospace;
  outline: none;
  box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}

select option {
  
  background-color: #fff;
  color: #333;
}

select:hover option:not(:hover) {
  background-color: #eee;
}

select::-ms-expand {
  display: none;
}

.filters div {
  padding: 5px 5px;
}

/* filter style end */

#gallery {
  display: flex;
   flex-direction: row; 
   flex-wrap: wrap;
  justify-content: center;
  
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}



.item {
  max-width: 250px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
  display: flex;
   flex-direction: row; 
   flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

img:hover {
  transform: scale(1.02);
}

.item h2 {
  font-size: 12px;
      text-align: center;
  font-weight: bold;
  margin: 0px 0px 0px 0px;
  height: 22x;
}

.item img {
  display: flex;
justify-content: center;
  
  -webkit-filter: grayscale(75%); /* Safari 6.0 - 9.0 */
  filter: grayscale(75%) brightness(110%);
  opacity: 0.4;
  width: 250px;
}

.item img:hover {
  filter: none;
  opacity: 1;
}

.item a {
  width: 350px;
margin: 4px 3px;
  display: flex;
  justify-content: center;
  border: 1px solid #b0b0b0;
  border-radius: 5px;
  background-color: white;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
  color: black;
}

.item a:hover, .readmore:hover {
  background-color:#e7f0dd;
  color: green;
}

.label {
  font-size:9px;
  text-align: center;
  background-color: red;
  padding: 2px 3px 2px 3px;
  color: white;
  position: absolute;
  right: 8px;
  top: 15px;
  text-transform: uppercase;
}


ul {
  display: column;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0px;
  margin: 5px 0px 0px 0px;
}

.laptime li, .specs li {
   list-style-type: none;
  font-size: 11px;
}


/* Media queries */

@media (max-width: 767px) {
  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  select {
    margin-bottom: 10px;
    width: 100%;
  }
}



/*menu css*/
/*NEW MENU*/

.menu {
  font-family: Sans-serif;
  width: 100%;
  display: flex;
  flex-direction: row; 
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style-type: none; 
  position: relative;
  margin: 10px 0px 20px 0px;

}

.menu li {
  text-transform: uppercase;
  margin: 0px 5px;

}

.menu .logo { 
  font-size: 25px;
  margin: 0px 50px;
}

.menuitem a {
  color: black;
  text-decoration: none;
}


/* .menu li:nth-child(2):hover, .menu li:nth-child(3):hover, .menu li:nth-child(4):hover {
   font-size: 17px;
  } */

.menu li:nth-child(5) {
  background-color: #f2f2f2;
  width: max-width;
  padding-top: 0px;
  border-radius: 15px;
  border: 1px solid gray; 

  padding: 3px 13px;  
  margin: 0px 50px;
}

.menu li:nth-child(5):hover {
  background-color: #ffe3ff;
  font-weight: bold;

}



.menuitem:hover, .menuitem a:hover {
  font-weight: bold;
  cursor: pointer;
}


.line {
  content: "";
  background: #6b6b6b;
  position: absolute;
  margin-top: -7px;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 1px;
  width: 85%;
} 

.wording {
  padding: 0px 10% 0px 10%;
  text-align: center;
   font-family: "Monospace", "monaco", monospace;
  font-size: 10px;
}

/* CSS for sidebar */
      .sidebar {
        width: 250px;
        height: 100%;
        margin:0px 0px 0px 7%;
      float: left;
        background-color: #f1f1f1;
      }

      /* CSS for content */
      .content {

        /* adjust the margin to push the content away from the sidebar */
        background-color: #ffffff;
      }

      /* CSS for responsive layout */
      @media screen and (max-width: 800px) {
        /* move sidebar to the top of content when screen width is less than 800px */
        .sidebar {
          display: column;
          float: none;
          width: 100%;
          margin:0px 7% 0px 0%;
        }
        .menuli {
          display: none;
        }
        .afterword, .wording {
  display: none;
}
        .afterwordf {
          display: flex;
  flex-direction: row; 
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
          font-size: 10px;
          font-family: "Monospace", "monaco", monospace;
        }    
}

@media screen and (min-width: 800px) {
  .afterwordf {
          display: none;
        }
}

/**/

#minPowerFilter, #maxPowerFilter {
  -webkit-appearance: none;
  width: 50%;
  height: 7px;
  background-color: #e9e9e9;
  outline: none;
  border: 1px solid #c3c3c3;
  border-radius: 5px;
}

#minPowerFilter::-webkit-slider-thumb, #maxPowerFilter::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background-color: #e8aa46;
  border-radius: 50%;
  cursor: pointer;
}

#minPowerFilter::-moz-range-thumb, #maxPowerFilter::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background-color: #4CAF50;
  border-radius: 50%;
  cursor: pointer;
}

#minPowerFilter::-ms-thumb, #maxPowerFilter::-ms-thumb {
  width: 20px;
  height: 20px;
  background-color: #4CAF50;
  border-radius: 50%;
  cursor: pointer;
}

.afterword {
  margin-top: 50px;
  font-size: 10px;
}







