@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body,
html {
  scroll-behavior: smooth;
  font-family: Montserrat;
}
.wrapper {
  /* max-width: 568px;
  min-width: 320px; */
  /* padding: 3%; */
  margin-left: auto;
  margin-right: auto;
}

.logo {
  padding: 1.5em;
}

.carousel {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.calcu,
.header {
  background-color: black;
  color: white;
}

.calcu h1 {
  text-align: center;
  padding: 1em 0;
  font-size: 2em;
  margin: 0;
}

.fromtocontainer {
  display: grid;
  grid-template-areas: "left right";
  justify-content: space-evenly;
}

.fromtocontainer label {
  color: #fbb011;
  display: block;
  margin-bottom: 0.5em;
  font-size: 0.8em;
}

.fromDiv select,
.toDiv select {
  width: 15em;

  border: none;
  border-radius: 4px;
  padding: 0.5em;
  font-family: Montserrat;
}

.fromDiv option,
.toDiv option {
  background-color: #fbb011;
  border: none;
}

.passlabel {
  color: #fbb011;
  font-size: 0.8em;
}

.passengersDiv {
  text-align: center;
}

/*radios*/
.radio-container {
  display: inline-block;
  padding: 1.5em;
}

.radio-container label {
  background: transparent;
  transition: 0.2s all ease-in-out;

  text-align: center;
  border-radius: 50%;
  padding: 0.5em 0.9em;
}

.radio-container input[type="radio"] {
  display: none;
}

.radio-container input[type="radio"]:hover + label {
  transition: 0.5s;
  background: #fbb011;
  color: black;
}

.radio-container input[type="radio"]:checked + label {
  background: #fbb011;
  color: black;
  font-weight: 800;
}

.continue {
  text-align: center;
}
#contibtn,
#editbtn,
#bookbtn {
  background-color: #2db6e8;
  border: none;
  width: 250px;
  height: 3em;
  border-radius: 9px;
  font-family: Montserrat;
  color: white;
  font-weight: 700;
  margin: 1em;
}

#contibtn:hover,
#editbtn:hover,
#bookbtn:hover {
  transition: 0.5s;
  background-color: #fbb011;
}

#option_cards {
  display: none;
  text-align: center;
  background-color: white;

  max-width: 568px;
  min-width: 320px;

  margin-left: auto;
  margin-right: auto;
}

#option_cards h1 {
  text-align: center;
  padding: 1em 0;
  font-size: 2em;
  margin: 0;
}

.vehicle {
  margin: 2em auto;

  width: 90%;
  height: 170px;
  background-color: #fff8e8;
  border-radius: 27px;
  text-align: left;
  padding: 1em 0 0 2em;
  position: relative;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.vehicle:hover {
  transition: 0.5s;
  transform: scale(1.1);
}
.vehicle h2 {
  margin: 0;
  padding: 0;
  font-size: 1.6em;
  font-weight: 800;
}

#mobiketotal,
#smcartotal,
#lgcartotal,
#mohometotal,
.vehicle h3 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: 1.35em;
  color: #2db6e8;
}

#smcarlkm,
#mobikelkm,
#mohomelkm,
#lgcarlkm {
  display: none;
}

.vehicle p {
  font-size: 0.8em;
  font-weight: 800;
}

.top {
  margin: 1.4em 0 1.8em 0;
  padding: 0;
  color: gray;
}

.bottom {
  margin: 0;
  padding: 0;
  color: #fbb011;
}

.greyed {
  position: relative;
  height: 170px;
  filter: grayscale(100%);
  opacity: 0.6;
  pointer-events: none;
}

/*if greyed is classlist content on = display hovershow*/
.hovershow {
  display: none;
  position: absolute;
  top: 55px;
  left: 125px;
}

.hovershow p {
  background-color: black;
  color: white;
  width: 70%;
  border-radius: 9px;
  font-weight: 400;
  text-align: center;
  padding: 8px;
}

.img-cars {
  position: absolute;
  right: -1px;
  bottom: -28px;
  height: 9em;
}

.mocycle img,
.mohome img {
  padding-right: 1.2em;
}
.lgcar img {
  transform: scaleX(-1);
}

/*calendar*/

.month {
  margin: auto;
  padding: 1em;
  background: white;
  color: black;
  border-radius: 1em 1em 0 0;
  text-align: center;
}

/* close*/
#close {
  float: right;
  margin-right: 25px;
  color: #fbb011;
  font-size: 30px;
  background-color: black;
  text-align: center;
  height: 35px;
  width: 35px;
  border-radius: 50%;
}

#close:hover,
#close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.clickable {
  float: right;
  font-size: 2em;
  margin-right: 0.5em;
}

