@charset "UTF-8";

* {
  box-sizing: inherit;
}

html {
  height: 100%;
  font-size: 11px;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  /* font-family: "Open Sans", "Arial", sans-serif; */
}

a {
  text-decoration: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 10000s ease-in-out 0s,
    box-shadow 10000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
  -webkit-text-fill-color: #000 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: #000 !important;
  opacity: 1 !important;
}

.nowrap {
  white-space: nowrap;
}

/* Popup modale de récupération d'identifiants */

#modalRecupId {
  display: none;
  width: 600px;
}

#modalRecupId .modal-content {
  padding: 0;
}

#modalRecupId iframe {
  border: none;
  width: 100%;
  height: 280px;
}

.page-bg-2 {
  width: 100%;
  height: 100%;
  background: url(../images/bg-1.png) no-repeat;
  background-size: inherit;
  background-position: left top;
}

#page {
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  font-size: 1.2rem;
  background: url(../images/bg-2.png) no-repeat;
  background-size: contain;
  background-position: right;
}

#particles {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#particles-js {
  -webkit-transform: translate(10%, -10%) rotate(35deg);
  transform: translate(10%, -10%) rotate(35deg);
  mix-blend-mode: overlay;
  height: 125%;
  opacity: 0.8;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  height: 100%;
  background-color: #fff;
  flex: 1 1 100%;
  padding: 2rem;
}

.bg {
  order: 1;
  width: 100%;
  display: none;
}

header,
footer,
main {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 92%;
  /* max-width: 20rem;
  min-width: 100px;
  margin-left: 10rem; */
}

#logo img {
  max-width: 100%;
  height: auto;
  border: 0;
}

h2 {
  margin: 0;
  margin-top: 5rem;
}

h2 .gradient-color {
  background: linear-gradient(
    89deg,
    rgba(71, 37, 239, 1) 0%,
    rgba(203, 48, 116, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 7.5rem;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

h2 .subtitle-h2 {
  color: #000000;
  font-size: 2.45rem;
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

h3 {
  margin: 0;
  color: #000000;
  font-size: 2.92rem;
  line-height: 1;
  font-family: "Poppins", "Arial", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
}

.footer {
  margin-top: 2.8rem;
  color: #adadad;
}

.footer a {
  color: #adadad;
  text-decoration: none;
}

.coord {
  font-size: 1.23rem;
}

.instructions {
  color: #000000;
  font-size: 1.98rem;
  line-height: 1.2;
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  margin-top: 2.517rem;
  margin-bottom: 3.5rem;
  font-family: "Poppins", "Arial", sans-serif;
}

#fields {
  box-sizing: border-box;
  /* max-width: 38rem; */
}

#fields .field {
  position: relative;
  background-color: rgba(222, 222, 222, 0.25) !important;
  margin: 0;
  height: 5.545rem;
  width: 100%;
  border: none;
  border: 2px solid transparent;
  border-radius: 5px;
}

#fields .field:first-of-type {
  margin-bottom: 1.667rem;
}

#fields .field:first-of-type label {
  margin-left: 0;
}

#fields .field:first-of-type input[type="email"],
#fields .field:first-of-type input[type="text"],
#fields .field:first-of-type input[type="password"] {
  margin-left: 0;
}

#fields .field:first-of-type input[type="email"] + span.label,
#fields .field:first-of-type input[type="text"] + span.label,
#fields .field:first-of-type input[type="password"] + span.label {
  margin-left: 0;
}

#fields .field:last-of-type label {
  margin-left: 0;
}

#fields .field:last-of-type input[type="email"],
#fields .field:last-of-type input[type="text"],
#fields .field:last-of-type input[type="password"] {
  margin-left: 0;
}

#fields .field:last-of-type input[type="email"] + span.label,
#fields .field:last-of-type input[type="text"] + span.label,
#fields .field:last-of-type input[type="password"] + span.label {
  margin-left: 0;
}

#fields input::placeholder {
  font-family: "Poppins", "Arial", sans-serif !important;
  color: #000;
  font-weight: normal;
}

#fields label {
  position: absolute;
  top: 13px;
  left: 0;
  width: 7.545rem;
  height: 100%;
  text-align: center;
  border-right: 2px solid #ffffff;
  height: 58%;
  /*  margin-left: 3px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.right-line {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7.545rem;
  height: 45%;
  border-right: 1px solid #000000;
}

#fields label img {
  height: 24px;
  width: auto;
}

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.457rem !important;
  font-weight: normal;
  font-family: "Poppins", "Arial", sans-serif;
  color: #000 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 7.545rem;
  width: calc(100% - 7.545rem);
  height: 94% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
  padding-left: 2.167rem;
}

#fields input[type="email"]:focus,
#fields input[type="email"].valid,
#fields input[type="email"].invalid,
#fields input[type="text"]:focus,
#fields input[type="text"].valid,
#fields input[type="text"].invalid,
#fields input[type="password"]:focus,
#fields input[type="password"].valid,
#fields input[type="password"].invalid {
  box-shadow: none;
  outline: 0;
}

#oubli_form {
  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 600;
  height: 3.8rem;
  font-size: 1.3rem;
  color: #2b3991;
  background-color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: 0.2s;
  cursor: pointer;
  border: 1px solid;
  border: 1px solid transparent;
  background-image: linear-gradient(white, white),
    linear-gradient(89deg, rgba(71, 37, 239, 1) 0%, rgba(203, 48, 116, 1) 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
  text-transform: uppercase;
  width: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20.59px;
}

#oubli_form a {
  background: linear-gradient(
    89deg,
    rgba(71, 37, 239, 1) 0%,
    rgba(203, 48, 116, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Poppins", "Arial", sans-serif;
  width: 100%;
}

.button_form {
  width: 41%;
  height: 3.8rem;

  font-family: "Poppins", "Arial", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
  background: rgb(193, 78, 255);
  background: linear-gradient(
    89deg,
    rgba(71, 37, 239, 1) 0%,
    rgba(203, 48, 116, 1) 100%
  );
  /*background-color: #1D75BD;*/
  /*max-width: 36.33rem;*/
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-transform: none;
  text-transform: uppercase;
  border-radius: 21.53px;
}

