.header { grid-area: header; ;font-size: 12px; background-color: #3C3C3C;}

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

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

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

.navbar { grid-area: nav;background-color: #80C778;text-align: left; padding: 0.25%;}

#navbar{
  position: sticky; position: sticky; top: 0; overflow: hidden; display: block;
}

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

.center {
  text-align: center;
}

.navButton{
  height:100%;
  width:19.75%;
  background-color: #41733c;
  text-decoration: none;
  display: inline-block;
  border: none;
  color: white;
  font-size: 100%;
}

input[type=text], select {
  width: 50%;
  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: 5%;
  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);
}

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

.item-box {
  border: 1px solid #ccc;
  margin: 20px;
  padding: 15px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 35%;
  height: 15%;
  display: inline-block;
  vertical-align: top;
  left:10%;
}

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

/* 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;
}