@charset "UTF-8";

* {
  box-sizing: inherit;
}

html {
  height: 100%;
}

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

#particles-js {
  position: absolute;
  width: 50%;
  height: 100%;
  z-index: 1;
}

a {
  text-decoration: none;
}

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

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-style: italic;
  color: #fff !important;
  opacity: 1 !important;
}

/*
::placeholder { !* Chrome, Firefox, Opera, Safari 10.1+ *!
	color: red;
	opacity: 1; !* Firefox *!
}

:-ms-input-placeholder { !* Internet Explorer 10-11 *!
	color: red;
}

::-ms-input-placeholder { !* Microsoft Edge *!
	color: red;
}*/

.nowrap {
  white-space: nowrap;
}

.d-none {
  display: none;
}

/* 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;
}

html {
  font-size: 13px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  overflow: hidden;
  background: url(../images/bg.jpg) no-repeat left center;
}

.small-only {
  display: block;
}

.contenu {
  width: 100%;
  background: transparent;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

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

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

.separateur {
  background: #fff7eb;
  border: none;
  width: 100%;
  height: 3px;
  margin: 2rem 0;
}

#logo {
  width: 45%;
  display: flex;
  max-width: 100%;
  min-width: 100px;
  margin-left: 0;
  margin-right: auto;
  text-align: center;
  margin-bottom: 2.3rem;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4rem;
}

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

h2 {
  font-size: 4.5rem;
  font-weight: 600;
  box-sizing: border-box;
  font-family: "Inter", "Arial", sans-serif;
  background: linear-gradient(135deg, #ff004f, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.8rem;
}

h3 {
  margin: 0;
  color: #fff;
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1;
  font-family: "Inter", "Arial", sans-serif;
  font-weight: normal;
  text-align: left;
}

h3 span {
  color: #fff;
  font-weight: normal;
}

.instructions {
  font-family: "Inter", "Arial", sans-serif;
  text-align: left;
  color: #fff;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.color {
  font-weight: 600;
}

#fields {
  box-sizing: border-box;
  margin-bottom: 0.8rem;
  max-width: 100%;
  width: 100%;
}

#fields .field {
  position: relative;
  height: 4rem;
  border-radius: 15px;
  background-color: #1116277a;
}

#fields .field:first-child {
  margin-bottom: 1.5rem;
}

/* 
#fields .field:last-child {
} */

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 5rem;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label img {
  height: 1.75rem;
  width: auto;
}

/* #fields label:after {
  content: "";
  border-right: 1px solid #a78f74;
  opacity: 1;
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  right: 0;
  width: 100%;
} */

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
  font-size: 1.35rem !important;
  font-weight: 300;
  font-family: "Inter", "Arial", sans-serif !important;
  color: #fff !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 5rem;
  width: calc(100% - 8rem);
  border-bottom: 0;
  height: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  caret-color: #fff;
  padding: 0 2rem 0 0;
}

#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 {
  color: #fff;
  box-shadow: none;
  outline: 0;
}

#fields input[type="email"]:focus:not([readonly]),
#fields input[type="text"]:focus:not([readonly]),
#fields input[type="password"]:focus:not([readonly]) {
  box-shadow: none;
  border-bottom-color: rgb(22, 25, 42);
}

#fields input[type="email"] + span.label,
#fields input[type="text"] + span.label,
#fields input[type="password"] + span.label {
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: normal;
  font-family: "Inter", "Arial", sans-serif !important;
  position: absolute;
  text-align: center;
  left: 5.73rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: left center;
  transform-origin: left center;
  z-index: 0;
}

#fields input[type="email"] + span.label.active,
#fields input[type="text"] + span.label.active,
#fields input[type="password"] + span.label.active {
  -webkit-transform: translateY(calc(-50% - 16px)) scale(0.7);
  transform: translateY(calc(-50% - 16px)) scale(0.7);
  /* padding-left: 6px; */
}

#fields input::placeholder {
  font-family: "Inter", "Arial", sans-serif;
  color: #fff;
  font-weight: normal;
}

.button_form {
  height: 3.8rem;
  width: 15rem;
  font-family: "Inter", "Arial", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 30px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  background-color: #cd184e;
  border: 1px solid #eee;

  /* background-image: linear-gradient(to right, #1898bf, #0e7f9f, #1898bf, #0e7f9f);

  background-size: 300% 100%;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;*/
  transition: all 0.4s ease-in-out;
}

.button_form img {
  margin-left: 15px;
}

.button_form:hover,
.button_form:focus {
  /* background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out; */
  background: #e60047;
  box-shadow: rgb(0 0 0 / 0%) 0px -6px 12px;
}

