@charset "UTF-8";

* {
    box-sizing: inherit;
}

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

body {
    height: 100%;
    margin: 0;
    background-color: #030303;
    color: #000;
    font-size: 1.2rem;
    font-family: "Inter", 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, 0) inset !important;
    -webkit-text-fill-color: #616161 !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: #616161 !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%;
    font-size: 1.2rem;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 8vw auto 8vw;
    grid-template-rows: 1fr auto 1fr;
    padding: 0 !important;
    overflow: hidden;
}

.small-only {
    display: block;
}

.contenu {
    grid-area: 2 / 2  / 3 / 3;
    width: 100%;
    height: 100% !important;
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    background: #ffffff1a;
    padding: 2rem;
}

.contenu-bg {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#page > .color {
    background: #4074ef;
    -webkit-border-radius: 0 0 1.5rem 0;
    -moz-border-radius: 0 0 1.5rem 0;
    border-radius: 0 0 1.5rem 0;
}

/*#page > .white {*/
/*  background: white;*/
/*}*/

/*#page > .img {*/
/*  background: rgba(255, 0, 0, 0.21);*/
/*}*/

#page > .images {
    grid-area: 1 / 3  / 4 / 4;
    /*-webkit-background-size: cover;*/
    /*background-size: cover;*/
    /*background: url(../images/illustration.png) no-repeat left center;*/
    gap: 2rem;
    grid-template-columns: 5.9rem 1fr 1.2rem;
    grid-template-rows: 0 14vh 0.68fr 4.6vh 0.5fr 1vh 0;
    z-index: 3;
    display: none;

    > * {
        width: 100%;
        height: 100%;
        position: relative;
    }
}

.img-1 {
    grid-area: 2 / 2  / 4 / 3;
    background: url(../images/img-1.png) no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 1.5rem;
    /*max-height: max(30rem, 40vh);*/
    margin: auto;
    margin-left: 0;
    max-width: 90%;

}

.img-1::before {
    content: "";
    position: absolute;
    top: -3rem;
    right: -10rem;
    width: 20rem;
    height: 20rem;
    background: rgb(23, 201, 138);
    border-radius: 1.5rem;
    z-index: -1;
}


.img-2 {
    display: none;
    grid-area: 3 / 3 / 5 / 4;
    background: url(../images/img-2.png) no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 1.5rem;
    /*z-index: 2;*/
    position: relative;
}

.img-2::before {
    content: "";
    position: absolute;
    top: -38%;
    right: -10rem;
    width: 20rem;
    height: 33rem;
    background: rgb(23, 201, 138);
    border-radius: 1.5rem;
    z-index: -1;
}

.img-3 {
    grid-area: 4 / 2 / 6 / 3;
    background: url(../images/img-3.png) no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 1.5rem;
    width: 94% !important;
    height: 112.1% !important;
    margin: 0 0 0 auto;
    position: relative;
    /*z-index: 2;*/
}

.img-3::before {
    content: "";
    position: absolute;
    top: 12%;
    left: -8.5rem;
    width: 22rem;
    height: 22rem;
    background: rgb(23, 201, 138);
    border-radius: 1.5rem;
    z-index: -1;
}

.img-4 {
    display: none;
    grid-area: 5 / 3 / 7 / 4;
    background: url(../images/img-4.png) no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 1.5rem;
    width: 85% !important;
    height: 107% !important;
    /*z-index: 2;*/
    position: relative;
}

.img-4::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -7.5rem;
    width: 13rem;
    height: 22rem;
    background: rgb(51, 108, 240);
    border-radius: 1.5rem;
    z-index: -1;
}

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

.bloc_bg {
    width: 90%;
    margin: 0 auto;
    background-color: #030303;
}

div.hr {
    margin: 1.33rem 0;
}

#logo {
    width: 100%;
    max-width: 100%;
    min-width: 100px;
    margin: 2.8rem 0rem 2.6rem;
}

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

h2 {
    font-family: "Poppins", "Arial", sans-serif;
    margin: 0;
    color: #346cee;
    font-size: 4.98rem;
    font-weight: bold;
    font-style: normal;
    text-align: left;
    letter-spacing: -1px;
    line-height: 0.9em;
}

h3 {
    font-family: "Poppins", "Arial", sans-serif;
    margin: 0;
    color: #1d1d1b;
    font-size: 2.18rem;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    text-align: left;
    letter-spacing: 0.03rem;
}

.instructions {
    font-family: "Inter", "Arial", sans-serif;
    color: #1d1d1b;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 300;
    margin-bottom: 1.7rem;
    width: 100%;
    text-align: left;
    /*letter-spacing: 1px;*/
    /*word-spacing: -4px;*/
    margin-top: 3.3rem;
}

#fields {
    box-sizing: border-box;
    max-width: 100%;
    margin: auto;
    border: 2px solid grey;
    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

#fields .field {
    background-color: transparent;
    margin: 0;
    height: 5.8rem;
    display: flex;
    align-items: center;
}

#fields .field:not(:last-child) {
    border-bottom: 2px solid grey;
}

#fields .field.changed::before {
    content: "";
}

#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: 0px;
}

#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: 0px;
}

#fields label {
    width: 5.2rem;
    height: 100%;
    text-align: center;
    margin-left: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

#fields label#password_label img {
    width: 1.7rem;
}

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

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
    font-size: 1.2rem !important;
    font-weight: normal;
    font-style: normal;
    font-family: "Inter", "Arial", sans-serif;
    color: #616161 !important;
    z-index: 1;
    width: calc(100% - 5rem);
    height: 100% !important;
    border: 0;
    background: transparent;
    box-sizing: border-box;
    margin-bottom: 0;
    padding-left: 1rem;
    padding-right: 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: #ca4c1c;
    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;
}

