.header { grid-area: header; ;font-size: 12px; background-color: #3C3C3C; text-align: center; color: white; font-size: 200%; font-family:Arial, sans-serif;}

.article { grid-area: article; font-family:verdana; font-size: 22px;background-color: #A9C9D5; text-align:center; padding-left: 2%; padding-right: 2%; min-height: 200px;}

.search { grid-area: search; background-color: #4e734a; text-align: center; padding-top: 1%; font-size: 100%; font-family: sans-serif; padding-top: 5%;}

.footer { grid-area: footer;  font-size: 30px;  text-align:center;background-color: #3C3C3C;}

.navbar { grid-area: nav;background-color: #80C778; z-index: 1000;}

#navbar{
  top: 0%; display: block; z-index: 1000; 
}

body{
  display: grid;
  grid-template-areas:
    "nav nav" 
    "header header"
	  "search article"
    "footer footer";
  grid-template-rows: 50px 150px auto 70px;  
  grid-template-columns: 25% 1fr;
  grid-row-gap: 5px;
  grid-column-gap: 10px;
  min-height: 100vh;
  margin: 0;
  background:#FEF5ED;
}

.center {
  text-align: center;
}

.navButton{
  height:100%;
  width:33.333333%;
  background-color: #4e734a;
  display: block;
  text-align: center;
  border: none;
  color: white;
  font-size: 100%;
  float: left;
}

.navButton:hover{
  background-color: #9de096;
  color: #000000;
}

input[type=text], select {
  width: 80%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[type=submit] {
  width: 20%;
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 10%;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.item-box {
  border: 1px solid #ccc;
  margin: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  text-align: center;
  width: 40%;
  height: auto;
  display: inline-block;
  vertical-align: top;
  left:10%;
}

/* Styling for the image */
.item-image {
  max-width: 100%;
  margin-bottom: 15px;
  border-radius: 5px;
  height: 300px;
  width: 80%;
  overflow: hidden;
}

/* Styling for the description */
.item-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

/* Styling for the link */
.item-link {
  font-size: 16px;
  text-decoration: none;
  color: #007bff;
}

.item-link:hover {
  text-decoration: underline;
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transform: none;  /* Remove centering transform when fixed */
  height: 50px;
}

input[type=checkbox]{
  float: left;
  margin-left: 30%;
  margin-right: 5%;
}

select {
  float: left;
  margin-left: 10%;
  margin-right: 5%;
}

label {
  overflow: hidden; /* Clear the float */
  float: left;
}

#sortLabel {
  margin-left: 40%;
  margin-top: 10%;
}

