* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

div.gridcontainer {
  display: grid;
  height: 100vh;
  grid-template-rows: auto 1fr auto;
  /* Add a black background color to the top navigation */
  /* Style the links inside the navigation bar */
  /* Change the color of links on hover */
  /* Add an active class to highlight the current page */
  /* Hide the link that should open and close the topnav on small screens */
  /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
}
div.gridcontainer > header {
  grid-area: "header";
  background-color: #c4b5b5;
}
div.gridcontainer > header > h1 {
  font-size: 3rem;
  padding: 1rem 0.5rem;
}
div.gridcontainer > header > nav {
  /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
}
div.gridcontainer > header > nav > ul {
  display: flex;
  gap: 0.3rem;
  justify-content: space-between;
  list-style-type: none;
  border-radius: 0px 0px 20px 0px;
  /* Add a black background color to the top navigation */
  background-color: #1e90ff;
  overflow: hidden;
  /* Add an active class to highlight the current page */
}
div.gridcontainer > header > nav > ul > li {
  /* Change the color of links on hover */
}
div.gridcontainer > header > nav > ul > li > a {
  /* Style the links inside the navigation bar */
  width: 100%;
  display: block;
  color: #f2f2f2;
  text-align: center;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  background-color: #1e90ff;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  div.gridcontainer > header > nav > ul > li > a {
    border-radius: 10%;
    display: block;
  }
}
div.gridcontainer > header > nav > ul > li > a:hover {
  background-color: rgba(255, 255, 255, 0.5529411765);
  color: black;
}
div.gridcontainer > header > nav > ul li.active {
  background-color: #1e90ff;
  color: white;
}
div.gridcontainer > header > nav > ul.topnav.responsive {
  flex-direction: column;
  text-align: center;
}
div.gridcontainer > header > nav > ul.topnav.responsive > li {
  display: block;
  text-align: left;
}
div.gridcontainer > header > nav > ul.topnav.responsive > li.icon,
div.gridcontainer > header > nav > ul.topnav.responsive a.icon {
  display: block;
  position: absolute;
  right: 0;
}
@media screen and (max-width: 600px) {
  div.gridcontainer > header > nav .topnav li:not(:first-child) {
    display: none;
  }
  div.gridcontainer > header > nav .topnav li.icon,
  div.gridcontainer > header > nav .topnav a.icon {
    float: right;
    display: block;
    border-radius: 20px 0px 0px 20px;
  }
}
@media screen and (min-width: 600px) {
  div.gridcontainer > header > nav ul.topnav li.icon {
    display: none;
  }
}
div.gridcontainer > main {
  grid-area: "main";
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem 0.5rem;
}
div.gridcontainer > main > section.start > img {
  max-inline-size: 100%;
  block-size: auto;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100vw;
  min-height: 250px;
  -o-object-position: right;
     object-position: right;
}
@media screen and (min-width: 768px) {
  div.gridcontainer > main > section.start > img {
    min-height: 400px;
  }
}
div.gridcontainer > main.carsgrid > article {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
}
div.gridcontainer > main.carsgrid > article > button {
  background-color: #1e90ff;
  color: white;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}
@media screen and (min-width: 768px) {
  div.gridcontainer > main.carsgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  div.gridcontainer > main.carsgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
div.gridcontainer main.booking > form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 360px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
div.gridcontainer main.booking > form > label {
  font-weight: bold;
  font-size: 1.1rem;
}
div.gridcontainer main.booking > form > input,
div.gridcontainer main.booking > form select,
div.gridcontainer main.booking > form button {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #aaa;
  border-radius: 8px;
}
div.gridcontainer > footer {
  grid-area: "footer";
  padding: 0px 1rem;
  text-align: center;
}
div.gridcontainer .topnav {
  background-color: #333;
  overflow: hidden;
}
div.gridcontainer .topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
div.gridcontainer .topnav a:hover {
  background-color: #ddd;
  color: black;
}
div.gridcontainer .topnav .active {
  background-color: #04AA6D;
  color: white;
}
div.gridcontainer .topnav .icon {
  display: none;
}
@media screen and (max-width: 600px) {
  div.gridcontainer .topnav li:not(:first-child) {
    display: none;
  }
  div.gridcontainer .topnav li.icon {
    float: right;
    display: block;
  }
}
@media screen and (max-width: 600px) {
  div.gridcontainer .topnav.responsive {
    position: relative;
  }
  div.gridcontainer .topnav.responsive li.icon,
  div.gridcontainer .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  div.gridcontainer .topnav.responsive li {
    float: none;
    display: block;
    text-align: left;
  }
  div.gridcontainer .topnav.responsive {
    float: none;
    flex-direction: column;
    text-align: left;
  }
}/*# sourceMappingURL=style.css.map */