@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;
}

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: #ffffff !important;
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: #ffffff !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;
}

.container-images {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

.container-images .container-images-one {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
}

.container-images .container-images-one .image-one-one {
    background: url(../images/image-gauche-one.webp) no-repeat center center;
    background-size: contain;
    background-position: 0% 100%;
    width: 44%;
    height: 51%;
    position: absolute;
    top: 0;
}

.container-images .container-images-one .image-one-two {
    background: url(../images/image-gauche-two.webp) no-repeat center center;
    background-size: contain;
    background-position: 0% 100%;
    width: 69%;
    height: 54%;
    position: absolute;
    top: 36rem;
}

.container-images .container-images-two {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
}

.container-images .container-images-two .image-two-one {
    background: url(../images/image-droite-one.webp) no-repeat center center;
    background-size: contain;
    background-position: 50% 100%;
    z-index: 1;
    background-position: 100% 0%;
    width: 44%;
    height: 51%;
    position: absolute;
    top: 5rem;
    right: 0;
}

.container-images .container-images-two .image-two-two {
    background: url(../images/image-droite-two.webp) no-repeat center center;
    background-size: contain;
    background-position: 50% 100%;
    z-index: 1;
    background-position: 100% 0%;
    width: 69%;
    height: 55%;
    position: absolute;
    top: 37rem;
    right: 0;
}

.container-logo {
    padding-left: 9rem;
}

.container-login {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.container-login div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 295px;
    background-color: #101c4f7d;
    border-radius: 10px;
}

.bg-two {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url(../images/bg-2.webp) no-repeat center center;
    background-size: contain;
    background-position: 50% 100%;
    z-index: 1;
}

#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%;
    height: 100% !important;
    background-color: transparent;
    flex: 1 1 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
}

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

div.hr {
    margin: 1.33rem 0;
}

h2 {
    font-family: 'Code Pro Bold', 'Arial', sans-serif;
    margin: 0;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    text-transform: uppercase;
    text-align: center;
    align-items: center;
    line-height: 1.2;
}

.h2-span-one {
    color: #ffc54e;
}

.h2-span-two {
    color: #42fff2;
}

.instructions {
    font-family: 'Inter 18pt', 'Arial', sans-serif;
    color: #ffffff;
    font-size: 1.78rem;
    line-height: 1.2;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    margin-bottom: 3rem;
    width: 100%;
    text-align: center;
    align-items: center;
    text-shadow: -1px 0px 20px black;
}

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

br.display {
    display: none;
}

.toppage {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.container-savoirplus {
    width: 186px;
    height: 37px;
    background-color: #f84378;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10rem;
}

.container-savoirplus a {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Inter 18pt', 'Arial', sans-serif;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

#fields .field {
    position: relative;
    height: 4rem;
}

#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.5rem;
    width: auto;
}

#fields input[type='email'],
#fields input[type='text'],
#fields input[type='password'] {
    font-size: 1.4rem !important;
    font-weight: 500;
    font-style: italic;
    font-display: swap;
    font-family: 'Inter 18pt', 'Arial', sans-serif !important;
    color: #ffffff !important;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 4rem;
    width: calc(100% - 4rem);
    border-bottom: 0;
    height: 100% !important;
    box-sizing: border-box;
    margin-bottom: 0;
    caret-color: #ffffff;
    padding: 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: #ffffff;
    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: #ffffff;
}

#fields input[type='email'] + span.label,
#fields input[type='text'] + span.label,
#fields input[type='password'] + span.label {
    color: #ffffff !important;
    font-size: 1.4rem !important;
    font-weight: bold;
    font-weight: 500;
    font-style: italic;
    font-display: swap;
    font-family: 'Inter 18pt', 'Arial', sans-serif !important;
    position: absolute;
    text-align: center;
    left: 5rem;
    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 {
    display: none;
}

#fields input::placeholder {
    color: #878787;
    font-weight: 600;
}

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 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    order: 1;
}

#oubli_form a {
    margin-left: 7rem;
    margin-top: 0.5rem;
    font-family: 'Arial', sans-serif;
    color: #fff;
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    font-size: 1.2rem;
    transition: all 0.3s ease-in-out;
    position: relative;
    text-decoration: none;
    letter-spacing: 0.05rem;
    border-bottom: 1px solid;
    transition: all ease-in-out 0.3s;
    width: fit-content;
    text-shadow: 7px 0px 13px black;
}

#oubli_form a:hover {
    color: #f84378;
}

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

.button_form {
    height: 3.8rem;
    width: calc(100% - 1rem);
    font-family: 'Inter 18pt', 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-size: 1.4rem;
    color: #ffffff;
    background-color: #f84378;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    border-radius: 15.5px;
    transition: all 0.3s ease-in-out;
    position: relative;
    letter-spacing: 0.1rem;
}

.button_form:hover {
    background-color: #101c4f;
    color: #ffffff;
}

.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;
    text-align: center;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dbl_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 22rem;
    margin-top: 3rem;
}

@media screen and (max-width: 599px) {
    .dbl_btn {
        width: 100%;
        margin-left: 0;
    }
    .displ {
        display: none;
    }
}

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

@media screen and (min-width: 600px) {
    #page {
        background-size: cover;
        background-position: 50% 14%;
    }

    .theme_1 {
        background: url(../images/bg.webp) no-repeat center center;
    }

    br.display {
        display: block;
    }
    #fields {
        max-width: 100%;
    }
    #page {
        padding: 0;
    }

    .small-only {
        display: none;
    }
    div.hr {
        margin: 30px 0;
    }
    .contenu {
        justify-content: flex-start;
        height: 75%;
        flex: 0 0;
        margin: auto 0;
        width: 100%;
        z-index: 2;
    }
    .bloc_bg {
        width: 100%;
        padding: 0;
    }
    .bloc_bg:last-of-type {
        padding: 0;
    }

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