.button_form span {
  font-family: "Poppins", "Arial", sans-serif;
}

.button_form:hover {
  background-color: #2b3991;
}

.boutons {
  display: flex;
  margin-top: 4rem;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

/* #linkRecupId {
  width: 65% !important;
} */

@media screen and (min-height: 800px) {
  .contenu {
    justify-content: center;
  }
}

@media screen and (min-width: 600px) {
  #page {
    padding: 2rem 0;
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    justify-content: center;
    height: 75%;
    flex: 0 0;
    margin: auto;
    width: 55%;
    background-color: #fff;
  }

  .bg {
    display: none;
  }
}

@media screen and (max-width: 959px) and (max-height: 840px) {
  .bg {
    display: none;
  }
}

@media screen and (min-width: 960px) {
  html {
    font-size: 11px;
  }

  #logo {
    margin-top: 0;
  }

  #page {
    min-height: 100%;
    /* display: flex;
    flex-direction: row; */
    padding: 0;
  }

  .contenu {
    width: 100%;
    flex: 1 1 50%;
    height: initial;
    margin: initial;
    background: none;
    background-color: transparent;
    box-shadow: none;
  }

  .bg {
    display: none;
    width: 50%;
    flex: 1 1 50%;
    order: 1;
    background: transparent;
    height: initial;
    position: relative;
    overflow: hidden;
  }

  .line {
    width: 100% !important;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 11px;
  }

  .contenu {
    width: 50%;
    flex: 0 0 52.3%;
  }

  .bg {
    width: 54.7%;
    flex: 1 1 54.7%;
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }

  footer {
    margin-top: 6.6rem;
  }
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 11px;
  }

  header,
  main,
  footer {
    width: 56.3%;
    flex: 0 0 52.3%;
  }

  /* #linkRecupId {
    width: 50% !important;
  } */

  .line-break {
    display: block;
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px),
  (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    display: block;
  }

  .contenu {
    box-shadow: none;
  }
}

@media all and (-ms-high-contrast: none) and (min-width: 960px),
  (-ms-high-contrast: active) and (min-width: 960px) {
  #page,
  .contenu {
    min-height: 100vh;
  }

  .bg {
    min-height: 100vh;
  }
}

@media screen and (max-width: 1650px) {
  .page-bg-2 {
    background: none;
  }

  #page {
    background: url(../images/bg-2.png) no-repeat;
    background-size: contain;
    background-position: 48rem;
  }
}

@media screen and (max-width: 1280px) {
  html {
    font-size: 10px;
  }

  /* .contenu {
    padding-bottom: 2rem;
  } */
}

@media screen and (max-width: 960px) {
  #page {
    background: none;
  }

  h2 {
    margin-top: 5rem;
  }
}

@media screen and (max-width: 850px) {
  .contenu {
    width: 70%;
    background-color: #ffffff;
  }
  #logo img {
    max-width: 100%;
    height: auto;
    border: 0;
  }
}

@media screen and (max-width: 630px) {
  .contenu {
    width: 100%;
  }

  h2 {
    font-size: 2.063rem;
  }
  .instructions {
    font-size: 1.78rem;
  }

  h3 {
    font-size: 2.527rem;
  }
}

@media screen and (max-width: 370px) {
  h2 {
    font-size: 1.963rem;
  }
  .instructions {
    font-size: 1.68rem;
  }

  #logo {
    max-width: 100%;
  }
}

@media screen and (max-height: 830px) {
  #logo {
    max-width: 100%;
  }

  html {
    font-size: 10px;
  }
}

@media screen and (max-height: 730px) {
  #logo {
    max-width: 92%;
    margin-bottom: 0;
  }

  h2 {
    margin-top: 7rem;
  }

  h2 .gradient-color {
    font-size: 6.5rem;
  }

  h2 .subtitle-h2 {
    font-size: 2.1rem;
  }
}

@media screen and (max-height: 680px) {
  .instructions {
    margin-top: 1.417rem;
    margin-bottom: 2.5rem;
  }
}

@media screen and (max-width: 450px) {
  #fields {
    box-sizing: border-box;
    /* max-width: 38rem; */
    margin-bottom: 2rem;
  }

  .boutons {
    flex-wrap: wrap;
    margin-bottom: 2rem !important;
  }

  #oublie_form {
    padding: 1.3rem 3rem;
  }
}