#oubli_form {
  text-align: right;
  margin-bottom: 2.5rem;
}

#oubli_form a {
  font-family: "Inter", "Arial", sans-serif;
  font-weight: normal;
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  color: #fff;
  opacity: 1;
  /* text-decoration: underline; */
}

/* #oubli_form a:hover {
  color: #cd184e;
  box-shadow: rgb(0 0 0 / 0%) 0px -6px 12px;
} */

.oubli_connexion {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}

.dbl_btn {
  flex-direction: column;
  display: flex;
  align-items: flex-end;
  margin: 1rem 1.5rem 0 auto;
}

.bottom_logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 100px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.bottom_logo img {
  max-width: 100%;
  height: auto;
  border: 0;
}
@media only screen and (min-width: 360px) and (max-width: 393px) {
  h2 {
    font-size: 3.7rem !important;
  }
  h3 {
    font-size: 1.96rem !important;
  }
  .instructions {
    font-size: 1.27rem !important;
  }
  #oubli_form {
    position: relative;
    right: 3rem;
  }
}

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

  #particles-js {
    display: none;
  }

  .contenu {
    padding: 0 2rem;
  }

  .disp {
    display: none;
  }

  h2 {
    font-size: 4.6rem;
  }

  h3 {
    font-size: 2.3rem;
  }

  .instructions {
    font-size: 1.47rem;
  }

  #oubli_form {
    margin-bottom: 2;
  }
}

@media screen and (max-width: 411px) {
  h2 {
    font-size: 2.3rem;
  }
}

@media screen and (min-width: 600px) {


  #page {
    padding: 2rem 0;
    background-size: cover;
    overflow: hidden;
    position: relative;
    /* background: none; */
  }

  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }

  .contenu {
    justify-content: center;
    min-height: 100%;
    flex: 0 0;
    margin: auto;
    width: 100%;
    background-image: none;

    padding: 2rem;
    position: relative;
    z-index: 1;

    max-width: 41.534rem;
  }

  .contenu .forme {
    position: relative;
    z-index: 1;
  }

  .bg {
    display: none;
  }

  .d-none {
    display: block;
  }

  .separateur {
    margin-left: 0;
  }

  header,
  footer {
    width: 100%;
  }

  .contenu header,
  .contenu main {
    max-width: 32rem;
  }
}

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

  /* #oubli_form {
    transform: translateX(38px);

  } */
}

@media screen and (min-width: 960px) {
  #page {
    background: url(../images/bg.jpg) no-repeat center center;
    min-height: 100%;
    display: flex;
    flex-direction: row;
    background-size: cover;
    padding: 0;
    overflow: hidden;
  }

  .contenu {
    width: 50%;
    flex: 1 1 50%;
    max-width: unset;
    margin: 0;
    /* background: #ffff; */
    box-shadow: none;
    border-radius: 0;
  }

  .bg {
    display: block;
    width: 50%;
    flex: 1 1 50%;
    height: initial;
  }

  .contenu header,
  .contenu main {
    max-width: 32rem;
  }
}

@media screen and (max-height: 767px) and (min-width: 1200px) {
  #page {
    padding: 2rem;
  }
}

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

  #page {
    background: url(../images/bg.jpg) no-repeat left center;
    background-size: cover;
  }

  .bg {
    width: 60%;
    flex: 1 1 60%;
  }

  .contenu {
    width: 50%;
    flex: 1 1 30%;
    position: relative;
    z-index: 1;
    background: none;
    min-width: 41.534rem;
    margin: auto;
  }

  .sous-div {
    margin-left: 2.5rem;
  }

  .contenu header,
  .contenu main {
    max-width: 32rem;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
  .contenu header {
    max-width: 37rem !important;
    margin-left: 14%;
  }
  .contenu header,
  .contenu main {
    max-width: 28rem;
  }

  .instructions {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 4.5rem;
  }

  h3 {
    font-size: 2.82rem;
  }

  .separateur {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) and (max-height: 820px) {
  html {
    font-size: 12px;
  }

  #oubli_form {
    text-align: right;
    transform: translateX(38px);
    margin-bottom: 3.5rem;
  }
}

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

/* @media screen and (min-width: 1900px) {
  html {
    font-size: 14px;
  }
} */

@media all and (-ms-high-contrast: none) and (max-width: 961px),
  (-ms-high-contrast: active) and (max-width: 961px) {
  #particles-js {
    display: none;
  }
  #page {
    background: #fff;
    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 {
    min-height: 100vh;
  }
}

input:focus::placeholder {
  opacity: 0;
}
