@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: 'Poppins', 'Arial', sans-serif;
}

.inner_contenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 51rem;
    height: 80%;
    margin: 0 auto 0 8rem;
}

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 #1e1e1e inset !important;
    -webkit-text-fill-color: #878787 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: #878787 !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-reverse;
    font-size: 1.2rem;
}

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

#particles-js {
    -webkit-transform: rotate(19deg) translate(-29%, -50%);
    transform: rotate(19deg) translate(-29%, -50%);
    mix-blend-mode: overlay;
}

.small-only {
    display: block;
}

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

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

.bloc_bg {
    width: 90%;
    margin: 0 auto;
}

div.hr {
    margin: 1.33rem 0;
}

#logo {
    width: 100%;
    min-width: 100px;
    max-width: 100%;
    margin: 1.75rem 0 3rem;
    text-align: left;
}

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

h2 {
    font-family: 'Arboria', 'Arial', sans-serif;
    margin: 0;
    color: #1e1e1e;
    font-size: 4.9rem;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    text-align: left;
    line-height: 1.2;
}

/* h2 span {
  color: rgb(175, 128, 40);
} */

h3 {
    font-family: 'Helvetica LT Std', 'Arial', sans-serif;
    margin: 0;
    color: #1e1e1e;
    font-size: 2.373rem;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    line-height: 1.1;
    text-align: left;
    align-items: center;
}

/* h3 span {
  color: rgb(16, 170, 223);
} */

.instructions {
    font-family: 'Helvetica LT Std', 'Arial', sans-serif;
    color: #1e1e1e;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    margin-top: 1.25rem;
    margin-bottom: 3rem;
    width: 100%;
    text-align: left;
}

.instructions span.bold {
    font-weight: bold;
    color: #44bdcf;
}

br.display {
    display: none;
}

#fields {
    box-sizing: border-box;
    border: 1px solid #44bdd0;
    border-radius: 5px;
}

#fields .field {
    position: relative;
    /* background-color: rgba(255, 255, 255, 0.85); */
    margin: 0;
    height: 7.2rem;
    max-width: 100%;
}

#fields .field:not(:last-child) {
    border-bottom: 1px solid rgb(196, 196, 196);
}
/* #fields .field:not(:last-child)::before{
  content: "Identifiant";
  font-family: "Avenir Next LT Pro", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -17px;
  font-size: 4.5rem;
  left: 0;   
  letter-spacing: 0.2rem;
  color: rgb(233, 233, 233);
}
#fields .field::before{
  content: "Mot de passe";
  font-family: "Avenir Next LT Pro", "Arial", sans-serif !important;
  font-weight: bold;
  position: absolute;
  top: -8.5px;
  font-size: 3.8rem;
  left: 0;   
  letter-spacing: 0.2rem;
  color: rgb(233, 233, 233);
}
#fields .field.changed::before{
  content:"";
} */

#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: 25px; */
}

#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: 25px; */
}

#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: 25px; */
}

#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: 25px; */
}

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

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

/* #fields label:after{
  content: '';
  position: absolute;
  width: 1.4rem;
  height: 1px;
  margin: 0px;
  background-color: black;
  left: 2rem;
  top: 3rem;
  transform: rotate(90deg);
} */

#fields input::placeholder {
    color: #878787;
    font-weight: normal;
}
#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.5rem !important;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-family: 'Helvetica LT Std', 'Arial', sans-serif !important;
    color: #878787 !important;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 7rem;
    width: calc(100% - 7rem);
    height: 100% !important;
    border-bottom: 0;
    box-sizing: border-box;
    padding: 2.45rem 2rem 0 1rem;
}

#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: #878787;
    box-shadow: none;
    outline: 0;
}
input:not([type]),
input[type='text']:not(.browser-default),
input[type='password']:not(.browser-default),
input[type='email']:not(.browser-default),
input[type='url']:not(.browser-default),
input[type='time']:not(.browser-default),
input[type='date']:not(.browser-default),
input[type='datetime']:not(.browser-default),
input[type='datetime-local']:not(.browser-default),
input[type='tel']:not(.browser-default),
input[type='number']:not(.browser-default),
input[type='search']:not(.browser-default),
textarea.materialize-textarea {
    background-color: transparent;
    border: none;

    border-radius: 0;
    outline: none;
    height: 3rem;
    width: 100%;
    font-size: 16px;
    margin: 0 0 8px 0;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-transition: border 0.3s, -webkit-box-shadow 0.3s;
    transition: border 0.3s, -webkit-box-shadow 0.3s;
    transition: box-shadow 0.3s, border 0.3s;
    transition: box-shadow 0.3s, border 0.3s, -webkit-box-shadow 0.3s;
}

