@font-face {
  font-family: "Allura";
  src: url("./font/Allura.ttf") format(truetype);
  font-weight: 400;
}

@font-face {
  font-family: "Nunito";
  src: url("./font/Nunito-Regular.ttf") format(truetype);
}

:root {
  --primary: dodgerblue;
  --secondary: #2e2c2c;
  --third: whitesmoke;
  --fourth: #734bfb;
}

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

body {
  font-family: Nunito;
  background: var(--third);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  background: transparent;
  align-items: center;
  width: 100%;
  height: auto;
  margin: auto;
  padding: 20px auto;
  transition: all 0.5s;
  z-index: 9999;
}

.topbar-scroll {
  background: var(--secondary);
  color: var(--primary);
  transition: all 0.5s;
  z-index: 99999;
}

.title.active {
  color: red;
}

.title {
  color: var(--secondary);
  font-family: Allura;
  margin: 10px;
  font-size: 20px;
}

.title a {
  text-decoration: none;
}

.logo {
  padding: auto 10px;
}

.reserver-taxi {
  margin: auto 0px;
}

.reserved {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: auto 5px;
}

.btn-reservation {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary);
  color: var(--third);
  padding: 10px;
  height: 35px;
  width: 100px;
  border-radius: 20px;
  font-size: 15px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.btn-reservation:hover {
  color: var(--primary);
  background: var(--secondary);
  border: 2px solid var(--primary);
}

.dots {
  color: var(--primary);
  font-size: 25px;
  padding: 10px;
  cursor: pointer;
}

/*SECTION-1*/
.section-1 {
  padding: 20px;
  width: 100%;
  height: 650px;
  z-index: 1;
}

.title-section-1 {
  color: var(--secondary);
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 50px auto;
  text-align: center;
  padding: 20px;
  font-size: 1.553rem;
  width: 80%;
  z-index: 10000;
}

.carre1 {
  position: absolute;
  top: 20px;
  left: -270px;
  width: 600px;
  height: 500px;
  border: 2px solid var(--primary);
  rotate: 65deg;
  border-radius: 50px;
  background: var(--primary);
  z-index: 99;
}

.carre2 {
  position: absolute;
  top: 120px;
  right: 20px;
  width: 50px;
  height: 490px;
  box-shadow: -5px 0px 4px black;
  background: var(--secondary);
  z-index: 100;
}

.section-1 img {
  position: absolute;
  left: 20px;
  top: 30%;
  width: 90%;
  height: auto;
  margin: auto;
  z-index: 99;
}

.number-phone a {
  position: absolute;
  top: 550px;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  margin: auto;
  width: 200px;
  background: var(--secondary);
  text-decoration: none;
  color: var(--primary);
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid var(--third);
  border-radius: 50px;
  z-index: 2000;
}

.number-phone:hover a {
  background: var(--primary);
  color: var(--secondary);
}

.button {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 99999;
}

.btn-telephone,
.btn-formulaire,
.btn-whatsapp {
  font-family: Nunito;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 30%;
  border: none;
  text-align: center;
  height: 50px;
  font-weight: 900;
  border-top: 1px solid var(--secondary);
  border-bottom: 1px solid var(--secondary);
}

.btn-telephone {
  background: var(--primary);
  color: var(--secondary);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--secondary);
}

.btn-formulaire {
  background: var(--secondary);
  color: var(--primary);
}

/*SECTION-2*/
.section-a-propos {
  width: 100%;
  padding: 20px;
  background: var(--secondary);
  color: var(--third);
}

.title-section-a-propos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 50px;
  color: var(--primary);
  font-size: 2.5rem;
  text-align: center;
  text-decoration: 2px underline var(--third);
}

.paragraphe-section-a-propos {
  text-align: center;
  font-size: 1.25rem;
}

.ul-section-a-propos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px auto;
  width: 80%;
}

.li-section-a-propos {
  font-size: 1rem;
  margin: 20px auto;
}

.btn-reservation-a-propos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  background: var(--primary);
  border: 2px solid var(--third);
  padding: 10px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  border: 2px solid var(--third);
  color: var(--secondary);
  text-decoration: none;
  width: 150px;
}

.btn-reservation-a-propos:hover {
  background: var(--secondary);
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: 0.5s;
}

/*SECTION-NOS-SERVICES*/
.section-nos-services {
  padding: 20px;
  background: var(--third);
  color: var(--secondary);
}

.title-section-nos-services {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 50px;
  color: var(--secondary);
  text-decoration: 2px underline var(--primary);
  font-size: 2.5rem;
  text-align: center;
}

