/* Global Desktop */
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  text-align: center;
  margin: auto;
  font-size: 25px;
}

p {
  margin: 0;
}

/* Global Mobile */
@media screen and (max-width: 767px) {
  body {
    font-size: 20px;
  }
}

/* HEADER Desktop */
header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 150px;
  background-color: rgb(61, 151, 181);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logoHeader {
  height: 64px;
}

.navigation {
  display: flex;
  gap: 30px;
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.navigation li a {
  text-decoration: none;
  color: white;
  font-size: 20px;
}

/* HEADER Tablet */
@media screen and (max-width: 1024px) {
  header {
    padding: 10px 30px;
  }
}

/* HEADER Mobile */
@media screen and (max-width: 767px) {
  header {
    flex-direction: column;
  }

  .navigation {
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 13px;
  }

  ul.navigation {
    margin: 0;
  }

  .logoHeader {
    height: 50px;
  }

  .navigation li a {
    font-size: 12px;
  }
}

/* BANNER Desktop */
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
}

.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.banner-text {
  color: white;
  font-weight: normal;
  font-size: 40px;
  padding: 0px 150px;
}

/* BANNER Tablet */
@media screen and (max-width: 1024px) {
  .banner-text {
    padding: 0px 30px;
  }
}

/* BANNER Mobile */
@media screen and (max-width: 767px) {
  .banner-text {
    font-size: 30px;
  }
}

/* ABOUT Desktop */
.about {
  padding: 100px 150px;
}

.title-section {
  color: rgb(61, 151, 181);
  font-size: 40px;
}

.subtitle-about {
  font-size: 30px;
  border-bottom: 1px solid grey;
  padding-bottom: 30px;
}

.text-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link-facebook-about {
  margin-top: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  gap: 10px;
  text-decoration: none;
  transition: 100ms ease-in-out;
}

.link-facebook-about:hover {
  text-decoration: underline;
}

.logo-facebook-about {
  width: 50px;
}

/* ABOUT Tablet */
@media screen and (max-width: 1024px) {
  .about {
    padding: 50px 30px;
  }
}

/* ABOUT Mobile */
@media screen and (max-width: 767px) {
  .title-section {
    color: rgb(61, 151, 181);
    font-size: 25px;
  }

  .subtitle-about {
    font-size: 20px;
    padding-bottom: 20px;
  }

  .link-facebook-about {
    margin-top: 50px;
    flex-wrap: wrap;
  }

  .logo-facebook-about {
    width: 40px;
  }
}

/* FORMATIONS Desktop */
.formations {
  display: flex;
}

.formations-auto-moto {
  position: relative;
  width: 50%;
}

.image-formation {
  width: 100%;
  height: 100%;
  filter: brightness(50%);
}

