@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: #f5f5f5;
  --fourth: #734bfb;
}

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

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

.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;
  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:active {
  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 {
  position: relative;
  padding: 20px;
  width: 100%;
  height: auto;
  z-index: 1;
  overflow: hidden;
}

.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: -1;
}

.carre2 {
  position: absolute;
  top: 10px;
  left: -300px;
  width: 600px;
  height: 500px;
  border: 2px solid var(--primary);
  rotate: 65deg;
  border-radius: 50px;
  background: var(--primary);
  z-index: -1;
}

.block2 {
  position: relative;
}

.forme-chauffeurs {
  position: absolute;
  top: 0;
  left: 0%;
  width: 90%;
  height: 100%;
  background: var(--primary);
  rotate: 0deg;
  z-index: -1;
}

.chauffeurs {
  position: relative;
  margin: 40px auto;
}

.forme-voitures {
  position: absolute;
  top: 0;
  left: 0%;
  width: 90%;
  height: 100%;
  background: var(--primary);
  rotate: 0deg;
  z-index: -1;
}

.villes-localite {
  position: relative;
  margin: 40px auto;
}

.forme-localite {
  background: var(--primary);
  position: absolute;
  top: 0;
  left: 0%;
  width: 90%;
  height: 100%;
  rotate: 0deg;
  z-index: -1;
}

.image-voiture {
  position: relative;
  margin: 40px auto;
}

.forme-valeurs {
  background: var(--primary);
  position: absolute;
  top: 0;
  left: 0%;
  width: 90%;
  height: 100%;
  rotate: 0deg;
  z-index: -1;
}

.valeurs {
  position: relative;
  margin: 40px auto;
}

ul {
  margin: 20px auto;
}

li {
  list-style-type: none;
  font-weight: bold;
}

.number-phone a {
  position: absolute;
  top: 50%;
  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);
  z-index: 2000;
}

.section-presentation {
  width: 100%;
  padding: 10px;
}

.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: 700;
  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);
}

.strong-ville {
  font-size: 16px;
}

.demarches {
  position: relative;
  margin: 40px auto;
}

.forme-demarche {
  background: var(--primary);
  position: absolute;
  top: 0;
  left: 0%;
  width: 90%;
  height: 100%;
  rotate: 0deg;
  z-index: -1;
}

.title-presentation-vitry {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 60%;
  left: 0;
  width: 100%;
  height: auto;
  margin: 20px;
  z-index: 999;
}

.title-presentation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 120px auto 40px;
}

.cliniques,
.hopital,
.choix {
  text-align: center;
}

.block9 {
  background: #2e2c2c;
  padding: 20px;
  color: whitesmoke;
}

.presentation-chauffeurs,
.presentation-voiture,
.presentation-condition,
.presentation-localite,
.presentation-choix,
.presentation-valeurs,
.presentation-reservation {
  text-align: center;
  margin: 30px auto;
  text-decoration: 2px underline var(--primary);
}

.h4-choix {
  font-size: 1.5rem;
  margin: 20px auto 10px;
}

.chauffeurs img,
.image-voiture img,
.villes-localite img,
.demarches img,
.valeurs img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 90%;
  height: 200px;
  border: 5px solid var(--third);
  box-shadow: 20px 20px 0 var(--primary), -20px -20px 0 var(--secondary);
}

strong {
  font-size: 50px;
}

.strong {
  font-size: 15px;
}

.presentation1,
.presentation2,
.presentation3,
.presentation4,
.presentation5,
.presentation6,
.presentation7,
.presentation8,
.presentation9 {
  margin: 20px 0;
}

/*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: 99;
}

.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;
  width: 150px;
  height: 40px;
  border: 2px solid var(--secondary);
  background: var(--primary);
}

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

.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;
  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 screen and (min-width: 480px) and (max-width: 1200px) {
  .chauffeurs img,
  .image-voiture img,
  .villes-localite img,
  .demarches img,
  .valeurs img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin: auto;
    max-width: 800px;
    height: 300px;
  }

  .forme-demarche {
    background: var(--primary);
    position: absolute;
    top: 0;
    left: 0%;
    width: 90%;
    height: 100%;
    rotate: 0deg;
    z-index: -1;
  }

  .demarches {
    position: relative;
    margin: 40px auto;
  }

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

@media screen and (min-width: 1200px) {
  .section-presentation {
    width: 100%;
    height: auto;
    padding: 20px;
  }

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

  .title-presentation {
    text-align: center;
    font-size: 30px;
    margin: 70px auto 40px;
  }

  .paragraphe-presentation1,
  .paragraphe-presentation2 {
    margin-bottom: 10px;
  }

  .strong-ville {
    font-size: 20px;
  }

  .block1,
  .block2,
  .block3,
  .block4,
  .block5 {
    display: block;
    position: relative;
    margin: 150px auto;
  }

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

  .carre2 {
    position: absolute;
    top: 0px;
    left: 30%;
    width: 600px;
    height: 500px;
    border: 2px solid var(--primary);
    rotate: 65deg;
    border-radius: 50px;
    background: var(--primary);
    z-index: -1;
  }

  .presentation7,
  .presentation9 {
    text-align: center;
  }

  .block-title,
  .block-title2,
  .block-title3,
  .block-title4,
  .block-title5 {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .block-title2,
  .block-title4 {
    flex-direction: row-reverse;
  }

  .chauffeurs img,
  .image-voiture img,
  .villes-localite img,
  .demarches img,
  .valeurs img {
    margin: auto 40px;
    width: 500px;
    height: 300px;
  }

  .presentation3,
  .presentation4,
  .presentation5,
  .presentation6,
  .presentation8 {
    width: 50%;
    margin: auto 40px;
  }

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

  .information {
    margin: auto 50px;
  }

  .header {
    overflow: hidden;
  }

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