@font-face {
  font-family: "DM Sans";
  src: url("../font/DM_Sans/DMSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

/*\\\\\\\\\\\\\\\\\\\ header /////////////////////////*/


.topnav {
  margin: 50px 0 67px 0;
}

.topnavresponsive {
  margin: 50px 0 67px 0;
}

.conteneurnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: auto;
  width: 1240px;
}

.navbar {
  list-style: none;
  display: flex;
  margin-right: -68px;
}

.li {
  border-bottom: 1px solid white;
  position: relative;
  cursor: pointer;
}

.li::after {
  content: "";
  border-bottom: 1px solid white;
  position: absolute;
  bottom: 0;
  right: 0;
  cursor: pointer;
}

.li:nth-child(1)::after {
  width: 86%;
  margin-right: 16px;
}

.li:nth-child(2)::after {
  width: 73%;
  margin-right: 16px;
}

.li:nth-child(3)::after {
  width: 67%;
  margin-right: 15px;
}

.li:nth-child(4)::after {
  width: 83%;
  margin-right: 18px;
}

.link {
  position: relative;
  color: #000000;
  text-align: center;
  padding: 12px 12px;
  margin: 5px;
  text-decoration: none;
  font-size: 20px;
  font-family: sans-serif;
  border-bottom: 1px solid white;
}

.link::before {
  content: "";
  width: 80%;
  height: 100%;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
}

.link:hover {
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 15px;
}

.link:focus {
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 15px;
}

.active {
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 15px;
}

.icon {
  display: none;
}

.iconactive {
  display: none;
}

/*\\\\\\\\\\\\\\\\\\\ main /////////////////////////*/

.main {
  font-size: 130%;
  margin: 20px 5.255% 0px 5.255%;
}

.hero-section {
  width: 1240px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 657px;
  box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.5);
  margin: auto;
}

.hero-content {
  padding: 9px 67px;
  grid-column: 1/6;
  background: #232323;
  border-radius: 10px 0 0 10px;
  color: #fff;
  position: relative;
}

.hero-headline {
  font-size: 4.6em;
  font-weight: normal;
  white-space: nowrap;
}

.hero-text {
  font-weight: 100;
  margin-top: 109px;
}

.btn-submit,
.btn-signup {
  background: #fe142f;
  display: block;
  margin: 0 auto;
  border-radius: 7px;
  font-size: 1rem;
  padding: 12px 46px;
  color: #fff;
  cursor: pointer;
  border: 0;
}

.btn-signup {
  outline: none;
  text-transform: capitalize;
  border-radius: 7px;
  font-size: 1.3rem;
  padding: 15px 23px;
  margin: 0;
  margin-top: 59px;
}

.hero-img {
  grid-column: 6/13;
}

.img-hero {
  border-radius: 0 10px 10px 0;
  width: 100%;
  height: 100%;
}

.hero-section>.btn-signup {
  display: none;
}

.modal-btn {
  font-size: 1.2rem;
  background: #fe142f;
  display: flex;
  padding: 2em;
  color: #fff;
  padding: 0.75rem 2.5rem;
  cursor: pointer;
}

.modal-btn:hover {
  background: #3876ac;
}

/* Modal form */

.bground {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: white;
  z-index: 1;
}

.content {
  margin: 5% auto;
  width: 100%;
  max-width: 500px;
  animation: modalopen 800ms;
  background: #232323;
  border-radius: 10px;
  position: relative;
  color: #fff;
  padding-top: 10px;
}

.close {
  position: absolute;
  right: 15px;
  top: 14px;
  width: 32px;
  height: 32px;
  opacity: 1;
  cursor: pointer;
  transform: scale(0.7);
  background-color: #232323;
  border: none;
}

.close:before,
.close:after {
  position: absolute;
  left: 17px;
  top: 0;
  right: 0;
  bottom: 0;
  content: " ";
  height: 33px;
  width: 3px;
  background-color: #fff;
}

.close:before {
  transform: rotate(45deg);
}

.close:after {
  transform: rotate(-45deg);
}

.modal-body {
  padding: 15px 8%;
  margin: 15px auto;
}

#birthdate {
  position: relative;
}

#birthdate::after {
  content: "";
  position: absolute;
  background-color: #fff;
  z-index: 1;
  width: 100%;
  height: 100%;
  right: 0;
  border-radius: 10px;
}

#birthdate:focus::after {
  opacity: 0;
  z-index: -1;
}

#birthdate:not(:focus):valid::after {
  opacity: 0;
  z-index: -1;
}

#quantity {
  padding: 8px 8px 30px 15px;
}

#quantity::placeholder {
  color: #000;
}

.formdata[data-error]::after {
  content: attr(data-error);
  font-size: 0.6em;
  color: #e54858;
  display: block;
  margin-top: 7px;
  margin-bottom: 7px;
  text-align: left;
  opacity: 0;
  transition: 300ms;
  font-weight: normal;
}

.formdata[data-error-visible="true"]::after {
  opacity: 1;
}

