/* poppins 400, 600 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

:root {
  --main-color: #e46c0b;
}

body {
  overflow-x: hidden;
}

/* utils start */

.icon-size {
  width: 20px;
  height: 20px;
}

.ml-4 {
  margin-left: 4px;
}

.mt-2 {
  margin-top: 2px;
}

.mr-5 {
  margin-right: 5px;
}

.mb-5 {
  margin-bottom: 5px;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.ml-20 {
  margin-left: 20px;
}

.color-primary {
  color: var(--main-color) !important;
}

.link {
  text-decoration: none;
  text-transform: uppercase;
  background-color: var(--main-color);
  padding: 20px 35px;
  color: white;
  font-weight: 600;
  transition: box-shadow 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.link:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* utils end */

/* header start */

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 75%;
  margin: 0 auto;
  margin-top: 25px;
}

#header .logo {
  border-radius: 50%;
}

.contact-header {
  max-width: 80%;
  min-width: 65%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-header img {
  box-sizing: content-box;
  margin-right: 10px;
  padding: 10px;
  border: 1px solid var(--main-color);
  border-bottom-left-radius: 50%;
  border-top-left-radius: 50%;
}

#header .contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-container .info p:first-child {
  font-weight: 600;
}

/* header end */

/* nav-bar start */

#nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 75%;
  margin: 0 auto;
  margin-top: 45px;
  padding: 25px 15px;
  background: #fff;
  box-shadow: 0 0px 18px 3px rgb(0 0 0 / 0.1), 0 6px 6px -3px rgb(0 0 0 / 0.1);
  border-bottom-left-radius: 35px;
}

#nav-bar ul {
  width: 85%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

#nav-bar ul li a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

#nav-bar ul li a:hover {
  color: var(--main-color);
}

.burger {
  margin-left: 10px;
}
/* nav-bar end */

/* main start */

.hero,
.hero-connexion {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.hero img {
  position: relative;
  width: 100%;
  height: 550px;
  object-fit: cover;
  top: -35px;
  z-index: -1;
}

.hero h1 {
  position: absolute;
  width: 63%;
  top: 65px;
  left: 25%;
  font-size: xxx-large;
  text-shadow: 1px 2px 10px black;
  color: white;
  text-align: end;
}

.hero p {
  position: absolute;
  width: 35%;
  left: 53%;
  margin: 0 auto;
  top: 220px;
  text-shadow: 1px 2px 10px black;
  color: white;
  text-align: end;
}

.hero a {
  position: absolute;
  bottom: 20%;
  left: 40%;
}

.about {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 75%;
  margin: 0 auto;
  /* margin-bottom: 500px; */
  margin-top: 50px;
}

.about .left-about {
  position: relative;
  display: flex;
  margin-right: 60px;
}

#mecanicien-img {
  width: 460px;
  height: 310px;
  border-bottom-left-radius: 20px;
}

#bar-img {
  position: absolute;
  z-index: -9;
  bottom: -50px;
  left: -110px;
}

.right-about h2 {
  margin-bottom: 10px;
}

.right-about p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.right-about .service {
  width: 100%;
  display: flex;
}

.right-about .service ul {
  list-style: none;
}

.right-about ul li {
  display: flex;
  margin-bottom: 5px;
  font-weight: 600;
}

.about + div {
  margin: 60px 0 100px;
  text-align: center;
}

.bg-img {
  position: absolute;
  top: 53rem;
  left: 200px;
  width: 100%;
  height: 100%;
  z-index: -999;
  background-image: url("./assets/Home_Illustration.svg");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 560px;
}
/* main end */

/* Connexion start */

.hero-connexion img {
  position: relative;
  width: 100%;
  height: 450px;
  object-fit: cover;
  top: -35px;
  z-index: -1;
}

.hero-connexion h1 {
  position: absolute;
  top: 70px;
  left: 40%;
  font-size: xxx-large;
  text-shadow: 1px 2px 10px black;
  color: white;
}

.connexion-container {
  width: 75%;
  margin: 0 auto;
  text-align: center;
}

.connexion-container h1 {
  font-size: xxx-large;
}

/* Connexion form start */

#card-form {
  width: 60%;
  margin: 0 auto;
  margin-top: 20px;
  box-shadow: 0px 0px 10px -2px rgb(0 0 0 / 0.1),
    1px 4px 8px -2px rgb(0 0 0 / 0.1);
  border-radius: 5px;
  margin-bottom: 50px;
}

.connexion-form {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 1.1rem;
  padding: 15px 30px;
}

.connexion-form label {
  margin-top: 5px;
  margin-bottom: 5px;
}

.connexion-form input {
  height: 45px;
  background: #eee;
  font-size: medium;
  border: none;
  outline: none;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

.connexion-form input:focus {
  outline: 1px solid var(--main-color);
}

.connexion-form input::placeholder {
  color: #999;
}

.connexion-form input:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

[type="submit"] {
  width: 40%;
  background: var(--main-color);
  color: white;
  font-size: medium;
  border: none;
  outline: none;
  margin-bottom: 15px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

[type="submit"]:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* connexion form end */

#card-form a {
  display: block;
  text-align: end;
  text-decoration: none;
  color: green;
}

/* Connexion end */

/* Inscription start */

#genre-group {
  margin-top: 5px;
}

#genre-group input {
  height: auto;
}

#genre-group input:focus {
  outline: none;
}

#genre-group .genre {
  display: flex;
  width: 55%;
  margin-bottom: 20px;
  justify-content: space-around;
}

/* Inscription end */
