html,body{
    margin:0;
    width: 100%;
    height:100%;
    /* overflow: hidden; */
}
body{
    font-family: sans-serif;
    font-size: 14px;
    background: #3a4a5c;
}
body:before {
    content: "C" attr(data-count);
    color: #fff;
    position: fixed;
    left: 5px;
    bottom: 5px;
    z-index: 10000;
    opacity: 0.2;
}
body.no-connexion:before{
    content:"H" attr(data-count);
}
*:not(input):not(select):not(textarea){
    user-select: none;
}
*{
    outline:none;
    -webkit-tap-highlight-color: transparent;
}
.splashscreen {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #3a4a5c url(../img/logo.svg) no-repeat center center/550px;
    transition:transform 0.5s;
    z-index: 100;
    overflow: hidden;
}
.splashscreen.hide {
    /* pointer-events: none; */
    transform:translateY(-100%)
}
.splashscreen:after{
    content:"Touchez l'\E9 cran pour participer\A au grand jeu concours";
    white-space: pre-wrap;
    position: absolute;
    left:15px;
    right:15px;
    top: 50px;
    color:#fff;
    font-size: 32px;
    text-align: center;
}
.form {
    /* max-width: 580px; */
    margin: auto;
    padding: 15px;
    color: #fff;
    display: flex;
    justify-content: center;
    width: auto;
    max-width: 594px;
    /* height: 100%; */
    /* align-items: center; */
    box-sizing: border-box;
    flex-direction: column;
}

.form>.fields {
    flex: 1;
}
.form>.left>img{
    display: block;
    max-width: 400px;
    margin: auto;
}
.form>.left {
    /* width: 400px; */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    /* height: calc(100vh - 30px); */
    position: sticky;
    top: 0;
}

.form .field {
    display: flex;
    flex-direction: column;
    margin: 5px 5px 5px 0;
}

.form input:not([type=checkbox]), .form select {
    -webkit-appearance: none;
    border: none;
    padding: 6px;
    box-sizing: border-box;
    background:#fff;
    color:#000;
    font-size: 18px;
    width: 100%;
    border-radius: 0;
}

.form .sides {
    display: flex;
}

.form .sides>* {
    flex: 1;
}

.form .field>label {
    font-size: 20px;
    padding-right: 10px;
}

.form .field.age {
    flex: none;
    width: 100px;
}
.questions>div:not(:last-child) {
    margin-bottom: 10px;
}

.questions>div>h3 {
    margin: 20px 0 10px 0;
    font-size: 20px;
}

.questions>div>select {
    width: 100%;
}

.rgpd {
    margin-top: 30px;
}
button.save {
    display: block;
    width: 200px;
    -webkit-appearance: none;
    border: none;
    background: #1a86a3;
    color: #fff;
    font-size: 20px;
    padding: 9px;
    margin: 30px auto;
}
input[type=checkbox] {
    opacity: 0;
    position: absolute;
}

input[type=checkbox]+label {
    font-size: 18px;
    position: relative;
    padding: 6px 5px 6px 38px;
    display: inline-block;
}

input[type=checkbox]+label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: #ffffffe0;
}

input[type=checkbox]:checked+label:after {
    content: "";
    position: absolute;
    left: 10px;
    top: 3px;
    width: 6px;
    height: 18px;
    border-right: solid 4px #1a86a3;
    border-bottom: solid 4px #1a86a3;
    transform: rotate(35deg);
}
.cases {
    display: flex;
    flex-wrap: wrap;
}

.cases>div {
    min-width: 225px;
}
.required>label,.required>h3 {
    color: #d77878;
}
body>.alert {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

body>.alert>div {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 18px;
}

body>.alert>div>.actions {
    padding-top: 10px;
    text-align: center;
}

body>.alert>div>.actions>a {
    display: inline-block;
    padding: 10px 15px;
    background: #1a86a3;
    color: #fff;
    text-transform: uppercase;
    border-radius: 4px;
    line-height: 1;
    font-size: 14px;
}
body>.alert>div>h1 {
    font-weight: 400;
    margin: 0 0 10px;
    text-align: center;
}
.splashscreen:before {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -50px;
    width: 340px;
    height: 340px;
    background: url(../img/lot.svg) no-repeat right bottom/contain;
}