#fields input[type='email'] + span.label,
#fields input[type='text'] + span.label,
#fields input[type='password'] + span.label {
    color: #1e1e1e !important;
    font-size: 1.7rem !important;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-family: 'Helvetica LT Std', 'Arial', sans-serif !important;
    position: absolute;
    text-align: center;
    left: 8rem;
    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% - 17px)) scale(0.95);
    transform: translateY(calc(-50% - 17px)) scale(0.95);
    /* padding-left: 6px; */
}

.oubli_form {
    height: fit-content;
    width: 50%;
    text-align: center;
    font-family: 'Helvetica LT Std', 'Arial', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-size: 1.4rem;
    position: relative;
    display: flex;
    justify-content: left;
    align-items: top;
    color: #1e1e1e;
    transition: all 0.3s;
}

.oubli_form span {
    position: relative;
    z-index: 2;
    text-decoration: none;
    border-bottom: 1px solid;
}

.oubli_form:hover {
    color: #4abdcf;
}

.button_form {
    height: 4.2rem;
    width: 47%;
    font-family: 'Helvetica LT Std', 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-size: 1.45rem;
    color: #fff;
    background-color: #4abdcf;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease-in-out;
    position: relative;
    letter-spacing: 0.1rem;
    border-radius: 7px;
    margin-left: 3%;
    -webkit-box-shadow: 0 12px 22px 12px rgba(0, 0, 0, 0.14);
    box-shadow: 0 12px 22px 12px rgba(0, 0, 0, 0.14);
    border-radius: 37px;
}

.button_form:hover {
    background-color: #1e1e1e;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.01);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.01);
}

.button_form .arrow {
    margin-left: 1.5rem;
    display: flex;
}
.button_form .arrow img {
    width: 80%;
    height: auto;
}
.button_form .arrow svg {
    fill: #fff;
    position: absolute;
    top: 0;
    left: 0;
}

.separateur {
    margin: 1.8rem 0;
}
header {
    position: relative;
}
main {
    position: relative;
}

.dbl_btn {
    display: flex;
    align-items: center;
    margin-top: 4rem;
}

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

    .inner_contenu {
        width: 95%;
        margin: 0 auto;
        padding: 2rem 1rem;
        height: auto;
        min-height: 80%;
    }

    .dbl_btn {
        width: 100%;
        flex-direction: column;
        margin-left: 0;
        /* gap: 2rem; */
    }

    .button_form {
        width: 100%;
        margin-left: 0;
        height: 6rem;
        font-size: 2.2rem;
    }

    .oubli_form {
        width: 100%;
        justify-content: center;
        margin-bottom: 0;
        font-size: 2rem;
    }

    .displ {
        display: none;
    }

    #logo {
        margin-top: 0;
    }

    h2 {
        font-size: 5rem;
    }

    h3 {
        font-size: 3.2rem;
    }

    .instructions {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }

    #fields {
        margin-bottom: 2rem;
    }

    #fields .field {
        height: 8rem;
    }

    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        font-size: 2rem !important;
        left: 6rem;
        width: calc(100% - 6rem);
        padding: 2rem 1rem 0 1rem;
    }

    #fields label {
        width: 6rem;
    }

    #fields label img {
        height: 3rem;
    }

    #fields input[type='email'] + span.label,
    #fields input[type='text'] + span.label,
    #fields input[type='password'] + span.label {
        left: 6.5rem;
        font-size: 2.2rem !important;
    }
}

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

    #logo img {
        max-width: 65%;
    }

    .oubli_form {
        margin-bottom: 2rem;
        width: 100%;
        justify-content: center;
        font-size: 1.9rem;
    }

    .inner_contenu {
        padding: 2rem 1rem;
    }

    #fields .field {
        height: 7.5rem;
    }

    h2 {
        font-size: 4.5rem;
    }

    h3 {
        font-size: 2.8rem;
    }

    .instructions {
        font-size: 2.2rem;
    }

    .button_form {
        height: 5.5rem;
        font-size: 2rem;
    }

    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        font-size: 1.8rem !important;
    }

    #fields input[type='email'] + span.label,
    #fields input[type='text'] + span.label,
    #fields input[type='password'] + span.label {
        font-size: 2rem !important;
    }
}

