@charset "UTF-8";

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

* {
    box-sizing: inherit;
}

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

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

a {
    text-decoration: none;
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

/* Autofill styles */
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: #ffffff !important;
}

/* Placeholder styles */
::placeholder {
    color: #ffffff !important;
    text-transform: uppercase;
    opacity: 1 !important;
}

/* Reset default input backgrounds */
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: none !important;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

#page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    background: url(../images/bg.jpg) no-repeat 30% center;
    background-size: cover;
    padding: 2rem 0;
}

.contenu {
    width: 100%;
    flex: 1 1 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.contenu-bg {
    width: 90%;
    margin: 0 auto;
    padding: 4.3rem 5.3rem;
    position: relative;
    background-color: transparent;
    border: 1px solid #ffffff;
    backdrop-filter: blur(33px);
}

.contenu-bg::after {
    content: "";
    position: absolute;
    top: -2.5px;
    left: -2.5px;
    bottom: -2.5px;
    right: -2.5px;
    background: transparent;
    border: 5px solid #ffffff;
    filter: blur(5px);
    opacity: 0.4;
    pointer-events: none;
}

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

header,
footer,
main {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    max-width: 39.87rem;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h2 {
    font-family: "Roboto Condensed", "Arial", sans-serif;
    margin: 0;
    color: #ffffff;
    font-size: 7rem;
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}

h3 {
    font-family: "Roboto Condensed", "Arial", sans-serif;
    margin: 0 0 2rem;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 300;
    font-style: normal;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}

.instructions {
    color: #ffffff;
    font-size: 1.866rem;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 1.7rem;
    word-spacing: 1px;
    font-family: "Roboto Condensed", "Arial", sans-serif;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.035em;
}

.instructions .color {
    font-weight: 500;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Logo */
#logo {
    width: 90%;
    min-width: 100px;
    margin: 0 auto 3.5rem;
    text-align: center;
    max-width: 20rem;
}

#logo img {
    max-width: 100%;
    height: auto;
    border: 0;
    position: relative;
    z-index: 2;
}

/* Form Fields */
#fields {
    box-sizing: border-box;
    margin: 0 auto;
    width: 90%;
}

#fields .field {
    position: relative;
    margin: 0;
    border-radius: 0;
    height: 5.9rem;
    border: 1px solid #ffffff;
}

#fields .field:not(:last-child) {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #ffffff;
}

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

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

#fields label:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 21px;
    right: 0;
}

#fields input[type="email"],
#fields input[type="text"],
#fields input[type="password"] {
    font-size: 1.2rem !important;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-family: "Maven Pro", "Arial", sans-serif !important;
    color: #ffffff !important;
    position: absolute;
    z-index: 1;
    bottom: 0px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    height: 100% !important;
    border-bottom: none;
    padding: 0 3rem;
}

#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"] + span.label,
#fields input[type="text"] + span.label,
#fields input[type="password"] + span.label {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-family: "Maven Pro", "Arial", sans-serif !important;
    position: absolute;
    text-align: center;
    left: 4.8rem;
    top: 50%;
    margin-left: 3px;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    transform-origin: left center;
    z-index: 0;
    padding: 0 1rem;
}

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

/* Buttons */
.button_form {
    height: 4.9rem;
    width: 18.6rem;
    font-family: "Maven Pro", "Arial", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.3rem;
    color: #000000;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    margin: 1.7rem auto 0;
    text-transform: uppercase;
}

.button_form:hover {
    background: #b34c47;
    color: #ffffff;
}

.button_form .arrow {
    margin-left: 17px;
}

.dbl_btn {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}

/* Password Recovery Link */
#oubli_form {
    text-align: right;
    font-size: 1rem;
    position: relative;
    width: 90%;
    margin: 1.1rem auto 0;
    font-weight: 300;
    letter-spacing: -0.035em;
}