.formdata[data-error-visible="true"] .text-control {
  border: 2px solid #e54858;
}

.label {
  font-size: 13px;
  font-weight: normal;
  display: inline-block;
  margin-bottom: 11px;
}

.text-control {
  margin: 0;
  padding: 8px;
  width: 100%;
  border-radius: 8px;
  font-size: 20px;
  height: 58px;
  border: 0.8px solid #ccc;
  outline: none;
}

.text-label {
  font-weight: normal;
  font-size: 16px;
}

.conteneur-location {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  height: 50px;
  align-items: center;
}

.checkbox-label:nth-child(2) {
  width: 57px;
  margin-right: 3%;
}

.checkbox-label:nth-child(4) {
  width: 80px;
  margin-right: 3%;
}

.checkbox-label:nth-child(6) {
  width: 44px;
  margin-right: 3%;
}

.checkbox-label:nth-child(8) {
  width: 50px;
  margin-right: 3%;
}

.checkbox-label:nth-child(10) {
  width: 41px;
  margin-right: 3%;
}

.checkbox-label:nth-child(12) {
  width: 49px;
}

.checkbox-input {
  display: none;
}

.checkbox-input:checked+.checkbox-label .checkbox-icon::after,
.checkbox-input:checked+.checkbox2-label .checkbox-icon::after {
  opacity: 1;
}

.checkbox-input:checked+.checkbox2-label .checkbox-icon {
  background: #279e7a;
}

.checkbox-label,
.checkbox2-label {
  position: relative;
  margin-left: 27px;
  font-size: 11px;
  font-weight: normal;
}

.checkbox-label .checkbox-icon,
.checkbox2-label .checkbox-icon {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #279e7a;
  border-radius: 50%;
  text-indent: 29px;
  white-space: nowrap;
  position: absolute;
  left: -30px;
  top: -4px;
  transition: 0.3s;
}

.checkbox-label .checkbox-icon::after,
.checkbox2-label .checkbox-icon::after {
  content: "";
  width: 13px;
  height: 13px;
  background-color: #279e7a;
  border-radius: 50%;
  text-indent: 29px;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
  opacity: 0;
}

.checkbox2-label .checkbox-icon {
  border-radius: 4px;
  border: 0;
  background: #c4c4c4;
}

.checkbox2-label .checkbox-icon::after {
  width: 7px;
  height: 4px;
  border-radius: 2px;
  background: transparent;
  border: 2px solid transparent;
  border-bottom-color: #fff;
  border-left-color: #fff;
  transform: rotate(-55deg);
  left: 21%;
  top: 19%;
}