.content-image-formation {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  height: 70%;
  color: white;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-formation-price {
  text-decoration: none;
  color: rgb(61, 151, 181);
  padding: 20px 30px;
  background-color: white;
  position: absolute;
  top: 70%;
  border-radius: 40px;
  transition: 100ms ease-in-out;
}

.link-formation-price:hover {
  color: white;
  background-color: rgb(61, 151, 181);
}

/* FORMATIONS Tablet */
@media screen and (max-width: 1024px) {
  .content-image-formation {
    top: 15%;
    font-size: 17px;
  }

  .link-formation-price {
    padding: 15px 25px;
    top: 80%;
  }
}

/* FORMATIONS Mobile */
@media screen and (max-width: 767px) {
  .formations {
    flex-direction: column;
  }

  .formations-auto-moto {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
  }

  .image-formation {
    height: 250px;
  }

  .content-image-formation {
    top: 10%;
    font-size: 14px;
  }

  .link-formation-price {
    padding: 10px 20px;
  }
}

/* CONTACT Desktop */
.contact {
  padding-top: 50px;
  font-size: 18px;
}

.cards-contact {
  display: flex;
  justify-content: center;
  gap: 10%;
  margin-bottom: 40px;
  padding: 20px 150px;
}

.card-contact {
  display: flex;
  flex-direction: column;
  border: 1px solid;
  border-radius: 20px;
  padding: 10px 0px;
  width: 100%;
}

.content-card-contact {
  display: flex;
  flex-direction: column;
  margin: auto;
  text-align: start;
  gap: 50px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.text-card-contact {
  display: flex;
  gap: 20px;
}

.tel-contact {
  text-decoration: none;
  color: black;
}

.container-form {
  position: relative;
}

.content-form {
  position: absolute;
  top: 10%;
  right: 0;
  padding-right: 250px;
}

.image-form {
  display: block;
  width: 100%;
  height: 500px;
}

.subtitle-contact {
  color: rgb(61, 151, 181);
}

form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.firstLine-form {
  display: flex;
  justify-content: space-between;
}

.input-firtLine-form {
  width: 45%;
  height: 30px;
  font-size: 20px;
}

form input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 30px;
  font-size: 20px;
}

form textarea {
  height: 100px;
  display: block;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 20px;
  resize: none;
  font-family: "Roboto", sans-serif;
}

.send-form {
  background-color: rgb(61, 151, 181);
  color: #fff;
  cursor: pointer;
  height: 46px;
  font-size: 20px;
}

/* CONTACT Tablet */
@media screen and (max-width: 1024px) {
  .cards-contact {
    gap: 8%;
    padding: 15px 30px;
    padding-bottom: 50px;
  }

  .content-form {
    left: 0;
    padding-right: 0;
    margin-left: 30px;
    margin-right: 30px;
  }

  .input-firtLine-form {
    font-size: 17px;
  }

  form input {
    font-size: 17px;
  }

  form textarea {
    font-size: 17px;
  }
}

/* CONTACT Mobile */
@media screen and (max-width: 767px) {
  .contact {
    padding-top: 50px;
    font-size: 15px;
  }

  .cards-contact {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  form {
    gap: 20px;
  }

  .content-form {
    left: 0;
    padding-right: 0;
    margin-left: 30px;
    margin-right: 30px;
  }

  .firstLine-form {
    flex-wrap: wrap;
    gap: 20px;
  }

  .input-firtLine-form {
    font-size: 17px;
    width: 100%;
  }

  form input {
    font-size: 17px;
  }

  form textarea {
    font-size: 17px;
  }
}

/* FOOTER Desktop */
footer {
  background-color: rgb(35, 35, 35);
  color: rgb(200, 200, 200);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 150px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
  gap: 7px;
}

.links-footer {
  color: rgb(200, 200, 200);
  text-decoration: none;
  transition: 100ms ease-in-out;
}

.links-footer:hover {
  color: white;
  text-decoration: underline;
}

.link-white {
  color: white;
  text-decoration: underline;
}

.notice {
  color: rgb(200, 200, 200);
  text-decoration: none;
  border: 1px solid;
  padding: 6px 15px;
  border-radius: 4px;
  transition: 100ms ease-in-out;
}

.notice:hover {
  background-color: rgb(200, 200, 200);
  color: black;
}

/* FOOTER Tablet */
@media screen and (max-width: 1024px) {
  footer {
    padding: 25px 30px;
  }
}

/* FOOTER Mobile */
@media screen and (max-width: 767px) {
  footer {
    flex-direction: column-reverse;
    gap: 15px;
  }

  .footer-content {
    align-items: center;
    text-align: center;
  }
}

/* LEGAL Desktop */
.legal {
  margin-top: 60px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
  margin-left: 150px;
  margin-right: 150px;
  font-size: 17px;
}

.text-legal {
  margin-top: 0;
  margin-bottom: 20px;
}

/* LEGAL Tablet */
@media screen and (max-width: 1024px) {
  .legal {
    margin-bottom: 70px;
    margin-left: 30px;
    margin-right: 30px;
  }
}

/* LEGAL Mobile */
@media screen and (max-width: 767px) {
  .legal {
    margin-bottom: 60px;
  }
}
