@import url("boxicons/style/boxicons.min.css");
@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=swap);
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../fonts/roboto/KFOlCnqEu92Fr1MmSU5fCRc4EsA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../fonts/roboto/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../fonts/roboto/KFOlCnqEu92Fr1MmSU5fCBc4EsA.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../fonts/roboto/KFOlCnqEu92Fr1MmSU5fBxc4EsA.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../fonts/roboto/KFOlCnqEu92Fr1MmSU5fCxc4EsA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../fonts/roboto/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../fonts/roboto/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../fonts/roboto/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/roboto/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/roboto/KFOmCnqEu92Fr1Mu7mxKOzY.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4WxKOzY.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../fonts/roboto/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../fonts/roboto/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/roboto/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: Material Design Icons;
    src: url("../fonts/materialdesignicons/materialdesignicons.eot");
    src: url("../fonts/materialdesignicons/materialdesignicons.eot?#iefix&v=5.8.55") format("embedded-opentype"),url("../fonts/materialdesignicons/materialdesignicons.woff2") format("woff2"),url("../fonts/materialdesignicons/materialdesignicons.woff") format("woff"),url("../fonts/materialdesignicons/materialdesignicons.ttf") format("truetype");
    font-weight: 400;
    font-style: normal
}


/* Global Styles */
body {
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
 -moz-user-select: none; /* Firefox */
 -webkit-user-select: none; /* Chrome, Safari, Opéra depuis la version 15 */
 -ms-user-select: none; /* Internet explorer depuis la version 10 et Edge */
 user-select: none; /* Propriété standard */

}

header{
  display:none;
}

h2{
  text-transform: uppercase;
  font-family: Roboto, sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
}

h3{
  font-size: 1.015625rem;
  font-weight: 600;
  font-family: Poppins, sans-serif;
  color: rgb(73, 80, 87);
}
/* header {
    background: #A0AEC0;
    color: #002cbd;
    padding: 20px;
    text-align: center;
}
*/
header {
    /*height: 100vh;
    display: flex;
    justify-content: center;*/
    text-align: center;
    align-items: center;
    background: linear-gradient(270deg, #cad1e3, #e4e6ee, #f4f4f5);
    background-size: 600% 600%;
    animation: gradientAnimation 10s ease infinite;
    padding: 10px;
}

header h1 {
    font-size: 22px;
    background: linear-gradient(to right, #002cbd 10%, #001f85 10%, #f40754 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#logo_commandersact{
  width: 40%;
}
#presentation{
  font-family: Roboto, sans-serif;
  font-size: 14px;
  text-align: justify;
}

#intro-text {
    display: block;
    margin-top: 10px;
    font-size: 1.2em;
}

.more-content{
  font-size: 12px;
}

.more-content ul, li{
  list-style-type: none;

}
/* Progress Section */
#progress {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.progress-container {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 20px;
    position: relative;
    height: 22px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #002cbd;
    border-radius: 20px;
    transition: width 0.4s ease;
}

#progress-text {
  position: absolute;
  top: 4px;
  left:0px;
  font-size: 11px;
  font-weight: 400;
  font-family: Roboto, sans-serif;
  color: white;
  opacity: 0.9;
  text-align: center;
  width: 0%;
  transition: width 0.4s ease;
}

/* Badge Section */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
}

.badge {
    width: 35px;
    height: 35px;
    padding: 5px;
    border-radius: 50%;
    background-color: #D3DDFD;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge.unlocked{
    background-color: #002cbd;
}
.badge.unlocked img {
    opacity: 1;
    filter: grayscale(1) brightness(1000000);

}

/* Challenge Section */
.challenge-header {
  background: linear-gradient(90deg,#021f82,#1b46d4);
    padding: 10px 10px 10px 20px;
    cursor: pointer;
    display: block;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
    margin-top: 10px;
    position: relative;
}
.old.challenge .challenge-header {
     background: transparent;
         margin-top: 40px;
}
.old.challenge .challenge-header h3{
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
}
.old.challenge .challenge-header h3,.old.challenge .challenge-header .chalengeProg:after{
     color:#545a6d;
     text-transform: none;

}
.old.challenge {
    margin-bottom: 50px;
}
#oldChallenge button.moreInfo {
    color: #666;
}
span.chalengeProg:after {
  content: "󰅀";
  font-family: Material Design Icons;
  position: absolute;
  right: 6px;
  top: 1px;
  font-size: 14px;
  color: #FFF;
  opacity: 0.9;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.5s ease;
}
.challenge.open span.chalengeProg:after {
  transform: rotate(-180deg);
}
span.chalengeProg {
  //background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: Roboto, sans-serif;
    font-size: 11px;
    color: #FFF;
    position: absolute;
    top: 10px;
    right: 7px;
    padding: 2px 25px 2px 9px;
}
#challenges{
width: 100%;
    overflow: hidden;
  }
.challenge-header h3{
  color:#FFF;
  text-transform: uppercase;
  font-family: Roboto, sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 400;
margin:0px;
float: left;
}

.challenge-header .dropdown-icon{
  color: #FFF;
  float: right;
      height: 10px;
}
.challenge-content {
    display: none;
    padding: 10px;
    border-radius: 5px;
}