/* Landscape mode for mobile devices */
@media screen and (max-width: 959px) and (orientation: landscape) and (max-height: 500px) {
    html {
        font-size: 10px;
    }

    .inner_contenu {
        width: 80%;
        max-width: 50rem;
        margin: 1rem auto;
        padding: 1rem;
    }

    h2 {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    h3 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .instructions {
        font-size: 1.5rem;
        margin: 1rem 0 1.5rem 0;
    }

    #fields .field {
        height: 5.5rem;
    }

    .dbl_btn {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .button_form {
        height: 4.5rem;
        font-size: 1.5rem;
    }

    .oubli_form {
        font-size: 1.4rem;
    }
}

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

    .inner_contenu {
        width: 98%;
        padding: 1.5rem 0.5rem;
    }

    h2 {
        font-size: 4rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .instructions {
        font-size: 1.2rem;
        margin: 1.5rem 0 2rem 0;
    }

    #fields .field {
        height: 7rem;
    }

    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        font-size: 1.3rem !important;
        left: 5rem;
        width: calc(100% - 5rem);
    }

    #fields label {
        width: 5rem;
    }

    #fields label img {
        height: 2.8rem;
    }

    #fields input[type='email'] + span.label,
    #fields input[type='text'] + span.label,
    #fields input[type='password'] + span.label {
        left: 5.5rem;
        font-size: 1.2rem !important;
    }

    .button_form {
        height: 4rem;
        font-size: 1.5rem;
    }

    .oubli_form {
        font-size: 1.5rem;
    }
}

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

    .contenu {
        justify-content: center;
        padding: 0rem;
        margin: -2rem;
    }

    .inner_contenu {
        width: 90%;
        max-width: 45rem;
        margin: 0 auto;
        padding: 3rem 2rem;
        height: auto;
        min-height: 70%;
    }

    .dbl_btn {
        margin-bottom: 4.5rem;
        flex-direction: row;
        gap: 2rem;
        justify-content: space-between;
        align-items: center;
    }

    .button_form {
        width: 45%;
        height: 5.5rem;
        margin-left: 0;
        font-size: 1.8rem;
    }

    .oubli_form {
        width: 50%;
        justify-content: flex-start;
        font-size: 1.7rem;
    }

    h2 {
        font-size: 4.5rem;
    }

    h3 {
        font-size: 2.6rem;
        width: 100%;
    }

    .instructions {
        font-size: 1.64rem;
        margin: 2rem 0 3rem 0;
    }

    #fields .field {
        height: 7.5rem;
    }

    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        font-size: 1.8rem !important;
    }

    #fields input[type='email'] + span.label,
    #fields input[type='text'] + span.label,
    #fields input[type='password'] + span.label {
        font-size: 2rem !important;
    }
}

@media screen and (min-width: 600px) {
    .theme_1 {
        background: url(../images/bg.jpg) no-repeat left center;
    }

    br.display {
        display: block;
    }
    #page {
        padding: 4rem 0;
    }

    .small-only {
        display: none;
    }
    div.hr {
        margin: 30px 0;
    }
    .contenu {
        width: 100%;
        z-index: 2;
    }
    .inner_contenu {
        background-color: #fff;
        /* -webkit-box-shadow: 0 0 30px 15px rgb(1 1 1 / 15%);
    box-shadow: 0 0 30px 15px rgb(1 1 1 / 15%); */
        max-width: 100%;
        /* border-radius: 20px; */
        width: 51rem;
        height: 80%;
        margin: 0 auto 0 8rem;
    }
    .bg {
        display: none;
    }
    .bloc_bg {
        width: 100%;
        max-width: 38rem;
        padding: 0;
        margin-left: 6rem;
    }
    .bloc_bg:last-of-type {
        padding: 0;
    }

    header,
    main {
        max-width: 38rem;
        margin: auto;
    }
}

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

@media screen and (min-width: 960px) {
    html {
        font-size: 10px;
    }
    #page {
        min-height: 100%;
        display: flex;
        flex-direction: row;
    }

    .contenu {
        width: 80%;
        flex: 1 1 80%;
    }
    .bg {
        display: block;
        width: 20%;
        flex: 1 1 20%;
        order: 1;
        background: transparent;
        height: initial;
        position: relative;
        overflow: hidden;
    }
}

@media screen and (min-width: 1200px) {
    html {
        font-size: 10px;
    }
    #page {
        background-size: cover;
        background-position: left center;
    }
    .contenu {
        width: 50%;
        flex: 1 1 50%;
    }
    .bg {
        width: 50%;
        flex: 1 1 50%;
    }
    .bloc_bg {
        background: none;
        position: relative;
    }
    h3 {
        width: 120%;
        font-size: 2.02rem;
    }
}

@media screen and (min-width: 1600px) {
    html {
        font-size: 11.5px;
    }
    .contenu {
        width: 42%;
        flex: 1 1 42%;
    }
    .bg {
        width: 58%;
        flex: 1 1 58%;
    }
}
@media screen and (min-width: 960px) and (max-height: 940px) {
    main::after {
        content: none;
        display: none;
    }
}

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

@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 (min-width: 2300px) {
    html {
        font-size: 18px;
    }
}

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