@import "compass/css3";

/* -------------------------------------------------------------------------- */
/* SECTION VARIABLES */

    :root{
        /* NOTE Typologie */ 
        --fs-basique: 18px;
        --fs-titre: 60px;
        --fs-40: 40px;
        --ff-roboto: "Roboto";

        /* NOTE Structure */ 
        --marge-section: 60px; 
        --marge-titre: 30px;
        --marge-separateur: 40px; 
        --zone-utile: 1280px;

        /* NOTE Couleurs */ 
        --color-violet: #5519D2;
    }
    
    

/* !SECTION - CLOSE VARIABLES */
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/* SECTION GENERAL */

    html{scroll-behavior: smooth; font-size: var(--fs-basique); font-family: var(--ff-roboto);}
    body {background:url('img/background-fleaux.jpg');min-height:100vh;}
    footer {bottom:0;left:0;}
    a {text-decoration:none !important;outline:none;}
    .color-violet {color:var(--color-violet);}

    /* NOTE Typologie */ 
    .ff-bree{font-family: "Bree Serif";}.ff-roboto{font-family: "Roboto";}
    .fs-basique{font-size: var(--fs-basique);}.fs-titre{font-size: var(--fs-titre);}
    .fs-40{font-size: var(--fs-40);}
    .text-black{color:#000}
    .valign-middle{vertical-align: middle;}.valign-top{vertical-align: top;}.valign-bottom{vertical-align: bottom;}
    .bold{font-weight: bold;}
    .text-shadow-black{text-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.75) !important;}
    .text-shadow-black-xl{text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);}
    .lh-1{line-height: 1;}
    h2 {font-family: "Bree Serif";font-size:2.2em;margin-bottom:40px;}
    
    /* NOTE Gradient */
    .gradient-bleu-violet{
        background: -moz-linear-gradient(-5deg, rgb(42, 25, 158) 0%, rgb(119, 25, 250) 60%);
        background: -webkit-linear-gradient(-5deg, rgb(42, 25, 158) 0%, rgb(119, 25, 250) 60%);
        background: linear-gradient(-5deg, rgb(42, 25, 158) 0%, rgb(119, 25, 250) 60%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2a199e",endColorstr="#7719fa",GradientType=1);
    } 

    /* NOTE Structure */ 
    body{overflow-y: scroll;}
    @media(min-width: 1200px){
        .container, .container-lg, .container-md, .container-sm, .container-xl {
            max-width: var(--zone-utile);
        }
    }

    p{margin-bottom: 20px;}
    .next-section{font-size: 42px;}
    .pointer{cursor:pointer;}
    .tl-0{top:0; left:0;}
    .op-0{opacity:0}.op-1{opacity:0.2}.op-2{opacity:0.4}.op-3{opacity:0.6}.op-4{opacity:0.8}.op-5{opacity:1}
    .vh-100{height: 100vh;} .vh-50{height: 50vh;}
    .w-max-content{width: max-content !important;}
    .mw-unset{max-width: unset;}
    tr{border-width: 5px 0;border-style: solid;border-color: transparent;}
    .zindex-s-up{z-index:1;}.zindex-m-up{z-index:2;}.zindex-l-up{z-index:3;}.zindex-xl-up{z-index:4;}
    .zindex-s-down{z-index:-1;}.zindex-m-down{z-index:-2;}.zindex-l-down{z-index:-3;}.zindex-xl-down{z-index:-4;}
    .inner-box-shadow{-webkit-box-shadow: inset 0px -150px 50px -30px #0000007a; box-shadow: inset 0px -150px 50px -30px #0000007a;}
    .top-0{top: 0} .bot-0{bottom: 0} .left-0{left:0;} .right-0{right:0;}
    .transition-top{transform: translate(0%,-100%);}
    .transition-bottom{transform: translate(0%,100%);}
    .transition-right{transform: translate(100%);}
    .transition-left{transform: translate(-100%);}
    .background-ajust {min-height:calc(100vh - 198px);}
    

    /* NOTE Couleur */
    .bg-violet{background-color:var(--color-violet);} 
    .text-violet{color:var(--color-violet);} 
    .bg-black{background-color:#000;}
    .text-violet{color:var(--color-violet);} 

    /* NOTE Background-positions */
    .bp_tl {background-position:top left;}
    .bp_tc {background-position:top center;}
    .bp_tr {background-position:top right;}
    .bp_bl {background-position:bottom left;}
    .bp_tc {background-position:top center;}
    .bp_br {background-position:bottom right;}
    .bp_cl {background-position:center left;}
    .bp_cr {background-position:center right;}

    /* NOTE autres */
    .sep-title{margin-top:var(--marge-separateur);margin-bottom:var(--marge-separateur);} 
    img{max-width:100%}

    hr{height:32px;width:300px;border:none;color:unset;margin:var(--marge-separateur) auto;background-image: url("../../assets/img/separateur-noir.png")}
    hr.sep-white{background-image: url("../../assets/img/separateur-blanc.png")}
    .br-white-absolute::after {content: "";position: absolute;border: 1px solid white;width: 2px;height: 100%;top: 0;right: 0;}

    /* NOTE Forms */
    input[type="text"], input[type="email"], input[type="password"], select, .select2-selection, .false-input, textarea.form-control {border-top:none;border-left:none;border-right:none;border-bottom:2px solid var(--color-violet) !important;border-radius:0;background:#f5f5f5;outline:none;}
    .false-textarea {border-top:none;border-left:none;border-right:none;border-bottom:2px solid var(--color-violet) !important;border-radius:0;background:#f5f5f5;outline:none;height:auto;}
    .select2-selection {border-radius:0 !important;border-left:none !important;border-right:none !important;border-top:none !important;}
    .select2-selection:focus {border-left:none !important;border-right:none !important;border-top:none !important;}
    .form-control:focus:focus {outline:none;box-shadow:none;border-bottom:2px solid #000;}
    .select2-container--default .select2-selection--multiple .select2-selection__rendered {padding-left:.75rem;}

    /* tooltips bootstrap */
    .fleaux-tooltip .tooltip-inner{max-width: unset;}

/* !SECTION - CLOSE GENERAL */
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/* SECTION MENU */

    #menu_header:not(.visible):not(:hover){transform:translate(0%,-100%);}
    #menu_header{transition: transform 700ms;box-shadow: 0 1rem 3rem rgb(0, 0, 0) !important;z-index:100}
    .wrap-reseaux-2{margin-top: 40px; margin-right: 40px;}
    .wrap-reseaux a, .wrap-reseaux-2 a{margin-left:10px;}

/* !SECTION - CLOSE MENU */
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/* SECTION ACCUEIL */

    /* NOTE Section 1 : accueil */ 
    #accueil-s1{padding-top: 50px;}
    #accueil-s1-background{background-repeat: no-repeat;background-position: center;background-size: cover;height:100vh;z-index: -100;top: 0; left: 0;}
    #accueil-s1-h1{font-size: 50px;text-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.2) !important;margin-top: -20px;}
    /* #accueil-s1-logo{height: 61vh;width:auto} */
    #accueil-s1-logo{height: auto;width: 72vh;min-width:280px;}
    #accueil-s1-jouer{font-size: 32px;height: 80px;padding: 0 70px;line-height: 75px;}

    /* NOTE Section 2 : kezako */
    #fleaux-kezako{padding-top: var(--marge-section);padding-bottom: var(--marge-section);} 
    #fleaux-kezako-plus, #fleaux-classement-plus, #fleaux-actu-plus, .bouton-fleaux{font-size: 25px;height:60px; padding:0 50px;line-height:55px;border:none;}

    /* NOTE Section 3 : classement et actu */
    #fond-classement{width: 69vw;}
    .accueil-lien-actu{background-position: center;background-repeat: no-repeat;}
    .actu-1{background-image: url("../../assets/img/ico/fleau.png");}
    .actu-2{background-image: url("../../assets/img/ico/actu-test2.jpg");}
    .actu-3{background-image: url("../../assets/img/ico/actu-test3.jpg");}
    .accueil-actu{height:0px; padding-top: 100%;}

    .home-numbers img {max-height:200px;}
    .classements table tr {border-bottom:1px solid #fff !important;border-style:inherit;}
    .classements table tr td {padding-top:5px;padding-bottom:5px;}

    #fleaux-stats .home-numbers > div.position-absolute, #le-jeu .home-numbers > div.position-absolute {background:rgba(0,0,0,0.2);}
    body #haut-de-page {left:inherit;height:60px;width:60px;font-size:14px;opacity:0.4;visibility:hidden;right:-150px;animation:slide-out 1s ease-in;}
    body #haut-de-page.visible {visibility:visible;right:0;animation:slide-in 0.4s ease-in;}
    body #haut-de-page:hover {opacity:1;}
    body #haut-de-page > div {line-height:14px;margin-bottom:4px;}
    body #haut-de-page i {line-height:0.6;}
    @keyframes slide-in {
        0% {
            right:-100px;
            bottom:-100px;
        }
        100%{
            right:0;
            bottom:0;
        }
    }
    @keyframes slide-out {
        0% {
            right:0;
        }
        100%{
            right:-100px;
        }
    }


/* !SECTION - CLOSE ACCUEIL */
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/* SECTION Page connexion */

    form#connexion fieldset:disabled{display:none;}
    form#connexion .form-group{position: relative;}

/* !SECTION - CLOSE Page connexion */
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/* SECTION Page village */

#nom-village {width:100%;max-width:600px;height:100px;background:url("img/panneau-village.png") no-repeat top center;background-size:contain;align-items: center;justify-content: center;}
    #nom-village h1 {width:100%;text-align:center;color:#fff;text-shadow: 0 0 20px #000000;font-size:1.4em;padding:0 20%;margin-top:40px;line-height:0.9em;}

/* NOTE Tableau noir */
.tableau-noir {
    position: relative;
    padding:20px 10px;
    color:#fff;
    width: 100%;
    border: tan solid 12px;
    border-top: #bda27e solid 12px;
    border-left: #b19876 solid 12px;
    border-bottom: #c9ad86 solid 12px;
    box-shadow: 0px 0px 6px 5px rgba(58, 18, 13, 0), 0px 0px 0px 2px #c2a782, 0px 0px 0px 4px #a58e6f, 3px 4px 8px 5px rgba(0, 0, 0, 0.5);
    background-image: radial-gradient( circle at left 30%, rgba(34, 34, 34, 0.3), rgba(34, 34, 34, 0.3) 80px, rgba(34, 34, 34, 0.5) 100px, rgba(51, 51, 51, 0.5) 160px, rgba(51, 51, 51, 0.5)), linear-gradient( 215deg, transparent, transparent 100px, #222 260px, #222 320px, transparent), radial-gradient( circle at right, #111, rgba(51, 51, 51, 1));
    background-color: #333;
}

.tableau-noir:before {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient( 175deg, transparent, transparent 40px, rgba(120, 120, 120, 0.1) 100px, rgba(120, 120, 120, 0.1) 110px, transparent 220px, transparent), linear-gradient( 200deg, transparent 80%, rgba(50, 50, 50, 0.3)), radial-gradient( ellipse at right bottom, transparent, transparent 200px, rgba(80, 80, 80, 0.1) 260px, rgba(80, 80, 80, 0.1) 320px, transparent 400px, transparent);
    border: #2c2c2c solid 2px;
    font-size: 2.2em;
    color: rgba(238, 238, 238, 0.7);
    text-align: center;
    padding-top: 20px;
}

.papier {
    background:url('../../assets/img/texture-papier.jpg') repeat;
    transform: rotate(1deg);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
    color: rgba(0,0,0,0.8);
    font-family: "AustralisProSwash-Italic";
    width: 100%;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    padding: 20px;
  }
  .lettrine {
    color: rgba(0,0,0,0.7);
    float:left;
    font-size: 6em;
    line-height: 60px;
    padding-right: 12px;
    position:relative;
    top:8px;
  }


/* !SECTION - CLOSE Page village */
/* -------------------------------------------------------------------------- */

/* SECTION FOND NUAGEUX */
/* -------------------------------------------------------------------------- */
#fond-nuageux{
	padding: 100px 0 0;
	background-color: rgba(0,0,0,0.7);
    background-attachment: fixed;background-size:100% auto;
}

#fond-ciel-bleu{
	padding: 100px 0;
	background: #c9dbe9;
	background: -webkit-linear-gradient(top, #c9dbe9 0%, #fff 100%);
	background: -linear-gradient(top, #c9dbe9 0%, #fff 100%);
	background: -moz-linear-gradient(top, #c9dbe9 0%, #fff 100%);
}

/*Time to finalise the cloud shape*/
.nuage {
	width: 300px; height: 90px;
	background: #000;
	
	border-radius: 300px;
	-moz-border-radius: 300px;
	-webkit-border-radius: 300px;
	
	position: absolute; 
}

.nuage-blanc, .nuage-blanc:before, .nuage-blanc:after {
	background: #fff !important;
}

.nuage:before, .nuage:after {
	content: '';
	position: absolute; 
	background: #000;
	width: 150px; height: 120px;
	position: absolute; top: -30px; left: 10px;
	
	border-radius: 150px;
	-moz-border-radius: 150px;
	-webkit-border-radius: 150px;
	
	-webkit-transform: rotate(30deg);
	transform: rotate(30deg);
	-moz-transform: rotate(30deg);
}

.nuage:after {
	width: 175px; height: 180px;
	top: -85px; left: auto; right: 15px;
}

/*Time to animate*/
.x1 {
	-webkit-animation: moveclouds 15s linear infinite;
	-moz-animation: moveclouds 15s linear infinite;
	-o-animation: moveclouds 15s linear infinite;
}

/*variable speed, opacity, and position of clouds for realistic effect*/
.x2 {
	left: 300px;
	
	-webkit-transform: scale(0.6);
	-moz-transform: scale(0.6);
	transform: scale(0.6);
	opacity: 0.4; /*opacity proportional to the size*/
	
	/*Speed will also be proportional to the size and opacity*/
	/*More the speed. Less the time in 's' = seconds*/
	-webkit-animation: moveclouds 25s linear infinite;
	-moz-animation: moveclouds 25s linear infinite;
	-o-animation: moveclouds 25s linear infinite;
}

.x3 {
	left: -360px; top: 300px;
	
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0.6; /*opacity proportional to the size*/
	
	-webkit-animation: moveclouds 20s linear infinite;
	-moz-animation: moveclouds 20s linear infinite;
	-o-animation: moveclouds 20s linear infinite;
}

.x4 {
	left: 600px; top: 360px;
	
	-webkit-transform: scale(0.75);
	-moz-transform: scale(0.75);
	transform: scale(0.75);
	opacity: 0.56; /*opacity proportional to the size*/
	
	-webkit-animation: moveclouds 18s linear infinite;
	-moz-animation: moveclouds 18s linear infinite;
	-o-animation: moveclouds 18s linear infinite;
}

.x5 {
	left: -150px; top: 150px;
	
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0.6; /*opacity proportional to the size*/
	
	-webkit-animation: moveclouds 20s linear infinite;
	-moz-animation: moveclouds 20s linear infinite;
	-o-animation: moveclouds 20s linear infinite;
}



@-webkit-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}
@-moz-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}
@-o-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}
/* -------------------------------------------------------------------------- */
/* !SECTION FOND NUAGEUX */

@media screen and (max-height: 830px) {

    #accueil-s1-h1 {font-size:40px;}

}