@media screen and (max-width: 850px) {
    .theme_1 {
        background: url(../images/bg.webp) no-repeat;
        background-position: 50% 14%;
        background-size: cover;
    }
    .contenu {
        margin: auto;
    }
}

/* Tablet Portrait & Landscape */
@media screen and (min-width: 768px) and (max-width: 959px) {
    .theme_1 {
        background: none;
        background-color: #124ca6;
        background-size: cover;
        background-position: 50% 14%;
    }

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

    .container-logo {
        padding-left: 2rem;
        text-align: center;
    }

    .container-logo img {
        max-width: 200px;
    }

    .container-savoirplus {
        margin-right: 2rem;
    }

    .toppage {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .container-images {
        display: none;
    }

    h2 {
        font-size: 2.5rem;
    }

    .instructions {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }

    #fields {
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    #fields .field {
        height: 4.5rem;
    }

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

    .button_form {
        height: 4.2rem;
        font-size: 1.3rem;
        max-width: 300px;
    }

    .dbl_btn {
        width: 100%;
        max-width: 300px;
        margin: 2rem auto;
    }
}

/* Mobile Landscape */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .theme_1 {
        background: url(../images/bg.webp) no-repeat center center;
        background-size: cover;
        background-position: 50% 14%;
    }

    .contenu {
        padding: 1rem 1.5rem;
        justify-content: flex-start;
        min-height: 100vh;
    }

    .toppage {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .container-logo {
        padding-left: 0;
    }

    .container-logo img {
        max-width: 120px;
    }

    .container-savoirplus {
        margin-right: 0;
        width: 140px;
        height: 32px;
    }

    .container-savoirplus a {
        font-size: 1rem;
    }

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

    .instructions {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    #fields .field {
        height: 4rem;
    }

    .dbl_btn {
        margin-top: 1rem;
        width: 100%;
    }

    .button_form {
        height: 3.5rem;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 601px) {
    .theme_1 {
        background: url(../images/bg.webp) no-repeat center center;
        background-size: cover;
        background-position: 50% 14%;
    }

    .contenu {
        /* padding: 2rem 1.5rem; */
        background-color: rgba(255, 255, 255, 0.2);
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 4rem;
    }

    .toppage {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .container-logo {
        padding-left: 0;
        text-align: center;
    }

    .container-logo img {
        max-width: 180px;
        height: auto;
    }

    .container-savoirplus {
        margin-right: 0;
        margin: 0 auto;
    }

    h2 {
        font-size: 2.4rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .instructions {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    #fields {
        margin-bottom: 2rem;
    }

    #fields .field {
        height: 5.5rem;
    }

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

    #fields label {
        width: 5rem;
    }

    #fields label img {
        height: 1.8rem;
    }

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

    .button_form {
        width: 100%;
        margin: 0;
        height: 4.5rem;
        font-size: 1.3rem;
    }

    .dbl_btn {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }

    #oubli_form {
        margin-top: 1.5rem;
    }

    #oubli_form a {
        margin-left: 0;
        display: block;
        text-align: center;
        margin: 0 auto;
    }
}

/* Mobile Portrait - Small screens */
@media screen and (max-width: 480px) {
    .theme_1 {
        background: url(../images/bg.webp) no-repeat center center;
        background-size: cover;
        background-position: 50% 14%;
    }

    /* .contenu {
        padding: 1.5rem 1rem;
        padding-top: 3rem;
    } */

    .container-logo img {
        max-width: 150px;
    }

    .container-savoirplus {
        width: 160px;
        height: 35px;
    }

    .container-savoirplus a {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .instructions {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    #fields .field {
        height: 5rem;
    }

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

    #fields label {
        width: 4.5rem;
    }

    #fields label img {
        height: 1.6rem;
    }

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

    .button_form {
        height: 4.2rem;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 501px) {
    .theme_1 {
        background: url(../images/bg.webp) no-repeat center center;
        background-size: cover;
        background-position: 50% 14%;
    }

    .contenu {
        background-color: #005eb8;
    }

    .container-images {
        display: none;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    .instructions {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 499px) {
    .theme_1 {
        background: url(../images/bg.webp) no-repeat center center;
        background-size: cover;
        background-position: 50% 14%;
    }

    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }

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

    #oubli_form a {
        margin-left: 0;
        font-size: 1.1rem;
    }

    #fields .field {
        height: 5rem;
    }

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

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

/* Very small screens */
@media screen and (max-width: 360px) {
    .theme_1 {
        background: url(../images/bg.webp) no-repeat center center;
        background-size: cover;
        background-position: 50% 14%;
    }

    .contenu {
        padding: 2rem 0.8rem;
        padding-top: 3rem;
    }

    .container-logo img {
        max-width: 130px;
    }

    .container-savoirplus {
        width: 140px;
        height: 32px;
    }

    .container-savoirplus a {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .instructions {
        font-size: 1.1rem;
    }

    #fields .field {
        height: 4.5rem;
    }

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

    #fields label {
        width: 4rem;
    }

    #fields label img {
        height: 1.4rem;
    }

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

    .button_form {
        height: 3.8rem;
        font-size: 1.1rem;
    }

    #oubli_form a {
        font-size: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .button_form {
        min-height: 44px;
    }

    #fields input[type='email'],
    #fields input[type='text'],
    #fields input[type='password'] {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    .container-savoirplus a {
        min-height: 44px;
    }
}

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