:root {
    --rose:#e5067e;
    --violet:#582361;
    --bleu:#219ad6;
    --bleu2:#3160a0;
    --bleu3:#492b6f;
    --gris:#ecefe8;
    --text:#000000;
}

@font-face {
    font-family: 'edosz';
    src: url('webfont/EdoSZ.woff2') format('woff2'),
        url('webfont/EdoSZ.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*{
font-family:'Montserrat',arial;
font-size:1em;
line-height:1.4em;
font-weight:300;
margin:0;
padding:0;
box-sizing:border-box;
}
body{
font-size:90%;
background:var(--gris)
}
#entete,
#content,
#footer{
/* max-width:1280px; */
width:100%;
margin:auto;
}
#content{
padding-top:50px;
}

.intro{
text-align:center;
padding:30px;
}

#decount{
width:100%;
margin:auto;
display:block;
}
#decount h2{
}
#decount span{
display:inline-block;
/* background:red; */
width:100px;
text-align:center;
color:white;
position:relative;
margin:5px;
}
#decount span h2{
font-size:3.5em;
line-height:1em;
}
#decount span p{
font-size:1.4em;
line-height:1em;
}
#decount span::after{
content:'';
position:absolute;
display:block;
height:100%;
width:1px;
background:linear-gradient(to top, #0000ff00, white, #0000ff00);
right:-7px;
top:0;
}
#decount span:first-child::before{
content:'';
position:absolute;
display:block;
height:100%;
width:1px;
background:linear-gradient(to top, #0000ff00, white, #0000ff00);
left:-7px;
top:0;
}
/*header*/
#header{
width:100%;
position:relative;
position:fixed;
height:50px;
z-index:999;
background:var(--gris);
box-shadow:0 25px 100px rgba(0,0,0,0.3);
}
#header .logo img{
height:32px;
position:absolute;
/* background:red; */
top:9px;
left:9px;
}
#header p{
position:absolute;
top:48px;
left:300px;
color:var(--rose);
font-size:1.3em;
}
#header .gris{
padding:0;
position:relative;
margin:auto;
max-width:1280px;
}
#header .social{
height:32px;
position:absolute;
top:11px;
right:11px;
}
#header .social ul{
list-style-type:none;
}
#header .social ul li{
display:inline;
}
#header .social ul li a{
background:black;
color:white;
height:28px;
width:28px;
margin:0 2px;
display:inline-block;
align-content:center;
text-align:center;
border-radius:2em;
text-decoration:none;
transition:all ease 0.3s;
position:relative;
}
#header .social ul li a:hover{
background:var(--bleu);
}
#header .social ul li a svg{
width:60%;
height:60%;
fill:white;
position:absolute;
top:50%;
left:50%;
transform:translateX(-50%) translateY(-50%);
}

.intro{
background:#000;
position:relative;
}
.intro::before{
content:'';
opacity:0.2;
background-image:url(images/backdrop.webp);
background-size:cover;
background-position:center;
background-repeat:no-repeat;
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
}

.intro .logo{
margin-bottom:10px;
}
.intro .logo img{
max-width:280px;
height:auto;
}

#frise{
background:linear-gradient(To right, var(--violet), var(--rose));
padding:8px 12px;
height:32px;
}
#frise .defil{
color:white;
font-weight:600;
font-size:.9em;
margin:0 20px;
}
.gris{
padding:30px;
position:relative;
}
.bleu{
background:linear-gradient(To right, var(--bleu3), var(--bleu));
padding:40px;
}
.violet{
padding:40px;
background:linear-gradient(To right, var(--violet), var(--rose));
}
.violet *,
.bleu * {
color:white;
position:relative;
}
.maxbloc{
max-width:1280px;
margin:auto;
position:relative;
}
.maxbloc.limited{
max-width:960px;
margin:auto;
}
.center{
text-align:center;
}

.bigsbleu .maxbloc::before,
.bigswhite .maxbloc::before{
content:'';
background-image:url(images/bigsbleu.svg);
background-repeat:no-repeat;
background-position:center;
background-size:contain;
width:90%;
height:90%;
max-width:600px;
max-height:600px;
position:absolute;
top:50%;
left:50%;
transform:translateX(-50%) translateY(-50%);
opacity:.5;
}
.bigswhite .maxbloc::before{
background-image:url(images/bigswhite.svg);
z-index:-1;
opacity:1;
}

.squarelinks{
max-width:1280px;
/* padding:30px; */
text-align:center;
margin:auto;
position:relative;
}
.game-elem{
width:150px;
display:inline-block;
vertical-align:top;
margin:10px;
transition:all ease 0.5s;
position:relative;
cursor:pointer;
}
.game-elem::after{
content:'';
width:115px;
height:115px;
background:transparent;
border-radius:10em 0 10em 0;
display:block;
position:absolute;
z-index:-1;
top:50%;
left:50%;
transform:translateX(-50%) translateY(-50%);
transition:all ease .8s;
}
.game-elem img{
max-height:90px;
/* background:red; */
}
.game-elem p{
font-weight:600;
color:var(--violet);
font-size:1em;
transition:all ease .8s;
}
.game-elem:hover{
transform:translateY(-10px);
}
.game-elem:hover p{
color:var(--rose);
margin-top:-8px;
}
.game-elem:hover::after{
background:white;
border-radius:10em;
}

