:root {
    --primary: #28263A;
    --secondary: #96c11c;
    --red: #c11c1c;
    --gray: #9999;
    --gray2: #7777;
    --background: #eeeeee;
    --discord: #8b9dfd;
    --container: 700px;
}
*,
*::before,
*::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}
html {
    font-size: 14px;
}
.error.e_top {
    background: #d32f2f;
    line-height: 40px;
    color: #fff;
    text-align: center;
}
.error.e_top.success {
    background: #388e3c;
}
body {
    font-family: 'Roboto', sans-serif;
    background: url("/layout/assets/img/bg.gif");
}

/* ======================== Header ======================*/
.header {
    height: 20rem;
    background:
        linear-gradient(0deg, rgb(40, 38, 59), rgba(173, 173, 173, 0.19)),
        top -468px center url(/layout/assets/img/background2.webp) no-repeat;
}
#imager {
    width: 64px;
    height: 96px;
    margin-top: -97px;
    position: relative;
    float: right;
    background-image: url(/layout/assets/img/ghost.png);
}
.content {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
}
.logo {
    margin-top: 4rem;
    text-align: center;
}
.baseline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
/* ======================== Down-middle ======================*/
.down-middle {
    margin-top: -20rem;
}
.box_left {
    border: solid 10px var(--background);
    background: var(--background);
    border-radius: 5px;
    margin-top: 165px;
}
.card {
    max-width: 100%;
    height: 100%;
    border-radius: 5px;
    background:
        linear-gradient(0deg, rgba(40, 38, 59, 0.80), rgba(40, 38, 59, 0.80)),
        center center url(../../img/index_left.webp) no-repeat;
    color: #FFF;
    padding: 1rem;
}
.card h1 {
    margin-bottom: 1rem;
}
.box_right {
    background: var(--background);
    border: solid 10px var(--background);
    border-radius: 10px;
    width: 100%;
}
.box_right form {
    background: var(--primary);
    border-radius: 5px;
    overflow: hidden;
    padding: 20px;
    color: #FFF;
    width: 100%;
}
.box_right form {
    border-bottom: 1px solid #1b1a2b;
}
.title {
    padding: 20px;
    margin: -20px -20px 0 -20px;
}
.title p {
    color: var(--gray);
    margin-top: 8px;
    font-size: 120%;
}
.btn {
    padding-top: 15px;
}
input[type='text'] {
    display: block;
    width: 100%;
    font-size: 15px;
    background: #FFF;
    border-radius: 3px;
    color: var(--gray2);
    padding: 10px 10px;
}
input[type='password'] {
    display: block;
    width: 100%;
    font-size: 15px;
    background: #FFF;
    border-radius: 3px;
    color: var(--gray2);
    padding: 10px 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
/* ========================Social / Registration ======================*/
.middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.discord {
    border-radius: 4px;
    width: 100%;
    background: #8b9dfd url(../img/lpromo_house18_gen2.png) right center no-repeat;
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-decoration: none;
    color: #FFF;
}
.discord img {
    width: 35px;
    height: auto;
    margin: 5px 10px 0;
}
.registration {
    width: 100%;
    margin-left: 0;
    margin-top: .5rem;
    display: block;
}
.btn-registration {
    padding: 19px 0;
    text-align: center;
    text-decoration: none;
}
/* ======================== Story habbo======================*/
.photo {
    display: none;
}
/* ======================== Footer ======================*/
#footer-content {
    position: relative;
    margin: 6px auto;
}
#footer-content #c_box {
    position: relative;
    background: #fff;
    margin-bottom: 6px;
    background: rgba(255,255,255,.6);
    border: 5px solid #eaeaea;
    border: 5px solid rgba(255,255,255,.6);
    border-radius: 5px;
    background-clip: padding-box;
}
#footer-content #c_box #inner {
    position: relative;
    padding: 6px;
    font-size: 15px;
    background: #fff;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