#oubli_form {
    text-align: right;
    font-family: "Inter", "Arial", sans-serif;
    font-weight: normal;
    font-size: 1.05rem;
    position: relative;
    margin-top: 0.45rem;
    margin-bottom: 2.25rem;
}

#oubli_form a {
    color: #8e8e8d;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

#oubli_form a:hover {
    color: #00ce83;
}

.button_form {
    height: 4.8rem;
    width: 50%;
    font-family: "Inter", "Arial", sans-serif;
    font-style: normal;
    letter-spacing: -1px;
    font-display: swap;
    font-size: 1.4rem;
    color: #ffffff;
    background-color: #356cef;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0;
    border-radius: 0.8rem;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    padding-top: 0.4rem;
    background-size: 200% 100%;
    moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.hexa_btn {
    display: none;
}

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

.button_form:hover,
.button_form:focus {
    background: #00ce83;
}


header, main {
    position: relative;
    width: 100%;
    max-width: 37rem;
}

main {
    position: relative;
}

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

    #page {
        grid-template-columns: 0 auto 0;
        grid-template-rows: 0 auto  0
    }

    h2 {
        font-size: 3.58rem;
    }

    .instructions {
        word-spacing: 0;
    }

    .hide_br {
        display: none;
    }
}

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

    #fields {
        margin: 0;
    }

    #page {
        padding: 2rem 0;
    }

    .small-only {
        display: none;
    }

    div.hr {
        margin: 30px 0;
    }

    .contenu {
        justify-content: center;
        height: auto;
        flex: 0 0;
        margin: auto;
        width: auto;
        max-width: 55rem;
        z-index: 2;
    }

    .bg {
        display: none;
    }

    .bloc_bg {
        width: 100%;
        max-width: 41.985rem;
    }

    .bloc_bg {
        width: 100%;
        padding: 0 6rem 2rem;
    }

    #fields .field:not(:last-child)::before {
        top: -36px;
        font-size: 5.4rem;
    }

    #fields .field::before {
        top: -26px;
        font-size: 4.68rem;
    }



    .img-3::before {
        left: -3.5rem;
    }
}

@media screen and (min-width: 800px) {
    #page {
        grid-template-columns: 8vw auto 1fr;
    }
    #page > .images {
        display: grid;
        gap: 2rem;
        grid-template-columns: 1rem 1.03fr 0;
        grid-template-rows: 0 14vh 0.68fr 4.6vh 0.5fr 1vh 0;
    }
}
@media screen and (min-width: 1200px) {
    html {
        font-size: 12px;
    }

    .hide_br {
        display: none;
    }

    .contenu {
        width: 65%;
        max-width: 50rem;
        min-width: 30.4vw;
        /* min-height: 73vh; */
        padding: 1rem;
    }

    header .hr {
        margin: 3rem 0 2.87rem;
    }

    footer {
        margin-top: 6.6rem;
    }

    .valid {
        position: absolute;
        transform: translateX(7.5%);
    }

    #page > .images {
        gap: 2rem;
        grid-template-columns: 5.9rem 1.03fr 0.9fr 5.2rem;
        grid-template-rows: 0 14vh 0.68fr 4.6vh 0.5fr 1vh 0;
    }


    .img-1 {
        grid-area: 2 / 2  / 4 / 3;
        background: url(../images/img-1.png) no-repeat;
        background-size: cover;
        background-position: center center;
        border-radius: 1.5rem;
        position: relative;
        max-width: 100%;
    }

    .img-1::before {
        display: none;
    }


    .img-2 {
        display: block;
        grid-area: 3 / 3 / 5 / 4;
        background: url(../images/img-2.png) no-repeat;
        background-size: cover;
        background-position: center center;
        border-radius: 1.5rem;
        /*z-index: 2;*/
        position: relative;
    }

    .img-2::before {
        content: "";
        position: absolute;
        top: -38%;
        right: -10rem;
        width: 20rem;
        height: 33rem;
        background: rgb(23, 201, 138);
        border-radius: 1.5rem;
        z-index: -1;
    }

    .img-3 {
        grid-area: 4 / 2 / 6 / 3;
        background: url(../images/img-3.png) no-repeat;
        background-size: cover;
        background-position: center center;
        border-radius: 1.5rem;
        width: 94%;
        height: 112.1%;
        margin: 0 0 0 auto;
        position: relative;
        /*z-index: 2;*/
    }

    .img-3::before {
        content: "";
        position: absolute;
        top: 12%;
        left: -8.5rem;
        width: 22rem;
        height: 22rem;
        background: rgb(23, 201, 138);
        border-radius: 1.5rem;
        z-index: -1;
    }

    .img-4 {
        display: block;
        grid-area: 5 / 3 / 7 / 4;
        background: url(../images/img-4.png) no-repeat;
        background-size: cover;
        background-position: center center;
        border-radius: 1.5rem;
        width: 85%;
        height: 107%;
        /*z-index: 2;*/
        position: relative;
    }

    .img-4::before {
        content: "";
        position: absolute;
        top: 50%;
        right: -7.5rem;
        width: 13rem;
        height: 22rem;
        background: rgb(51, 108, 240);
        border-radius: 1.5rem;
        z-index: -1;
    }

    
}

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

    #oubli_form {
        margin-bottom: 2.3rem;
    }
}

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