@charset 'UTF-8';
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i');
@font-face {
    font-family: 'Habbfont';
    src: url('../fonts/habbfont.woff2') format("woff2"),url('../fonts/habbfont.woff') format("woff");
    unicode-range: U+007C,U+2020,U+2022,U+00B6,U+00B1,U+00A5,U+00B5,U+00AA,U+00BA,U+00AC,U+0192,U+00BB,U+2014,U+2018,U+2021
}

: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; font-family: 'Habbfont', 'Source Sans Pro', sans-serif; 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 {background:#f3f3f3; color: #666666;}

/* ======================== Header ======================*/
.header {
    height: 20rem;
    background: 
        linear-gradient(0deg, rgb(40, 38, 59), rgba(173, 173, 173, 0.19)),
        top -600px center url(../img/background2.png) no-repeat;
}

.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.png) 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 .title {
    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;
}

.btn-green {
    cursor: pointer;
    display: block;
    width: 100%;
    background: var(--secondary);
    border-radius: 3px;
    color: #FFF;
    padding: 10px 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.btn-blue {
    cursor: pointer;
    display: block;
    text-decoration:none;
    font: 400 11px system-ui;
    text-align:center;
    width: 100%;
    background: #2ca9e0;
    border-radius: 3px;
    color: #FFF;
    padding: 10px 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.btn-red {
    cursor: pointer;
    display: block;
    width: 100%;
    text-align:center;
    text-decoration:none;
    font: 400 11px system-ui;
    background: var(--red);
    border-radius: 3px;
    color: #FFF;
    padding: 10px 0;
    text-transform: uppercase;
}

/* ========================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-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-main .title{
    width: 85%;
}

.footer-main .title h1 {
    font-size: 15px;
}




















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



/* ======================== Footer ======================*/


.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.footer-main .title h1 {
    font-size: 15px;
}
 
}

#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} 