body.home {
    background: #fff !important;
}

#register-container {
    background-size: cover;
    background-position: 0 0;
    height: 100vh;
    min-height: 900px;
    min-width: 1000px;
}

#register-container::after {
    content: ' ';
    background-size: cover;
    width: 100%;
    height: 100vh;
    min-height: 900px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Formulaire d'inscription */
#register-form {
    width: 44%;
    height: 100vh;
    min-height: 900px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
}

#register-form-background {
    background: url(/static/img/home/register/background-form.png) no-repeat;
    background-size: cover;
    width: 44%;
    height: 100vh;
    min-height: 900px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

#register-form-inner {
    text-align: left;
    background-size: cover;
    width: 30vw;
    max-width: 380px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-30%) translateY(-50%) translateY(-40px); /* 40px = décalage à cause du logo de la saison */
    z-index: 3;
}

#register-logo {
    display: block;
    margin: 0 auto 18px;
}

#register-form-inner p.big {
    color: #646262;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 45px;
    font-weight: 800;
    line-height: 60px;
}

#register-form-inner p.link {
    color: #b7b1b1;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 24px;
}

#register-form-inner p.link a {
    color: #b7b1b1;
    text-decoration: none;
    transition: color ease-in-out 80ms;
}

#register-form-inner p.link a:hover {
    color: #3ef5d7;
}

/* Inputs du formulaire */
#register-inputs {
    margin-top: 30px;
}

#register-inputs label {
    display: block;
    color: #646262;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 25px;
    line-height: 25px;
    text-transform: lowercase;
}

#register-inputs input {
    display: block;
    border: none;
    border-bottom: 1px solid #646262;
    outline: none;
    width: 100%;
    height: 22px;
}

.form-error {
    margin-top: 8px;
    margin-bottom: 2px;
    color: #FD6565;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 16px;
    line-height: 16px;
    min-height: 34px;
}

#registration-error {
    text-align: center;
}

/* Checkboxes de validation du formulaire */
#register-checkboxes {
    margin-top: 2px;
    margin-bottom: 30px;
}

#register-checkboxes a {
    text-decoration: none;
    font-weight: bold;
}

#register-checkboxes input[type=checkbox] {
    height: 20px;
    width: 22px;
    vertical-align: middle;
}

#register-checkboxes label {
    line-height: 20px;
    color: #646262;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 16px;
    vertical-align: middle;
    cursor: pointer;
}

/* Checkboxes custom */
#register-checkboxes label {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#register-checkboxes input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#register-checkboxes .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 18px;
    border-radius: 4px;
    background-color: transparent;
    border: 2px solid #9A9A9A;
}

#register-checkboxes label:hover input ~ .checkmark {
    background-color: #ccc;
}

#register-checkboxes label input:checked ~ .checkmark {
    background-color: #39e5c5;
}

/* Bouton de validation du formulaire */
#register-form #register-btn.disabled {
    filter: grayscale(1);
    cursor: not-allowed;
}

#register-form .password-input-outer {
    position: relative;
}

#register-form .password-input-outer .password-helper {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 23px;
    height: 13px;
    background: url(/static/img/home/login/eye-close.png);
    cursor: pointer;
}

#register-form .password-input-outer .password-helper:hover,
#register-form .password-input-outer .password-helper.active {
    background: url(/static/img/home/login/eye-open.png);
}

/* Titre et présentation de la saison */
#season-description {
    width: 40%;
    position: absolute;
    top: 45%;
    left: 28%; /* la moitié des 56% restant car le formulaire fait 44% */
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}

#season-description h1 {
    background: none !important;
    color: #FFFFFF !important;
    font-family: "Alegreya Sans SC", sans-serif !important;
    font-size: 130px !important;
    line-height: 130px !important;
    font-weight: 900;
    text-align: center;
    display: inline-block !important;
    text-transform: none !important;
}

#season-description em {
    color: #FFFFFF;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 32px;
    font-weight: bold;
    line-height: 35px;
    text-align: center;
    font-style: normal;
    display: inline-block;
    margin-top: 38px;
    text-shadow: 0 5px 54px rgba(29, 47, 41, 0.93), 0 5px 54px rgba(29, 47, 41, 0.93), 0 5px 54px rgba(29, 47, 41, 0.93);
}

#season-description p {
    color: #FFFFFF;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 28px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
    font-style: normal;
    display: inline-block;
    margin-top: 20px;
    text-shadow: 0 5px 54px rgba(29, 47, 41, 0.93), 0 5px 54px rgba(29, 47, 41, 0.93);
}

#register-form input {
    background: none !important;
}

#register-form input:-webkit-autofill,
#register-form input:-webkit-autofill,
#register-form input:-webkit-autofill:hover,
#register-form input:-webkit-autofill:focus,
#register-form input:-webkit-autofill:active {
    background: none !important;
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

#facebook-registration-button {
    background: url(/static/img/home/fb-button-bg.png);
    background-size: cover;
    color: #fff;
    outline: none;
    border: none;
    width: 324px;
    height: 67px;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-left: -20px;
    margin-top: 14px;
    transition: font-weight ease-in-out 100ms;
}

