@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 rgba(255, 255, 255, 1) inset !important;
  -webkit-text-fill-color: #707070 !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !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 {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  background: url(../images/bg.jpg) no-repeat center center;
  background-size: cover;
}

#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 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: center;
  padding-bottom: 10rem;
  box-sizing: border-box;
}

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

header, footer, main {
  width: 73%;
  margin: 0 auto;
}

div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  max-width: 25.4rem;
  min-width: 100px;
}

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

h2 {
  margin: 0;
  color: #030304;
  font-size: 5.463rem;
  line-height: 1;
  font-family: 'Playfair Display', sans-serif;
  margin-top: 5.363rem;
  letter-spacing: 3px;
}

h3 {
  margin: 0;
  color: #030304;
  font-size: 2.727rem;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}


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

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

.coord{
  font-size: 1.23rem;
}

.instructions {
  color: #030304;
  font-size: 1.727rem;
  line-height: 1.2;
  font-weight: 300;
  margin-top: 2.517rem;
  margin-bottom: 3.5rem;
  font-family: "PT Serif", "Arial", sans-serif;
  word-spacing: 3.65px;
}

#fields {
  box-sizing: border-box;
  max-width: 34rem;
}

#fields .field {
  position: relative;
  background-color: transparent;
  margin: 0;
  height: 4.545rem;
  border-radius: 5px;
  width: 100%;
  border-bottom: 1px solid #d2d8e7;
}


#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 label {
  position: absolute;
  top: 0;
  left: 0;
  width: 7.545rem;
  height: 100%;
  text-align: center;
/*  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: 70%;
  border-right: 1px solid #d4dae8;
}

#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: "PT Serif", "Arial", sans-serif !important;
  color: #030304 !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: "PT Serif", sans-serif;
  font-weight: normal;
  color: #9ea4b2;
  position: relative;
  margin-top: 1.633rem;
  max-width: 36.33rem;
}

#oubli_form a {
  color: unset;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
  width: 50%;
  text-align: left;
  font-size: 1.455rem;
}

#oubli_form a .color {
  color: #9ea4b2;
  font-weight: bold;
  transition: all 0.3s;
}

#oubli_form a:hover .color {
  color: #030304;
}

.button_form {
  height: 4.818rem;
  width: 100%;
  font-family: "PT Serif", sans-serif;
  font-size: 1.818rem;
  color: #fff;
  background-color: #f1be21;
  max-width: 17.091rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  box-sizing: border-box;
  font-weight: bold;
}

.button_form:hover {
  background-color: #030303;
}

.button_form .arrow-right{
  display: block;
  margin: 30px auto;
  width: 20px;
  height: 20px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  position: absolute;
  top: -9px;
  right: 28px;
  transform: rotate(135deg);
}

#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: 50%;
    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: 45.3%;
    flex: 1 1 45.3%;
  }
  .bg {
    width: 54.7%;
    flex: 1 1 54.7%;
  }
  header, main, footer {

  }
  .main{
    max-width: 432px;
  }
  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 {
  }
  
  #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 {
    background: url(../images/bg.jpg) no-repeat left center;
  }
}

@media screen and (max-width: 1280px) {
  html{
    font-size: 10px;
  }
  .contenu{
    padding-bottom: 2rem;
  }
  header, footer, main{
    width: 54%;
  }
}

@media screen and (max-width: 960px) {
  #page {
    background: url(../images/bg.jpg) no-repeat right center;
  }
  header, footer, main{
    width: 80%;
  }
  h2{
    margin-top: 2rem;
  }
}

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

@media screen and (max-width: 630px) {
  .contenu{
    width: 100%;
  }
  h2{
    font-size: 3.463rem; 
  }
  h3{
    font-size: 2.527rem;
  }
}

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

@media screen and (max-height: 830px) {
  #logo{
    max-width: 170px;
  }
  html{
    font-size: 10px;
  }
 h2{

  }
  h3{
    
  }
  
}

@media screen and (max-height: 730px) {
  #logo{
    max-width: 150px;
    margin-bottom: 0;
  }
  h2{
    margin-top: 1.083rem;
  }
}

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

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

  }
  h3{
    
  }
}