.header { grid-area: header; ;font-size: 12px; background-color: #3C3C3C; position: relative; text-align: center; aspect-ratio: 26 / 13; width: 100%; }

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

.search { grid-area: search; background-color: #4e734a; text-align: center; 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"
	  "article article"
    "footer footer";
  grid-template-rows: 50px 1fr auto 70px;  
  grid-template-columns: 20% 1fr;
  grid-row-gap: 5px;
  grid-column-gap: 0px;
  min-height: 100vh;
  margin: 0;
  background:#FEF5ED;
}

.center {
  text-align: center;
}

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

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

.carousel {
  width: auto;
}

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

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

.car-title{
  font-size: 300%;
}

.car-items{
  text-align: center;
  width: 40%;
  min-width: 300px;
  left: 50%;
  height: 790px;
  position: absolute;
  font-size: 150%;
  padding-left: 5%;
  padding-right: 5%;
  opacity: 0.85;
  background-color: #000000;
  color:white;
  font-family: Arial, sans-serif;
}

.cta{
  font-size: clamp(1.5rem, 2vw + 1rem, 3rem);
  color: white;
  margin: 0;
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.scroll-down {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding: 6px;
  animation: bounce 1.5s infinite;
}

/* bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

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