.button {
  background: #fe142f;
  margin-top: 0.5em;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.button:hover {
  background: #3876ac;
}

.conteneur-inscription {
  width: 100%;
  max-width: 500px;
  height: 740px;
  display: flex;
  align-items: center;
}

.titre-inscription {
  margin: auto;
  text-align: center;
  font-size: 45px;
  font-weight: normal;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 35px;
  margin: 0 20px;
}

.copyrights {
  color: #fe142f;
  width: 1240px;
  font-size: 1rem;
  margin-right: 155px;
}

@media screen and (max-width: 1440px) {

  .conteneurnav {
    width: 90.112%;
    margin: 50px 3% 67px auto;
  }

  .navbar {
    margin-right: 0px
  }

  .hero-section {
    width: 96.225%;
  }

  .hero-headline {
    font-size: 6.5vw;
  }

  .hero-text {
    font-size: 100%;
  }
}

@media screen and (max-width: 1280px) {
  .hero-content {
    padding: 9px 12px 9px 35px;
    grid-column: 1/5;
  }

  .hero-img {
    grid-column: 5/13;
  }

  .img-hero {
    object-fit: cover;
  }
}

@media screen and (max-width: 1116px) {
  .navbar {
    padding: 0;
    width: 100%;
  }
}

@media screen and (max-width: 928px) {
  .conteneurnav {
    margin: 50px 5.255% 67px auto;
  }

  .main {
    margin: 20px 2.255% 0px 2.255%
  }
}

@media screen and (max-width: 800px) {
  .conteneurnav {
    margin: 50px 3% 67px auto;
  }

  .main {
    margin: 20px 5.255% 0px 5.255%;
  }

  .link {
    font-size: 2.5vw;
  }

  .hero-section {
    display: block;
    box-shadow: unset;
  }

  .hero-content {
    background: #fff;
    color: #000;
    padding: 20px;
  }

  .hero-content::after {
    content: unset;
  }

  .hero-content .btn-signup {
    display: none;
  }

  .hero-headline {
    font-size: 4.5rem;
    white-space: normal;
  }

  .hero-text {
    width: unset;
    font-size: 1.5rem;
  }

  .img-hero {
    border-radius: 10px;
    margin-top: 40px;
  }

  .hero-section>.btn-signup {
    display: block;
    margin: 32px auto 0px;
    padding: 12px 35px;
  }

  .copyrights {
    margin-top: 50px;
    text-align: center;
  }
}

@media screen and (max-width: 775px) {
  .link {
    font-size: 2.4vw;
  }
}

@media screen and (max-width: 768px) {
  .topnav {
    width: 100%;
    margin: auto;
    padding: 30px 30px 0 30px;
  }

  .conteneurnav {
    margin: 0 auto;
  }

  .topnavresponsive {
    width: 100%;
    margin: auto;
    padding: 30px 30px 0 30px;
  }

  .conteneurnav {
    align-items: start;
  }

  .header-logo {
    display: flex;
    align-items: start;
    margin-top: 13px;
  }

  .logo-header {
    width: 130px;
    align-items: flex-start;
  }

  .main-navbar {
    display: flex;
  }

  .navbar {
    margin: 0;
    flex-direction: column;
    width: 120%;
  }

  .li:nth-child(1)::after {
    width: 72%;
    margin-right: 58px;
    margin-bottom: 17px;
  }

  .li:nth-child(2)::after {
    width: 30%;
    margin-right: 177px;
    margin-bottom: 17px;
  }

  .li:nth-child(3)::after {
    width: 25%;
    margin-right: 189px;
    margin-bottom: 17px;
  }

  .li:nth-child(4)::after {
    width: 65%;
    margin-right: 80px;
    margin-bottom: 17px;
  }

  .link {
    display: none;
    font-size: 20px;
  }

  .icon {
    align-self: start;
    display: block;
    background-color: white;
    border: none;
    color: #f00;
    font-size: 2rem;
    margin-top: 5px;
    padding: 4px;
    z-index: 0;
    position: relative;
    cursor: pointer;
  }

  .icon:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;

  }

  .iconactive {
    align-self: start;
    display: block;
    background-color: #f00;
    border-radius: 100%;
    border: none;
    color: white;
    font-size: 2rem;
    margin-top: 5px;
    padding: 4px;
    position: relative;
    z-index: 0;
    cursor: pointer;
  }

  .iconactive:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;

  }

  .topnavresponsive .link {
    display: block;
    text-align: left;
    margin-right: 0;
  }

  .active {
    background-color: #ff0000;
    color: #ffffff;
    border-radius: 15px;
  }

  .hero-content {
    margin: 0;
    padding: 12px
  }

  .hero-headline {
    margin: 0;
    font-size: 9vw;
  }

  .hero-text {
    font-size: 3vw;
    margin-top: 30px;
  }

  .copyrights {
    margin: 30px auto;
    text-align: center;
  }
}

@media screen and (max-width: 535px) {

  .topnav {
    position: relative;
    padding: 0;
  }

  .topnavresponsive {
    position: relative;
    padding: 0;
    padding: 0px;
  }

  .conteneurnav {
    width: 90%;
    margin: 25px 25px 25px 25px;
  }

  .main {
    margin: 0;
    position: relative;
    height: 100%;
    padding: 20px 15px 0px 15px;
  }

  .bground {
    bottom: 0;
    position: absolute;
    overflow: visible;
  }

  .content {
    border-radius: 10px 10px 0 0;
    margin: 0;
    max-width: none;
  }

  .modal-body {
    margin: 15px 0 0 0;
  }

  #quantity {
    padding: 8px;
  }

  .footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px;
    margin: 0;
  }
}

@media screen and (max-width: 462px) {

  .checkbox-label:nth-child(2) {
    width: 50px;
    margin-right: 1%;
  }

  .checkbox-label:nth-child(4) {
    width: 77px;
    margin-right: 1%;
  }

  .checkbox-label:nth-child(6) {
    width: 43px;
    margin-right: 1%;
  }

  .checkbox-label:nth-child(8) {
    width: 50px;
    margin-right: 1%;
  }

  .checkbox-label:nth-child(10) {
    width: 41px;
    margin-right: 1%;
  }

  .checkbox-label:nth-child(12) {
    width: 49px;
  }
}

@media screen and (max-width: 430px) {

  .topnavresponsive {
    padding: 15px 15px 0 15px;
  }

  .hero-headline {
    font-size: 8.3vw;
    letter-spacing: 1px;
  }

  .hero-text {
    font-size: 3vw;
  }

  .conteneur-location {
    height: 70px;
  }
}

@media screen and (max-width: 335px) {
  .link {
    font-size: 16px;
    height: 46px;
  }

  .li:nth-child(1)::after {
    width: 71%;
    margin-right: 48px;
  }

  .li:nth-child(2)::after {
    width: 29%;
    margin-right: 146px;
  }

  .li:nth-child(3)::after {
    width: 25%;
    margin-right: 153px;
  }

  .li:nth-child(4)::after {
    width: 63%;
    margin-right: 66px;
  }

  .copyrights {
    font-size: 0.8rem;
  }
}

@keyframes modalopen {
  from {
    opacity: 0;
    transform: translateY(-150px);
  }

  to {
    opacity: 1;
  }
}