.container-ambulance,
.container-aeroport,
.container-gare {
  width: 100%;
  margin: 50px auto;
}

.container-gare {
  margin-bottom: 30px;
}

.container-ambulance img,
.container-aeroport img,
.container-gare img {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.paragraphe-nos-services {
  text-align: center;
  font-size: 1.25rem;
}

summary {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 30px;
  height: 30px;
  font-size: 2rem;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  background: var(--secondary);
  color: var(--primary);
  cursor: pointer;
}

summary:active {
  background: var(--primary);
  color: var(--secondary);
}

.block-nos-services {
  background: var(--secondary);
  border: 10px solid var(--primary);
  padding: 20px;
  color: var(--primary);
}

.block-nos-services p {
  text-align: center;
}

.condition-transport-conventionne,
.aeroports-desservies,
.gares-desservies {
  text-align: center;
  text-decoration: 2px underline var(--third);
  margin: 10px auto 20px;
}

.transport-conventionne,
.transfert-aeroport,
.transfert-gare {
  text-decoration: 2px underline var(--primary);
  margin: 20px auto;
  font-size: 1.75rem;
  text-align: center;
}

/*SECTION-COUNTER*/
#counter-section {
  width: 100%;
  padding: 20px 20px 50px;
  background: var(--primary);
}

.h2-experience-taxi {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 50px;
  color: var(--secondary);
  text-decoration: 2px underline var(--third);
  font-size: 2.5rem;
  text-align: center;
}

.block-counter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  font-size: 1.5rem;
  gap: 20px;
  font-family: Nunito;
}

.block-counter p {
  color: var(--secondary);
  font-size: calc(0.9rem + 0.5vw);
}

.counter {
  font-size: calc(1.8rem + 1vw);
  font-weight: bold;
  color: var(--third);
}

/*SECTION-INFORMATION*/
.section-more {
  width: 100%;
  padding: 20px;
  background: var(--third);
  height: auto;
}

.title-section-more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 50px;
  color: var(--secondary);
  text-decoration: 2px underline var(--primary);
  font-size: 2.5rem;
  text-align: center;
}

.villes {
  display: none;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  width: 100%;
  max-height: 0;
  opacity: 0;
  border: 0px solid var(--secondary);
  transition: all 0.5s ease;
}

.villes.active {
  display: flex;
  opacity: 1;
  width: 100%;
  max-height: 500px;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  background: rgba(30, 143, 255, 0.436);
  padding: 20px;
  transition: all 0.5s ease;
}

.villes a {
  text-decoration: none;
  color: var(--secondary);
}

.information-villes-more {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 20px auto;
  color: var(--third);
  font-weight: bold;
  background: var(--secondary);
  border-radius: 50px;
  width: 100%;
  height: 50px;
  border-bottom: 5px solid var(--primary);
  transition: all 0.5s;
}

.information-villes-more.active {
  border-bottom: 5px solid var(--secondary);
  background: var(--primary);
  transition: all 0.5s;
}

.paragraphe-information {
  margin: auto 10px;
}

.more-info {
  display: flex;
  font-size: 30px;
  font-weight: bold;
  margin: auto 20px;
  cursor: pointer;
  transition: 2s;
}

/*SECTION-AVIS*/
.section-avis {
  width: 100%;
  padding: 20px;
  background: var(--secondary);
}

.title-section-avis {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 50px;
  color: var(--primary);
  text-decoration: 2px underline var(--third);
  font-size: 2.5rem;
  text-align: center;
}

.content-avis {
  width: 100%;
  overflow: hidden;
  background: var(--third);
  margin: 30px auto;
  padding: 15px;
  border: 2px solid var(--primary);
}

.img-content-avis {
  width: 50px;
  height: 50px;
}

.content-name-avis {
  display: flex;
  justify-content: end;
  align-items: start;
  flex-direction: column;
  margin-left: 10px;
}

.block-avis {
  width: 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 10px 0;
}

.stars-avis {
  width: 80px;
  height: 25px;
}

/*SECTION-FORMULAIRE*/
.section-formulaire {
  position: relative;
  width: 100%;
  height: auto;
  padding: 40px 20px 50px;
}

.title-section-formulaire {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 50px;
  color: var(--secondary);
  text-decoration: 2px underline var(--primary);
  font-size: 2.5rem;
  text-align: center;
}

input,
label,
option,
select,
textarea {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
  z-index: -1;
}

