*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* scrollbar styling standard version */
/* scrollbar styling non-standard version */
html::-webkit-scrollbar {
  width: 2rem;
  background-color: rgba(0,0,0,.15); 
}
html::-webkit-scrollbar-thumb {
    background: #000; 
}
/* scrollbar styling standard version */
html {
  scrollbar-color: #000 rgba(255,0,0,.15);
  scrollbar-width: thin;
  overflow-y: auto;  /* Assurez-vous que cette ligne est présente et ne définit pas overflow-y sur "hidden" */
  border: 1px solid red;
}



body {
  font-family: "Nunito", sans-serif;
  background-color: #000011;
  overflow-y: auto;
perspective: 500px;
margin: 0;

}

.container img,
.card-info img,
.image-container {
  width: 100%; /* La largeur du conteneur d'image ne dépassera jamais la largeur de son parent */
  height: auto;
}



.container img {
  width: 100%; /* L'image prendra 100% de la largeur de son parent */
  height: auto; /* Assurez-vous que l'aspect ratio de l'image est préservé */
  position: absolute; /* Positionne l'image en absolu par rapport au formulaire */
  top: 0; /* Placez l'image en haut du formulaire */
  left: 0; /* Placez l'image à gauche du formulaire */
  padding: 0px 0px;
}

.card-info img {
  max-width: 100%;/* L'image prendra 100% de la largeur de son parent */
  height: auto; /* Assurez-vous que l'aspect ratio de l'image est préservé */
  position: absolute; /* Positionne l'image en absolu par rapport au formulaire */
  top: 0; /* Placez l'image en haut du formulaire */
  left: 0; /* Placez l'image à gauche du formulaire */
  margin: 0 auto;
  padding: 0px 0px;
}


form {
  max-width: 600px;
  margin: 10px auto;
  padding: 10px 20px;
  background: #f4f7f8;
  border-radius: 8px;

}

img {
  max-width: 100%; /* L'image ne dépassera jamais la largeur de son conteneur */
  height: auto; /* Assurez-vous que l'aspect ratio de l'image est préservé */
  margin-left: 0px; /* Ajustez la marge comme vous le souhaitez */
}


h1 {
  margin: 0 0 30px 0;
  text-align: center;
}
h2 {
  text-align: center;
  font-family: arial;
 font-size: 1.1 rem;
 font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
  background:  #384047;
  border: none;

  height: auto;

  outline: 0;
  padding: 5px;
  width: 100%;
  background-color: #FFF;
  color: #8a97a0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
  margin: 5px 4px 8px 5px;
  margin-bottom: 20px;
font-size : 16px;

}
input,
label {
  margin: 5px 0;
}
input[type="radio"],
input[type="checkbox"] {
  margin: 5px 4px 8px 5px;
}

select {
  padding: 6px;
  height: 32px;
  border-radius: 2px;
}

button {
  padding: 19px 39px 18px 39px;
  color: #fff;
  background-color: #990000;
  font-size: 16px;
  text-align: center;
  font-style: normal;
  border-radius: 5px;
  width: 100%;
  border: 1px solid #990000;
  border-width: 1px 1px 3px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
  margin-bottom: 10px;
}

fieldset {
  font-size : 14px;
  margin-bottom: 20px;
  border: none;
}

legend {
  font-size: 1.4em;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 8px;
}

label.light {
  font-weight: 300;
  display: inline;
}

.number {
  background-color: #990000;
  color: #fff;
  height: 30px;
  width: 30px;
  display: inline-block;
  font-size: 0.8em;
  margin-right: 4px;
  line-height: 30px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 100%;
}

button {
    width: 300px; /* Vous pouvez ajuster la valeur en fonction de vos besoins */
}

@media screen and (min-width: 480px) {
  form {
    max-width: 480px;
  }
}
.col{
float: left;
width: 50%;
margin-top: 6px;
}

.card-info {
    font-family: "Nunito", sans-serif;
    margin-left: auto;
    margin-right: auto;
    color: #384047;
    max-width: 480px;
   
    padding: 0px 0px;
    background: #f4f7f8;
    border-radius: 8px;

    border: none;
    font-size: 14px;
    height: auto;

    outline: 0;

    width: 100%;
    background-color: #e8eeef;
    font-size: 16px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
    margin-bottom: 10px;
}



p {
  font-family: arial;
 font-size: 0.8rem;
}


html{
  font-size : 14px;
}

#video-bg {
  min-width: 100%; 
  min-height: 100%;
  width: auto;
  height: auto;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
  position: fixed;
}


#form-container {
  position: relative;

}

#content {
  padding: 5px;
  color: #fff;

}




/* crops animations that exceeds one line area */
.line {
  width: 100%;
  height: 100%;
 
  padding: 0;
  margin-bottom: 12px;
}



/* lineup class and keyframes */

@keyframes anim-lineUp {
  0% {
    opacity: 0;
    transform: translateY(80%);
  }
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: translateY(0%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes anim-fromtop {
  0% { opacity: 0; transform: translateY(-100%);}
  25% { opacity: 1; transform: translateY(0%);}
  50% {
  }
  100% {
  }
}

  
.elementWithAnimFromTop {
  animation: 2s anim-fromtop ease-out forwards;
}

.lineUp {
  animation: 2s anim-lineUp ease-out forwards;
}

.bordureecran{
  z-index: -1;

}


video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -999;
}