.tiers{
width:280px;
display:inline-block;
vertical-align:top;
margin:20px;
padding:10px;
border-radius:14px;
transition:all ease 0.5s;
cursor:pointer;
}
.tiers .theme{
background:linear-gradient(to right, var(--bleu3), var(--bleu));
text-align:left;
color:white;
font-weight:600;
padding:8px 10px;
border-radius:8px;
margin-bottom:6px;
}
.tiers .theme::before{
content:'';
background-image:url(images/pZig.svg);
background-repeat:no-repeat;
background-size:contain;
background-position:center;
width:1.2em;
height:1.2em;
display:inline-block;
vertical-align:bottom;
margin-right:5px;
}
.tiers img{
display:none;
}
.bkgImg{
width:100%;
height:180px;
border-radius:8px;
margin-bottom:6px;
background-color:#9e9e9e45;
background-position:center;
background-size:100% 100%;
transition:all ease 0.5s;
}
.tiers:hover .bkgImg{
background-size:120% 120%;
}

.fullBkg.bkgImg{
border-radius:0;
margin:0;
width:100%;
height:100%;
background-color:#9e9e9e45;
background-position:center;
background-size:cover;
background-attachment:fixed;
}

.fullBkg{
padding:50px;
text-align:center;
}
.droite,
.gauche{
max-width:960px;
margin:auto;
/* background:red;    */
position:relative;
min-height:320px;
align-content:center;
}
.gauche{
text-align:left;
}
.droite{
text-align:right;
}
.gauche .img,
.droite .img{
width:50%;
height:300px;
background-size:100% 100%;
background-repeat:no-repeat;
background-position:center;
display:inline-block;
vertical-align:top;
position:absolute;
border-radius:2em;
z-index:2;
top:0
}
.droite .img{
left:0;
}
.gauche .img{
right:0;
}

.droite .img img,
.gauche .img img{
display:none;
}
.gauche:hover .img.bkgImg,
.droite:hover .img.bkgImg{
background-size:110% 110%;
}

.droite .txt,
.gauche .txt{
padding:30px;
border-radius:2em;
background:blue;
width:55%;
display:inline-block;
text-align:left;
margin-top:40px;
min-height:320px;
position:relative;
vertical-align:top;
align-content:center;
z-index:1;
}
.droite .txt{
padding:30px 30px 30px calc(30px + 5%);
}
.gauche .txt{
padding:30px calc(30px + 5%) 30px 30px;
}
.txt.vert{
background:#153a23e3;
}
.txt.degradbleu{
background:linear-gradient(to right, var(--bleu3), var(--bleu))
}
strong{
font-weight:600;
}
.tiers p{
line-height:1.1em;
}
.tiers:hover{
background:white;
transform:translateY(-10px);
}
.droite .txt *,
.gauche .txt *{
color:white;
}
.droite .txt h3,
.gauche .txt h3{
color:white;
font-weight:500;
font-size:2.2em;
line-height:1em;
margin:0 0 8px 0;
}
.droite .txt h4,
.gauche .txt h4{
color:white;
font-size:1.4em;
line-height:1em;
font-weight:600;
margin:0 0 8px 0;
}



h2{
font-weight:400;
font-size:2em;
font-weight:600;
}
h2.EdoSZ{
font-family:'edosz',arial;
font-size:4.8em;
line-height:1em;
font-weight:normal;
color:var(--rose);
display:block;
text-align:center;
/* margin-bottom:-20px; */
}
.h2pZig h2::before{
content:'';
display:block;
width:48px;
height:48px;
margin:0 auto 10px auto;
background-image:url(images/pZig.svg);
background-repeat:no-repeat;
background-size:contain;
background-position:center;
}
.h2pZig h2{
line-height:1em;
margin:auto;
}

h5{text-align:center;}

h5 a{
display:inline-block;
background:var(--rose);
padding:10px 24px;
text-decoration:none;
color:white;
font-size:1.3em;
border-radius:8px;
margin:30px 0;
font-weight:600;
transition:all ease 0.2s;
border:2px solid transparent;
}
h5 a:hover{
background:var(--gris);
color:var(--rose);
box-shadow:0 0 50px var(--rose);
border:2px solid var(--rose);
}
.violet h5 a{
background:white;
border:2px solid var(--rose);
color:var(--rose);
}
.violet h5 a:hover{
background:var(--bleu);
box-shadow:0 0 50px var(--bleu);
border:2px solid white;
color:white;
}



#footer{
margin-top:30px;
padding:40px;
background:linear-gradient(190deg, #4c266a, black 75%);
text-align:center;
position:relative;
}