#footer-content p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
@media only screen and (min-width:850px) {
    :root {
        --container: 1000px;
    }
    /* ======================== Header ======================*/
    .header {
        height: 400px;
    }
    .content {
        padding-left: 0px;
        padding-right: 0px;
    }
    .logo {
        margin-top: 90px;
        text-align: initial;
    }
    /* ======================== Down-middle ======================*/
    .down-middle {
        margin-top: -230px;
    }
    .box_left {
        position: relative;
    }
    .box_left::before {
        content: "";
        position: absolute;
        width: 10px;
        height: 130px;
        background: var(--background);
        top: -10px;
        right: -14px;
        bottom: 0;
    }
    .card {
        max-width: 597px;
        height: 145px;
        padding: 15px;
    }
    .box_right {
        width: initial;
    }
    .box_right form {
        width: 360px;
    }
    /* ========================Social / Registration ======================*/
    .middle {
        margin-top: 4rem;
        flex-wrap: nowrap;
    }
    .discord {
        width: 100%;
        justify-content: left;
        padding-left: 1rem;
    }
    .registration {
        width: calc(100% - 395px);
        margin-left: 20px;
        margin-top: 9px;
        position: relative;
        display: initial;
    }
    .registration::before {
        content: "";
        display: block;
        position: absolute;
        height: 70px;
        width: 60px;
        top: -70px;
        right: -2px;
        background: url(../img/avatarimage.gif) no-repeat;
        z-index: -1;
    }
    .btn-registration {
        padding: 16px 0;
        text-align: center;
        text-decoration: none;
    }
    /* ======================== Story habbo======================*/
    .photo {
        margin-bottom: 50px;
        display: initial;
    }
    .photo .title,
    footer-main .title {
        margin-top: 30px;
    }
    .title h1 {
        font-weight: 400;
    }
    .card-photo {
        display: grid;
        grid: repeat(2, 1fr) / auto-flow 290px;
        grid-gap: 15px;
        margin: 0;
        overflow: hidden;
    }
    .box_photo {
        width: 285px;
        height: 150px;
    }
    .box_photo:nth-child(1),
    .box_photo:nth-child(2) {
        grid-column: span 1;
        grid-row: span 2;
        height: 322px;
    }
    .iphoto {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: .1s;
        overflow: hidden;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        background: var(--gray2);
        flex-wrap: wrap;
    }
    .iphoto-profil {
        display: flex;
        align-items: center;
        justify-content: left;
        position: absolute;
        background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
        width: 100%;
        height: 90px;
        bottom: 0;
        padding-left: 10px;
    }
    .iphoto-profil img {
        filter: drop-shadow(1px 1px 0 #fff) drop-shadow(-1px 0px 0 #fff) drop-shadow(0 -1px 0 #fff);
    }
    .iphoto-pseudo {
        color: #FFF;
    }
    .iphoto-date {
        color: rgb(228, 228, 228);
        font-style: italic;
        font-size: 12px;
    }
    .box_story {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .btn-voir {
        color: #FFF;
        text-transform: uppercase;
        text-align: center;
        text-decoration: none;
        line-height: 90px;
        font-weight: 600;
        background: var(--primary);
        border-radius: 4px;
        width: 322px;
        position: absolute;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        right: 56px;
    }
}
#error-message {
    z-index: 1000;
    font-weight: 700;
    background-color: #c00;
    height: 35px;
    text-align: center;
    width: 100%
}
#error-message span {
    height: 35px;
    color: #fff;
    display: inline-block;
    font-weight: 700;
    line-height: 35px;
    vertical-align: middle
}
#error-message b {
    font-size: 16px;
    font-weight: 700
}
/* Register */
.remodal .register-block-left {
    float: left;
    width: 45%
}
.remodal .register-block-right {
    float: right;
    width: 45%
}
.remodal .labtitle {
    display: inline-block;
    float: left;
    font-weight: 300;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 4px;
    text-align: left
}
.remodal .labdetails {
    display: inline-block;
    float: left;
    font-size: 14px;
    margin-bottom: 8px;
    text-align: left
}
.remodal .input {
    background-color: #f5f5f5;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 2px solid #03A9F4;
    display: inline-block;
    float: left;
    height: 30px;
    outline: 0;
    padding: 8px;
    width: 100%
}
.remodal .input:focus,
.remodal .input:hover {
    border: 0;
    border: 2px solid #0288d1;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    outline: 0
}
.remodal .sep-bar {
    float: right;
    margin-bottom: 15px;
    margin-top: 15px;
    width: 100%
}
.remodal h2 {
    font-weight: 700;
    font-weight: 700
}
.remodal #registration-birthday {
    float: right;
    width: 100%
}
.remodal select {
    -webkit-appearance: menulist-button;
    padding: 9px;
    width: 32%
}
.remodal .checkbox-tos {
    display: inline-block;
    float: right;
    width: 100%
}
.remodal .checkbox-tos a {
    color: #ADADAD
}
.remodal .checkbox-tos a:hover {
    color: #2b2e38
}