.good {
  background: rgba(145, 226, 145, 0.537);
  border: 2px solid #25d366;
}

.notGood {
  background: rgb(226, 145, 149, 0.537);
  border: 2px solid #ef4444;
}

option {
  width: 10%;
  height: 40px;
}

input,
select,
textarea {
  border: none;
  border-bottom: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  background: rgba(244, 243, 243, 0.496);
  width: 300px;
  height: 30px;
  margin: 5px auto;
}
textarea {
  height: 100px;
}

.suggestion-depart,
.suggestion-destination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
  width: 90%;
  background: rgba(30, 143, 255, 0.422);
  cursor: pointer;
}

.section-formulaire::before {
  z-index: -1;
  position: absolute;
  top: 120px;
  left: -300px;
  content: "";
  rotate: 45deg;
  width: 500px;
  height: 500px;
  border-radius: 50px;
  background: var(--primary);
}

.message-validation {
  text-align: center;
  margin-top: 30px;
  font-weight: 700;
}

.section-formulaire::after {
  z-index: -1;
  position: absolute;
  top: 100px;
  right: 20px;
  content: "";
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background: var(--secondary);
}

.form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.btn-send {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  border-radius: 20px;
  width: 150px;
  height: 40px;
  border: 2px solid var(--secondary);
  background: var(--primary);
}

.number-bags input {
  width: 50px;
  z-index: -1;
}

.number-bags {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.input-personne,
.input-bagage {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto 20px;
}

input:focus {
  outline: none;
}

input.checking {
  border-color: #fbbf24;
  background: #fffbeb;
}

input.valid {
  border-color: #10b981;
  background: #f0fdf4;
}

input.invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

/*SECTION-FOOTER*/
.section-footer {
  width: 100%;
  padding: 20px 20px 50px;
  background: var(--secondary);
}

.title-section-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: var(--primary);
  text-decoration: 2px underline var(--third);
  font-size: 2.5rem;
  text-align: center;
}

.title-renseignement {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  text-decoration: 2px underline var(--primary);
  color: var(--third);
  width: 70%;
  text-align: center;
}

.formulaire-renseignement {
  margin: 20px;
}

.name-formulaire,
.telephone-formulaire,
.textarea-formulaire {
  color: var(--primary);
}

.btn-renseignement {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 150px;
  border-radius: 20px;
  height: 40px;
  border: 2px solid var(--third);
  background: var(--primary);
}

.adresse img,
.phone img,
.mail img {
  width: 50px;
  height: 50px;
}

.information {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  flex-direction: column;
}

.p-adresse,
.p-phone,
.p-mail {
  color: var(--third);
  text-decoration: none;
}

.p-adresse {
  text-align: center;
}

.phone,
.adresse,
.mail {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px;
}

/*COPYRIGHT*/
.copyright {
  background: var(--secondary);
  text-align: center;
  color: var(--third);
  margin-bottom: 50px;
}

.copyright a {
  font-size: 20px;
  color: var(--primary);
  margin: auto 10px;
  text-decoration: 2px underline var(--third);
}

@media only screen and (min-width: 1200px) {
  .section-1 {
    position: relative;
    height: 400px;
    overflow: hidden;
    z-index: 1;
  }

  .title a {
    font-size: xx-large;
  }

  .number-phone a {
    top: 110%;
    left: 50%;
  }

  .header-presentation {
    position: relative;
    top: 20%;
    left: 0;
    width: 50%;
    height: 50%;
  }

  .section-1 img {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 50%;
    height: 400px;
  }

  .logo img {
    width: 100px;
    height: 100px;
  }

  .content-image {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .section-nos-services .content-image:nth-of-type(2) {
    flex-direction: row-reverse;
  }

  .block-content {
    margin: 20px auto;
  }

  .block-nos-services {
    width: 50%;
    display: block;
    margin: auto;
  }

  .information-villes-more {
    width: 50%;
  }

  .villes.active {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin: auto;
  }

  .container-avis {
    display: flex;
    justify-content: space-around;
    margin: auto;
  }

  .content-avis {
    margin: auto 20px;
    width: 300px;
    height: 250px;
  }

  .block-counter {
    display: flex;
    justify-content: space-around;
  }

  .image img {
    width: 600px;
    height: 350px;
  }

  .carre1 {
    left: -170px;
  }

  .content-footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row-reverse;
    margin: auto;
  }

  .information {
    margin: auto 50px;
  }

  .suggestion-depart,
  .suggestion-destination {
    width: 400px;
  }
}
