.header { grid-area: header; ;font-size: 12px; background-color: #3C3C3C; position: relative; text-align: center;}

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

.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; z-index: 1000;}

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

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

.center {
  text-align: center;
}

.navButton{
  height:100%;
  width:20%;
  background-color: #41733c;
  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: 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: 2%;
  background-color: #f9f9f9;
  text-align: center;
  width: 30%;
  border-radius: 4px;
  display: inline-block;
  vertical-align: top;
  left:20%;
}

/* Styling for the image */
.item-image {
  max-width: 100%;
  margin-bottom: 15px;
  border-radius: 5px;
  height: 300px;
  width: 100%;
  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;
}

* { box-sizing: border-box; }

.carousel {
  width: 100%;
}
.carousel-cell {
  display: inline-block;
  width: 66%;
  height: 500px;
  margin-right: 10px;
  border-radius: 5px;
  counter-increment: carousel-cell;
  background-color:rgb(96, 138, 91);
}

.car-image {
  width: 50%;
  height: 100%;
  overflow: hidden;
  display: block;
}

.crop {
  width: 200px;
  height: 150px;
  overflow: hidden;
}

.cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 500%;

}