.challenge.open .challenge-content {
display:block;
}

.success-card #longDesc, .success-card #helpLink{
  display:none;
}
/* Success Cards */
.success-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}
.successHeader {
  background: linear-gradient(-45deg, #002cbd, #4000BD, #8D06C1, #F40754);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
    display: block;
    width: 100%;
    padding: 15px;
    min-height:145px;
}
.success-card.unlocked .successHeader {
background: linear-gradient(-45deg, #888, #CCC, #AAA, #666);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
}
.success-card.unlocked .validate-button{
  display: none;
}
.success-card h6{
  color: #FFF;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin: 7px auto;
  /* text-align: center; */
  font-weight: normal;
  display: table;
  padding: 2px 11px;
}
.success-card img {
  width: 80px;
      height: auto;
      margin: auto;
      display: block;
      filter: grayscale(1) brightness(1000000);
}
.success-card.unlocked img {

}
.success-card h4 {
  color: #FFF;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0;
}

.success-card p {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    color: grey;
}


@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.card-content {
    padding: 10px;
    text-align: center;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

button {
    background-color: white;
    color: #002cbd;
    font-weight: bold;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
  background-color: white;
  color: #f40754;
  font-weight: bold;
}
button.moreInfo {
    padding: 0 0 25px;
    width: 100%;
}


.validate-button {
    margin-top: 10px;
    color: white;
    background-color: #001f85;
}

 .validate-button:hover   {
    margin-top: 10px;
    color: white;
    background-color: #001f85;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 60px;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px;
}

.close {
  color: #FFF;
font-size: 28px;
position: absolute;
right: 11px;
top: 3px;
cursor: pointer;
}

/* Intro Section */
#toggle-intro {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

#toggle-intro:hover {
    background-color: #0056b3;
}


/* Style du carrousel */
.carousel {
    position: relative;
    width: 100%;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%; /* Important pour assurer la transition fluide */
}

.carousel-item {
    flex: 0 0 50%; /* 3 éléments visibles à la fois */
    box-sizing: border-box;
    padding: 10px;
}

/* Contrôles du carrousel */
.carousel-control {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    transform: translateY(-50%);
}

.carousel-control.prev {
    left: 0px;
}

.carousel-control.next {
  right: 0px;
}
#overlay{
display: none;
}
#overlay.show{
  display: block;
  background-color: rgba(255, 255,255,0.7);
  position: fixed;
  top:0;
  bottom: 0;
  left:0;
  right:0;
  z-index:99999999999;
backdrop-filter: blur(6px);
}
#popin{
  position: absolute;
  top:15px;
  left:15px;
  right: 15px;
  background-color: #FFF;
  border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
#popin #header{
  background: linear-gradient(-45deg, #002cbd, #4000BD, #8D06C1, #F40754);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    display: block;
    width: 100%;
    padding: 15px 0;
    min-height: 140px;
  }
  #overlay.old #popin #header{
    background: linear-gradient(-45deg, #888, #CCC, #AAA, #666);
    }

#popin #header img{
  width: 110px;
  height: auto;
  margin: auto;
  display: block;
  filter: grayscale(1) brightness(1000000);
}
#popin #header h4{
color: #FFF;
text-align: center;
font-family: Roboto, sans-serif;
font-weight: 400;
text-transform: uppercase;
font-size: 21px;
margin: 0;
}
#popin #header h6 {
    color: #FFF;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin: 7px auto;
    font-size: 11px;
    font-weight: normal;
    display: table;
    padding: 2px 11px;
}
#popin .desc {
    padding: 40px;
font-family: Roboto, sans-serif;
line-height: 160%;
font-size: 14px;
}
div#linkContainer {
    margin: 40px 0 0 0;
}

#popin #linkContainer .helpLink {
    padding: 10px 20px;
    background: #EFEFEF;
    text-decoration: none;
    color: #666;
    border-radius: 5px;
    font-size: 12px;
    float: left;
    line-height: 100%;
}
#popin #linkContainer .helpContact {
  padding: 10px 20px;
background: #001f85;
text-decoration: none;
color: #FFF;
border-radius: 5px;
font-size: 12px;
float: right;
line-height: 100%;
}
.bx.bx-archive{
  float: left;
padding-right: 14px;
color: #7f8387;
font-size: 1.25rem;
margin-top: -1px;
}
div#btnToIntro {
    text-align: right;
    font-size: 11px;
    font-family: 'Roboto', sans-serif;
    margin: 5px 10px 0;
    color: #AAA;
    cursor: pointer;
}
#overlay.content #popin{
  padding: 40px;
font-family: Roboto, sans-serif;
line-height: 160%;
font-size: 14px;
color:#545a6d;
}
#overlay.content #popin .close{
  color:#545a6d;
}


.custom-tooltip {
  position: fixed;
  background: #FFF;
  color: #545a6d;
  font-size: 12px;
  padding: 5px 10px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  opacity: 0; /* Initialement invisible */
  transition: opacity 0.3s ease; /* Transition pour l'effet de fade */
}

.custom-tooltip.show {
  opacity: 1; /* Devient visible */
}