#oubli_form a {
    font-family: "Roboto Condensed", "Arial", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    z-index: 2;
    letter-spacing: 0.02rem;
    padding-left: 10px;
    transition: all 0.2s ease-in-out;
}

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

/* Modal */
#modalRecupId {
    display: none;
    width: 600px;
}

#modalRecupId .modal-content {
    padding: 0;
}

#modalRecupId iframe {
    border: none;
    width: 100%;
    height: 280px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.nowrap {
    white-space: nowrap;
}

.small-only {
    display: block;
}

.display {
    display: none;
}

div.hr {
    margin: 1.33rem 0;
}

.separateur {
    width: 17.847rem;
    margin: 1.2rem auto;
    height: 2px;
    border: none;
    border-radius: 0px;
    background: #b69332;
}

.separateur:not(:first-of-type) {
    margin: 1.2rem auto 2.5rem;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

/* Mobile Small (< 600px) */
@media screen and (max-width: 599px) {
    html {
        font-size: 9px;
    }
}

/* Tablet (600px - 959px) */
@media screen and (min-width: 600px) {
    html {
        font-size: 10px;
    }

    #page {
        padding: 2rem 0;
        background: url(../images/bg.jpg) no-repeat 60% center;
        background-size: cover;
    }

    .contenu-bg {
        width: 100%;
    }

    .small-only {
        display: none;
    }

    div.hr {
        margin: 30px 0;
    }

    .contenu {
        justify-content: center;
        height: 75%;
        flex: 0 0;
        margin: auto;
        max-width: 44.693rem;
        width: 100%;
        padding: 3rem 0;
        font-size: 1rem;
    }

    .bg {
        display: none;
    }

    header,
    main,
    footer {
        width: 100%;
        max-width: 35.77rem;
    }

    h2 {
        font-size: 7em;
    }

    h3 {
        font-size: 2.15em;
    }
}

/* Desktop (960px+) */
@media screen and (min-width: 960px) {
    html {
        font-size: 11px;
    }

    #page {
        min-height: 100%;
        display: flex;
        flex-direction: row;
        padding: 0;
    }

    .display {
        display: block;
    }

    .contenu {
        width: 50%;
        flex: 1 1 50%;
        height: initial;
        margin: 0;
        box-shadow: none;
        min-width: 48rem;
        max-width: unset;
        border-radius: unset;
    }


    .contenu-bg {
        max-width: 46.9rem;
        width: 100%;
        margin: 0 auto;
        padding: 4.3rem 5.3rem;
        box-shadow: 0px 0px 82px -8px rgb(0 0 0 / 0%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .bg {
        background: transparent;
        order: 1;
        padding-top: 37%;
        display: block;
        width: 50%;
        flex: 1 1 50%;
        height: initial;
        position: relative;
        overflow: hidden;
    }

    #logo {
        width: 100%;
    }
}

/* Large Desktop (1200px+) */
@media screen and (min-width: 1200px) {
    html {
        font-size: 12px;
    }

    .contenu {
        flex: 1 1 68%;
        background: transparent;
    }

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

    .display {
        display: block;
    }

    header,
    main,
    footer {
        width: 100%;
    }

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

    footer {
        margin-top: 6.6rem;
    }
}

/* Extra Large Desktop (1600px+) */
@media screen and (min-width: 1600px) {
    html {
        font-size: 13px;
    }

    #fields input[type="email"],
    #fields input[type="text"],
    #fields input[type="password"] {
        bottom: -1px;
    }
}

/* Height adjustments */
@media screen and (min-width: 1600px) and (max-height: 945px) {
    html {
        font-size: 12px;
    }
}

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

/* IE11 Fallbacks */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #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;
    }

    .contenu,
    .bg {
        min-height: 100vh;
    }

    .bg .illu_1,
    .bg .illu_2 {
        opacity: 0.65;
    }
}

/* Browser support fallbacks */
@supports not (mix-blend-mode: multiply) {
    .bg .illu_1,
    .bg .illu_2 {
        opacity: 0.65;
    }
}