#footer .logo{
max-width:180px;
margin:0 auto 30px auto;
}
#footer .txt{
max-width:640px;margin:auto;
}
#footer .txt *{
color:white;
}
#footer .txt h3{
text-transform:uppercase;
font-size:1.4em;
font-weight:600;
margin:15px 0;
}
.copyright{
display:block;
height:30px;
bottom:0;
left:0;
width:100%;
background:linear-gradient(to right, var(--bleu3), var(--bleu));
align-content:center;
text-align:center;
}
.copyright *{
color:white;
font-size:.9em;
}

#footer .social{
position:relative;
display:block;
}
#footer .social p{
color:white;
font-size:.9em;
}
#footer .social ul{
list-style-type:none;
height:32px;
margin-top:4px;
}
#footer .social ul li{
display:inline;
}
#footer .social ul li a{
background:white;
color:white;
height:26px;
width:26px;
margin:0 2px;
display:inline-block;
align-content:center;
text-align:center;
border-radius:2em;
text-decoration:none;
transition:all ease 0.3s;
position:relative;
}
#footer .social ul li a:hover{
background:var(--rose);
}
#footer .social ul li a svg{
width:60%;
height:60%;
fill:black;
position:absolute;
top:50%;
left:50%;
transform:translateX(-50%) translateY(-50%);
}


/*POPUP*/

#popup-overlay,
#popup-overlay-confirm {
display: none;
position: fixed;
inset: 0;
background: rgba(255,255,255,.7);
z-index: 9999;
align-items: center;
justify-content: center;
}
#popup-overlay.actif,
#popup-overlay-confirm.actif {
display: flex;
}
#popup-box,
#popup-box-confirm {
background: linear-gradient(to right, var(--bleu3), var(--bleu));
border-radius: 12px;
padding: 30px 60px;
max-width: 640px;
width: 100%;
max-height: 100%;
overflow-y: auto;
text-align: center;
position: relative;
}
#popup-box img,
#popup-box-confirm img {
max-width: 180px;
margin-bottom: 10px;
}
#popup-box h2,
#popup-box-confirm h2 {
color:white;
font-size: 1.2rem;
margin-bottom: 1rem;
}
#popup-box p,
#popup-box-confirm p {
color:white;
font-size:.9em;
margin-bottom: .75rem;
text-align: center;
}
#popup-box h4 {
color:white;
font-weight:600;
margin: 1.25rem 0 1rem;
}
#popup-box input {
width: 70%;
padding: 6px 12px;
margin-bottom: 8px;
border: 1px solid var(--bleu);
border-radius: 2em;
font-size: 1rem;
box-sizing: border-box;
}
#popup-box input::placeholder{
color:var(--bleu);
font-weight:500;
font-style:italic;
font-size: .9em;
opacity:.6;
}
#popup-box button[type="submit"],
#popup-box-confirm button[type="submit"] {
display:block;
width: auto;
margin:20px auto 20px auto;
padding: 8px 24px;
border-radius: 8px;
background: white;
color: var(--rose);
font-weight:500;
border: none;
font-size: 1em;
cursor: pointer;
border:2px solid transparent;
}
#popup-box button[type="submit"]:hover,
#popup-box-confirm button[type="submit"]:hover {
background: var(--rose);
color:white;
box-shadow:0 0 50px var(--rose);
border:2px solid white;
}
#popup-close,
#popup-close-confirm {
position: absolute;
top: 1rem;
right: 1rem;
background: none;
border: none;
font-size: 2.4em;
cursor: pointer;
line-height: 1;
color: var(--bleu);
background:white;
border-radius:2em;
width:1em;
height:1em;
}
#popup-close:hover,
#popup-close-confirm:hover{
background:var(--rose);
color:white;
}

/* Responsive */
@media (max-width: 640px) {
#decount span{
display:inline-block;
width:75px;
text-align:center;
color:white;
position:relative;
margin:2px;
}
#decount span h2{
font-size:3em;
line-height:1em;
}
#decount span p{
font-size:1em;
line-height:1em;
}
#decount span::after{
right:-4px;
}
#decount span:first-child::before{
left:-4px;
}


.tiers{
width:90%;
margin:10px 0;
}
.bkgImg{
width:100%;
height:250px;
border-radius:8px;
margin-bottom:6px;
background-color:#9e9e9e45;
background-position:center;
background-size:100% 100%;
transition:all ease 0.5s;
}
.gauche .img,
.droite .img{
width:100%;
height:260px;
position:relative;
}
.droite .txt,
.gauche .txt{
border-radius:2em;
width:100%;
margin-top:0px;
min-height:auto;
}
.droite .txt,
.gauche .txt{
padding:30px;
}
h5 a{
padding:10px 20px;
font-size:1.2em;
margin:30px 0;
}
#popup-box,
#popup-box-confirm {
border-radius: 0px;
padding: 15px 30px;
max-height: 100%;
overflow-y: none;
}
#popup-box img,
#popup-box-confirm img{
max-width:120px;
margin-bottom:10px;
}
#popup-box input{
width:90%;
}

}
