@charset "utf-8";

@font-face {
	font-family: '"Encode Sans Semi Condensed", sans-serif';
	src: url('/fonts/EncodeSans-Regular.ttf') format('truetype'),
		 url('/fonts/EncodeSans-SemiBold.ttf') format('truetype'),
}

 /*‾‾‾‾‾‾‾‾‾‾*\
|*  GENERAL  *|
\*__________*/

* {
    scroll-behavior: smooth;
	/* Couleurs zoning */
    --blue-light-extra: #d8ebff;
    --blue-light: #89c4ff;
    --blue-neutral: #0080ff;
    --blue-dark: #004589;
	--blue-dark-extra: #001e3b;
	/* Couleurs charte graphique */
    --chart-light-extra: #d8ebff;
    --chart-neutral: #2a4c9c;
	--chart-dark: #1d213a;
	--chart-dark-extra: rgb(13, 7, 45);
}


* { box-sizing: border-box; }


html, body, #container {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Encode Sans Semi Condensed", sans-serif;
    font-weight: 500;
    font-size: 16px;
}
body {
    background-image: url('/img/background-sparka.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
    display: flex;
    min-height: 500px;
    overflow: visible;
}

/*texte*/
h1, p, a, span, button, label, input {
    font-family: "Encode Sans Semi Condensed", sans-serif;
    font-weight: 500;
    font-size: 16px;
}
p, a {
    margin: 0px;
    padding: 0px;
    height: 100%;
}
a {
    text-decoration: none;
}
ul, li {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

button {
    cursor: pointer;
}

/*******CONSTRUCTEURS********/
#container {
    margin: 5%;
    margin-bottom: 2%;
    height: auto;
    display: flex;
    justify-content: space-between;
}
/*FLEX COLUMN*/
#colone1, #colone2, #statistiques, .progress {
    display: flex;
    flex-direction: column;
}
/**************BOITE ACCESSIBILITE*****/
header {
    display: flex;
    flex-flow: column wrap;
    position: fixed;
    top: 0px;
    width: 100%;
}
.logo-sparka {
    height: auto;
}
header img {
    width: 62px;
    z-index: 10;
}

#ctrcss{
    margin-top: 2rem;
}
   
/***** ACCESSIBILITE *****/
:focus-visible:not(g) {
    outline: 2px solid red;  /* Bordure visible pour le focus */
    outline-offset: 1px;     /* Légèrement décalée du contenu */
}

/*menu latéral*/
#openMenu {
    padding: 10px 20px;
    background-color: #004589;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
}
#customCss {
    padding: 10px;
    background-color: #004589;
    border: 1px rgb(207, 218, 239) solid;
    border-radius: 8px;
    height: auto;
    min-width: 85%;
    margin: 20px;
    display: flex;
    flex-direction: column;
}

#sidebar {
  height: 100%;
  transition: 0.5s ease;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #001e3b;
  padding-top: 60px;
  box-sizing: border-box;
  color: white;
  z-index: 10;
  display: none;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
}

#sidebar img {
 width: 200px;
}

#sidebar .closebtn {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 30px;
    cursor: pointer;
    height: auto;
}

/*POPUP*/
#rules,
#popup {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    right: 0px;
    z-index: 20;
    background: #001e3be3;
    left: 0px;
    bottom: 0px;
    justify-content: center;
    align-items: center;
    display: none;
}
#rules div ,
#popup div {
    background: #007bff;
    padding: 50px;
    width: 445px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
}
#rules div {
    height: auto;
}
#rules div p ,
#popup div p {
    height: auto;
    padding: 5px;
}
#popup div img {
    width: 120px;
    height: 120px;
}
#rules button ,
#popup button {
    width: 160px;
    min-height: 37px;
    position: relative;
    bottom: -14px;
    background: #d8ebff;
    color: #001e3b;
    border-radius: 12px;
    border: 0px;
}
#rules button:hover ,
#popup button:hover {
    width: 160px;
    min-height: 37px;
    position: relative;
    bottom: -14px;
    background: #001e3b;
    color: #d8ebff;
    border-radius: 12px;
    border: 0px;
}