#facebook-registration-button:hover {
    font-weight: 800;
}

#facebook-registration-button:hover .fb-icon::after {
    width: 26px;
    height: 26px;
    top: -6px;
    left: -3px;
}

#facebook-registration-button .fb-icon {
    position: relative;
    display: inline-block;
    padding-left: 30px
}

#facebook-registration-button .fb-icon::after {
    content: ' ';
    position: absolute;
    top: -5px;
    left: 0;
    background: url(/static/img/home/fb.png);
    background-size: cover;
    width: 23px;
    height: 23px;
    transition: width ease-in-out 100ms, height ease-in-out 100ms, top ease-in-out 100ms, left ease-in-out 100ms;
}

/* Ecran post inscription */
#post-register {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-30%) translateY(-50%) translateY(-80px); /* 80px = moitié de 160px = hauteur approximative du #register-logo des 2 saisons */
    text-align: center;
    opacity: 0;
    transition: opacity ease-in-out 400ms;
    visibility: hidden;
}

#post-register.active {
    opacity: 1;
    visibility: visible;
}

#post-register #post-register-logo {
    display: block;
    margin: 0 auto 18px;
}

#post-register h1 {
    background-image: none !important;
    height: initial !important;
    line-height: 40px !important;
    color: #646262 !important;
    font-family: "Alegreya Sans SC", sans-serif !important;
    font-size: 45px !important;
    font-weight: 800;
    text-align: center;
    text-transform: none !important;
    margin-left: initial !important;
    padding: 0 !important;
}

#post-register p {
    color: #646262;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 25px;
    line-height: 25px;
    opacity: 0;
    visibility: hidden;
}

#post-register.active p {
    animation: show-hidden-element ease-in-out 400ms forwards;
    animation-delay: 1500ms;
}

#post-register p:last-of-type {
    font-weight: bold;
}

#post-register button {
    border: none;
    outline: none;
    height: 66px;
    box-sizing: border-box;
    background-color: #fff;
    background: linear-gradient(211deg, #00D0FF 0%, #00FFD3 100%);
    box-shadow: inset 0 0 27px rgba(9, 191, 198, 0.55);
    padding: 0 14px;
    border-radius: 38px;
    color: #FFFFFF;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 24px;
    text-align: center;
    text-transform: none;
    display: block;
    cursor: pointer;
    transition: background ease-in-out 400ms;
    max-width: 260px;
    margin: 34px auto 0;
    opacity: 0;
    visibility: hidden;
}

#post-register button:hover {
    background: linear-gradient(211deg, #01a6cb 0%, #01e0b9 100%);
}

#post-register.active button {
    animation: show-hidden-element ease-in-out 400ms forwards;
    animation-delay: 2600ms;
}

/* Icone de confirmation de l'inscription */
#post-register #register-check {
    width: 48px;
    height: 48px;
    display: inline-block;
    margin: 28px auto;
    position: relative;
    border-radius: 100%;
}

/* Checkmark de l'icone de confirmation */
#post-register #register-check .checkmark {
    display: none;
    position: absolute;
    left: 10px;
    top: 5px;
    z-index: 3;
}

#post-register #register-check .checkmark.draw:after {
    animation: checkmark ease 800ms forwards;
    animation-delay: 1600ms;
    opacity: 0;
    transform: scaleX(-1) rotate(135deg);
}

#post-register #register-check .checkmark:after {
    opacity: 1;
    height: 21px;
    width: 12px;
    transform-origin: left top;
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    content: '';
    left: 0;
    top: 21px;
    position: absolute;
}

/* Bordure de l'icone de confirmation */
#post-register #register-check::after {
    content: ' ';
    border: 2px solid #00D0FF;
    background: none;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    transform: scale(0);
    border-radius: 100%;
}

#post-register.active #register-check:after {
    animation: register-check-border ease-in-out 500ms forwards;
    animation-delay: 600ms;
}

/* Contenu de l'icone de confirmation */
#post-register #register-check::before {
    content: ' ';
    background: linear-gradient(211deg, #00D0FF 0%, #00FFD3 100%);
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    transform: scale(0);
}

#post-register.active #register-check::before {
    animation: register-check-content ease-in-out 600ms forwards;
    animation-delay: 900ms;
}

/* Animations */
@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }
    20% {
        height: 0;
        width: 12px;
        opacity: 1;
    }
    40% {
        height: 21px;
        width: 12px;
        opacity: 1;
    }
    100% {
        height: 21px;
        width: 12px;
        opacity: 1;
    }
}

@keyframes btn-hover-pop {
    0% {
        transform: scale(1, 1);
    }
    90% {
        transform: scale(1.12, 1.1);
    }
    100% {
        transform: scale(1.1, 1.08);
    }
}

@keyframes register-check-border {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes register-check-content {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes show-hidden-element {
    0% {
        visibility: visible;
        opacity: 0;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}