body.home {
    background: none;
}

#disconnected-content {
    width: 100%;
}

/* Bouton */
.home-btn {
    border: none;
    outline: none;
    height: 66px;
    box-sizing: border-box;
    padding: 0 82px;
    border-radius: 38px;
    color: #FFFFFF;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 25px;
    text-align: center;
    text-transform: uppercase;
    margin: auto;
    cursor: pointer;
    z-index: 4;
    display: block;
    transition: background ease-in-out 400ms;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 2px 2px rgba(255, 255, 255, 0.8), 0 0 4px 4px rgba(255, 255, 255, 0.6), 0 0 5px 3px rgba(0, 0, 0, 0.2), 0 5px 3px 3px rgba(0, 0, 0, 0.08);
}

.home-btn::after {
    content: ' ';
    background: linear-gradient(59deg, #00cdfb 0%, #00cdfb 33%, #00f4cc 100%);
    width: 150%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: translateX(-33%); /* 33% de 150% (width) = 100% */
    transition: transform ease-in-out 500ms;
}

.home-btn.disabled::after {
    background: linear-gradient(59deg, #ccc 0%, #ccc 33%, #ccc 100%);
}

.home-btn:not(.disabled):hover::after {
    transform: translateX(0);
}

/* Style commun à chaque interface de la home */
.home-screen {
    width: 100%;
    overflow: hidden;
    min-width: 992px;
    position: relative;
    margin: auto;
    text-align: center;
}

.home-screen-anim-trigger {
    width: 2px;
    height: 70%;
    position: absolute;
    top: 15%;
    left: 50%;
}

.screen-title {
    display: inline-block;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 33px;
    padding: 8px 32px;
    margin-top: 92px;
    box-shadow: 0 0 8px 4px rgba(94, 7, 80, 0.3);
}

.screen-title h2 {
    color: #321540;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 35px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 50px;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.screen-title h3 {
    color: #fff;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 22px;
    text-align: center;
    text-shadow: 0 0 22px rgba(50, 21, 64, 0.95);
}

.home-screen p.description {
    color: #fff;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 25px;
    text-align: center;
    text-shadow: -1px 1px 32px #660A56;
    width: 610px;
    margin: 20px auto 0;
}

/* Inscription rapide fixe en bas de l'écran */
#quick-registration {
    background: url(/static/img/home/quick-reg.png);
    width: 158px;
    height: 110px;
    position: fixed;
    bottom: 50px;
    left: 40px;
    cursor: pointer;
    transform: rotate(300deg) scale(0.5);
    z-index: -1;
    opacity: 0;
    transition: transform ease-in-out 200ms, opacity ease-in-out 200ms;
}

#quick-registration.active {
    transform: rotate(360deg) scale(1);
    opacity: 1;
    z-index: 999;
}

#quick-registration #heart {
    background: url(/static/img/home/quick-reg-heart.png);
    width: 49px;
    height: 41px;
    position: absolute;
    top: -13px;
    right: 6px;
    animation: quick-registration-heart linear 6000ms infinite;
}

#quick-registration .quick-registration-text {
    background: linear-gradient(to top, #f544f3 0%, #fb9ff6 100%);
    width: 114px;
    height: 53px;
    z-index: -1;
    position: absolute;
    bottom: -16px;
    right: 12px;
    border-radius: 32px;
    overflow: hidden;
    transform: rotate(-6deg);
}

#quick-registration .quick-registration-text p {
    width: 106px;
    background: #fff;
    box-sizing: border-box;
    opacity: 0.93;
    padding: 6px;
    height: 45px;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 32px;
    font-family: "Alegreya Sans SC", sans-serif;
    color: #300d3d;
    font-weight: 800;
    font-size: 24px;
    line-height: 14px;
    text-align: right;
}

#quick-registration .quick-registration-text p:first-line {
    font-size: 16px;
}

#quick-registration .quick-registration-text p span {
    display: block;
    float: right;
    font-size: 52px;
    line-height: 26px;
    margin-left: 8px;
    margin-right: 6px;
}

#quick-registration .quick-registration-text p span.es-point {
    display: none;
}

/* Fixs pour les i18n */
#quick-registration:not(.quick-registration-fr) .quick-registration-text p span {
    margin-left: 0;
}

#quick-registration.quick-registration-es .quick-registration-text p span.es-point {
    display: block;
    float: left;
    margin-left: 6px;
    margin-right: 8px;
}

#quick-registration.quick-registration-es .quick-registration-text {
    width: 134px;
}

#quick-registration.quick-registration-es .quick-registration-text p {
    width: 126px;
    text-align: center;
}

#quick-registration.quick-registration-us .quick-registration-text p:first-line {
    font-size: 24px;
    line-height: 20px;
}

#quick-registration.quick-registration-us .quick-registration-text {
    width: 88px;
}

#quick-registration.quick-registration-us .quick-registration-text p {
    width: 80px;
}

#quick-registration.quick-registration-pl .quick-registration-text p {
    font-size: 20px;
}

#quick-registration.quick-registration-hu .quick-registration-text {
    width: 120px;
}

#quick-registration.quick-registration-hu .quick-registration-text p {
    width: 112px;
    line-height: 16px;
}

#quick-registration.quick-registration-it .quick-registration-text p span {
    margin-left: 4px;
}

#quick-registration.quick-registration-it .quick-registration-text p {
    font-size: 26px;
}

/* Bouton scroll */
#scroll-icon {
    background: url(/static/img/home/header/scroll.png) no-repeat bottom center;
    height: 40px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #3D2743;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 15px;
    text-align: center;
    letter-spacing: 2px;
    z-index: -1;
    opacity: 0;
    transition: opacity ease-in-out 300ms;
}

#scroll-icon.active {
    z-index: 999;
    animation: scroll-bounce ease-in-out 800ms alternate infinite;
    opacity: 1;
}

/* Boutons réseaux sociaux */
.social {
    display: inline-block;
    position: relative;
    vertical-align: top;
    overflow: hidden;
}

.social img {
    position: absolute;
    top: 0;
    left: 0;
}

.social img:last-of-type {
    transform: translateY(100%);
}

.social:hover img:first-of-type {
    transform: translateY(-100%);
}

.social:hover img:last-of-type {
    transform: translateY(0);
}

.social.social-fb {
    width: 34px;
    height: 26px;
}

.social.social-ig {
    width: 34px;
    height: 26px;
}

.social.social-yt {
    width: 34px;
    height: 26px;
}

.social.social-vk {
    width: 42px;
    height: 30px;
}

/* Animations */
@keyframes show-title {
    0% {
        opacity: 0;
        margin-top: 0;
    }
    100% {
        opacity: 1;
        margin-top: 92px;
    }
}

@keyframes hide-title {
    0% {
        opacity: 1;
        margin-top: 92px;
    }
    100% {
        opacity: 0;
        margin-top: 0;
    }
}

@keyframes show-description {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes hide-description {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes quick-registration-heart {
    0% {
        transform: scale(1);
    }
    4% {
        transform: scale(1.1);
    }
    8% {
        transform: scale(0.9);
    }
    12% {
        transform: scale(1);
    }
    16% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(0.9);
    }
    24% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
}

@keyframes scroll-bounce {
    0% {
        bottom: 0;
    }
    100% {
        bottom: 18px;
    }
}