.fa-chevron-right {
  color: #2db6e8;
}

/*modal*/
#modal {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  overflow: auto; /* Enable scroll if needed */
}

.info {
  background-color: white;
  border-radius: 27px;
  padding-top: 2em;
  max-width: 468px;
  min-width: 320px;
  margin: 10% auto;
}

#typevehicleCard {
  font-size: 2em;
  font-weight: 800;
  margin: 0;
  padding-left: 8%;
}

#bottomCard {
  margin: 0.25em 0;
  padding-left: 8%;
  font-weight: 600;
  font-size: 1.6em;
  color: #2db6e8;
}

#topCard {
  margin: 0.25em 0;
  padding-left: 8%;
  font-weight: 900;
  font-size: 1em;
  color: #fbb011;
}

.totalcontainers {
  background-color: black;
  color: white;
  border-radius: 27px;
  padding: 2em 4em;
  text-align: center;
}

.totalcontainers p {
  margin: 0;
}

#centerimg {
  text-align: center;
}

#imgCard {
  width: 25em;
}

#fromCard,
#toCard {
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-right: 0.1em;
}

#date1Card,
#date2Card {
  font-weight: 700;
  font-size: 0.8em;
  letter-spacing: 0.1em;
}

.spancont {
  font-weight: 700;
  font-size: 0.8em;
}

#distanceCard,
#fuelTotalCard {
  font-weight: 700;
  font-size: 1em;
}

.set {
  display: grid;
  grid-template-columns: 50% 50%; /*"." ".";*/
  width: 100%;
}

.flexcolumn {
  padding-bottom: 1em;
  width: fit-content;
  text-align: left;
  padding-left: 2em;
}

.spancont {
  padding-top: 0.5em;
}

.flexcolumn1 {
  display: flex;
  justify-content: center;
  padding: 0.5em;
  font-size: 1.2em;
}

.flexcolumn2 {
  display: flex;
  justify-content: center;
  padding: 0.5em;
}

.labelCard {
  font-weight: 700;
  font-size: 0.8em;
  color: gray;
}

.totalgray {
  color: gray;
}

.notetiny {
  color: #2db6e8;
  font-size: 0.6em;
}

.fa-route,
.fa-gas-pump,
.far,
.fa,
.fas {
  color: #fbb011;
  font-size: 1em;
  margin-right: 0.5em;
}

.fa-arrow-right {
  color: #fbb011;
  font-size: 1em;
  margin-right: 0.5em;
  margin-left: 0.5em;
  font-weight: 900;
}

#daytotalNZD,
#fueltotalNZD {
  color: #fbb011;
  font-size: 1.2em;
}

#pricetotalCard {
  color: #2db6e8;
  font-size: 1.5em;
}

/*bookingpage*/
#bookingpage {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  overflow: auto;
}

.bookcontain {
  background-color: black;
  border-radius: 27px;
  max-width: 60%;
  margin: 10% auto;
  padding: 2em;
  color: white;
  font-weight: 600;
  text-align: center;
}

#bookingpage h3 {
  color: #2db6e8;
}
@media (max-width: 430px) {
  .header {
    text-align: center;
  }
  .carousel {
    height: 20%;
  }

  #contibtn,
  #bookbtn {
    width: 80%;
  }
  .calcu .passengersDiv {
    width: 94%;
  }

  .calcu h1,
  #option_cards h1 {
    font-size: 1.4em;
    font-weight: 900;
  }

  .fromDiv select,
  .toDiv select {
    width: 11em;
    margin-bottom: 1em;
  }

  #option_cards {
    width: 5vw;
    margin: auto;
  }

  .vehicle h2 {
    font-size: 1.1em;
  }

  #mobiketotal,
  #smcartotal,
  #lgcartotal,
  #mohometotal,
  .vehicle h3 {
    font-size: 1.1em;
  }

  .vehicle p {
    font-size: 0.7em;
  }

  /*if greyed is classlist content on = display hovershow*/
  .hovershow {
    top: 65px;
    left: 65px;
  }

  .img-cars {
    height: 8em;
  }

  .info {
    width: 1vh;
  }
  #imgCard {
    width: 80%;
  }

  .flexcolumn1,
  .flexcolumn2 {
    font-size: 0.8em;
  }
  .totalcontainers h3 {
    font-size: 1.3em;
  }

  .set {
    grid-template-columns: 100%;
    justify-items: center;
  }

  .flexcolumn {
    padding-left: 0;
    text-align: center;
  }
}

@media (min-width: 730px) {
  .fromDiv select,
  .toDiv select {
    width: 25em;
    margin-bottom: 1em;
  }
}
