@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
}

:root {
  --primary-color: #b700ff;
  --secondary-color: #0099ff;
  --tertiary-color: #00ffcc;
  --quaternary-color: #00ff6a;
  --grey-color: #8886;
  --background-color: rgb(33, 33, 33);

  --title-font: "Montserrat";
  --text-font: "Nunito";
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-left: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--background-color);
}

main{
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Header Section */
#entete {
  padding-top: 50px;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entete-title {
  width: 400px;
  text-align: center;
  font-family: var(--title-font);
  font-size: 30px;
  font-weight: 800;
  color: white;
}

#entete h2{
  color: white;
  font-family: var(--title-font);
  margin-left: 20px;
}

.calendar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: auto;
}

.range-date-value {
  font-family: var(--title-font);
  color: white;
  font-weight: 800;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: center;
}

.range-date-day {
  font-size: 150px;
}

.range-date-month {
  text-transform: capitalize;
  font-size: 40px;
}

.range-date-year {
  font-size: 80px;
}

input[type="range"] {
  appearance: none;
  width: 300px;
  height: 15px;
  border-radius: 15px;
  background: #3e3038;
  background: linear-gradient(
    90deg,
    #b700ff 0%,
    #0099ff 100%,
    #00ff6a 100%,
    #3e3038 100%
  );
  -webkit-appearance: none;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 30px;
  width: 30px;
  background: #ffffff;
  border-radius: 90px;
  box-shadow: 0 0 13px 0 #ffffff;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  appearance: none;
  -webkit-appearance: none;
  height: 30px;
  width: 30px;
  background: #ffffff;
  border-radius: 90px;
  box-shadow: 0 0 13px 0 #ffffff;
  cursor: pointer;
  border: 0;
}

.sub-text-date {
  font-family: var(--title-font);
  color: white;
}

/* Container content section */

.container-content {
  margin-top: 50px;
  padding: 0px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  justify-content: space-evenly;
}

fieldset {
  padding: 20px;
  border-radius: 20px;
}

legend {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--title-font);
  font-size: 30px;
  padding-inline: 20px;
  font-weight: bold;
}

.content-section {
  padding: 50px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Avancement Section */
.avancement {
  position: relative;
  width: 625px;
  height: 625px;
}

.scale-avancement {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 750px;
  height: 750px;
  transform: translate(-50%, -50%) scale(0.7);
}

.sub-avancement {
  position: absolute;
  transform: rotate(-90deg);
  width: 750px;
  height: 750px;
}

.avancement-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.planification-svg {
  width: 300px;
  height: 300px;
}
.developpement-svg {
  width: 450px;
  height: 450px;
}
.test-svg {
  width: 600px;
  height: 600px;
}
.documentation-svg {
  width: 750px;
  height: 750px;
}

.avancement-progress {
  fill: none;
  stroke-width: 10px;
  transition: stroke-dashoffset 0.5s ease-out;
}

/* Adjusted stroke-dasharray and stroke-dashoffset for better visualization */
.planification-progress {
  stroke: var(--quaternary-color);
  stroke-dasharray: 880;
  stroke-dashoffset: 880;
}
.developpement-progress {
  stroke: var(--tertiary-color);
  stroke-dasharray: 1320;
  stroke-dashoffset: 1320;
}
.test-progress {
  stroke: var(--secondary-color);
  stroke-dasharray: 1760;
  stroke-dashoffset: 1760;
}
.documentation-progress {
  stroke: var(--primary-color);
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
}

.avancement-sub-progress {
  fill: none;
  stroke-width: 3px;
}

/* Adjusted stroke-dasharray and stroke-dashoffset for better visualization */
.planification-sub-progress {
  stroke: var(--grey-color);
  stroke-dasharray: 880;
  stroke-dashoffset: 220;
}
.developpement-sub-progress {
  stroke: var(--grey-color);
  stroke-dasharray: 1320;
  stroke-dashoffset: 330;
}
.test-sub-progress {
  stroke: var(--grey-color);
  stroke-dasharray: 1760;
  stroke-dashoffset: 440;
}
.documentation-sub-progress {
  stroke: var(--grey-color);
  stroke-dasharray: 2200;
  stroke-dashoffset: 550;
}

.avancement-titles-zone {
  position: absolute;
  top: 14px;
  left: 160px;

  display: flex;
  flex-direction: column;
  gap: 46px;

  font-family: var(--title-font);
  font-weight: 500;
  font-size: 20px;
  color: white;
  text-transform: uppercase;
  text-align: right;
}

.avancement-values-zone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.avancement-values {
  width: 60px;
  font-family: var(--title-font);
  font-weight: 500;
  font-size: 20px;
  text-align: center;
}

.documentation-values {
  color: var(--primary-color);
}
.test-values {
  color: var(--secondary-color);
}
.developpement-values {
  color: var(--tertiary-color);
}
.planification-values {
  color: var(--quaternary-color);
}

/* Adjusted class name */
.grey-values {
  color: var(--grey-color);
}

/* Qualité Section */
.qualite {
  width: min-content;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sub-qualite {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.users-zone {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.user-title {
  margin-top: 31px;
  font-family: var(--title-font);
  font-size: 23px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
}

/* Emoji icons*/
.tres-heureux {
  background: url("images/users-tres-heureux.png");
  transition: transform 0.15s ease;
}
.heureux {
  background: url("images/users-heureux.png");
  transition: transform 0.15s ease;
}
.neutre {
  background: url("images/users-neutre.png");
  transition: transform 0.15s ease;
}
.en-colere {
  background: url("images/users-en-colere.png");
  transition: transform 0.15s ease;
}

.user-value {
  width: 100px;
  height: 100px;
  background-size: 100px;
}

/* Bug-Sécurité Section */
.bug-securite-section {
  display: flex;
  gap: 20px;
}

.bug {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cancel {
  background: url("images/bug-cancel.png");
  transition: transform 0.15s ease;
}
.check {
  background: url("images/bug-check.png");
  transition: transform 0.15s ease;
}
.loading {
  background: url("images/bug-loading.png");
  transition: transform 0.15s ease;
}
.alert {
  background: url("images/bug-alert.png");
  transition: transform 0.15s ease;
}

.bug-value {
  width: 200px;
  height: 200px;
  background-size: 160px;
  background-position: center;
  background-repeat: no-repeat;
}

.bug-title {
  margin-top: 20px;
  font-family: var(--title-font);
  font-size: 25px;
  font-weight: 600;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.securite {
  position: relative;
}

.security-img-container {
  position: relative;
  height: 200px;
  width: 200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 60px;
}

.security-img-small {
  display: none;
  width: 60px;
  height: 60px;
}

.security-img-large {
  padding-top: 10px;
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
}

.security-title {
  margin-top: 20px;
  font-family: var(--title-font);
  font-size: 25px;
  font-weight: 600;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

/* Fonctionnement Section */
.fonctionnement {
  width: min-content;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.charge-travail {
  position: relative;
  height: 400px;
  width: 625px;
}

.charge-travail-book-zone {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translate(-50%);
  display: flex;
}

.charge-travail-img-desk {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-54%);
  margin-left: 25px;
  width: 350px;
}

.charge-travail-book {
  width: 65px;
  transform: scale(0);
  transition: transform .2s ease;
}

.charge-travail-title {
  margin-top: 275px;
  font-family: var(--title-font);
  font-size: 25px;
  font-weight: 600;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.motivation {
  position: relative;
  height: 405px;
  width: calc(50% - 10px);
}

.motivation-img-zone {
  position: relative;
}

.motivation-img {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}

.motivation-foudre {
  width: 100px;
  top: 130px;
  transition: opacity .5s ease;
}

.motivation-goutte-zone {
  top: 130px;
  transition: opacity .5s ease;
}

.motivation-goutte{
  width: 40px;
}

.motivation-nuage {
  top: -30px;
  width: 180px;
  transition: opacity .5s ease, transform .3s ease;
}

.motivation-soleil {
  top: 25px;
  width: 180px;
  opacity: 0;
  transition: opacity .5s ease;
}

.motivation-title {
  margin-top: 275px;
  font-family: var(--title-font);
  font-size: 25px;
  font-weight: 600;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.communication {
  position: relative;
  width: calc(50% - 10px);
}

.communication-img-zone {
  position: relative;
  width: 100%;
}

.communication-img {
  position: absolute;
}

.communication-group {
  width: 50px;
}

.communication-group-1 {
  left: 0;
}

.communication-group-2 {
  right: 0;
}

.communication-group-3 {
  left: 0;
  top: 170px;
}

.communication-group-4 {
  right: 0;
  top: 170px;
}

.communication-files {
  width: 30px;
}

.communication-files-1 {
  left: 10px;
  top: 10px;
  animation: opacityChange 3s infinite, fileTrajet1 6s infinite ease-in-out;
}

.communication-files-2 {
  left: 10px;
  top: 10px;
  animation: opacityChange 3s infinite, fileTrajet2 6s infinite ease-in-out;
  animation-play-state: paused;
}

.communication-files-3 {
  left: 10px;
  top: 10px;
  animation: opacityChange 3s infinite, fileTrajet3 6s infinite ease-in-out;
  animation-play-state: paused;
}

.communication-files-4 {
  right: 10px;
  top: 180px;
  animation: opacityChange 3s infinite, fileTrajet4 6s infinite ease-in-out;
  animation-play-state: paused;
}

.communication-files-5 {
  right: 10px;
  top: 180px;
  animation: opacityChange 3s infinite, fileTrajet5 6s infinite ease-in-out;
  animation-play-state: paused;
}

.communication-files-6 {
  right: 10px;
  top: 10px;
  animation: opacityChange 3s infinite, fileTrajet6 6s infinite ease-in-out;
  animation-play-state: paused;
}

.communication-animation-active {
  animation-play-state: running;
}

@keyframes opacityChange {
  0%{ opacity: 0; }
  20% { opacity: 0; }
  35% { opacity: 1; }
  75% { opacity: 1; }
  90% { opacity: 0; }
  100%{ opacity: 0; }
}

@keyframes fileTrajet1 {
  0%{ transform: translateY(10px); }
  50%{ transform: translateY(160px); }
  100%{ transform: translateY(10px); }
}

@keyframes fileTrajet2 {
  0%{ transform: translateX(10px); }
  50%{ transform: translateX(145px); }
  100%{ transform: translateX(10px); }
}

@keyframes fileTrajet3 {
  0%{ transform: translate(7px, 7px); }
  50%{ transform: translate(145px, 165px); }
  100%{ transform: translate(7px, 7px); }
}

@keyframes fileTrajet4 {
  0%{ transform: translateY(10px); }
  50%{ transform: translateY(-160px); }
  100%{ transform: translateY(-10px); }
}

@keyframes fileTrajet5 {
  0%{ transform: translateX(-15px); }
  50%{ transform: translateX(-135px); }
  100%{ transform: translateX(-15px); }
}

@keyframes fileTrajet6 {
  0%{ transform: translate(-7px, -7px); }
  50%{ transform: translate(-145px, 165px); }
  100%{ transform: translate(-7px, 7px); }
}

.communication-title {
  margin-top: 275px;
  font-family: var(--title-font);
  font-size: 25px;
  font-weight: 600;
  color: white;
  text-align: center;
  text-transform: uppercase;
}


/* performance section */
.performance {
  width: 625px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.organisation {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.organisation-title {
  font-family: var(--title-font);
  font-size: 25px;
  font-weight: 600;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.organisation>div{
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
}

.colonne-jira{
  display: flex;
  flex-direction: column;
  height: 250px;
  border: var(--secondary-color) solid;
  width: 30%;
  border-radius: 20px;
}

.colonne-jira p{
  color: black;
  font-family: var(--text-font);
  font-size: 25px;
  border-bottom: var(--secondary-color) solid;
  text-align: center;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 10px 10px 0 0;
}

.colonne-jira>p+div{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 8px;
  padding-top: 8px;
}

.colonne-jira>p+div div{
  width: 90%;
  height: 40px;
  border-radius: 10px;
}

#aFaire div{
  background-color: var(--quaternary-color);
  
}

#enCours div{
  background-color: var(--tertiary-color);
}

#fini div{
  background-color: var(--primary-color);
}

.activite {
  height: 405px;
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.activity-discord-img-zone {
  position: relative;
}

.activity-discord-img {
  width: 200px;
}

.activity-circle-notif {
  position: absolute;
  right: 10px;
  bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgb(255, 27, 27);
  font-family: var(--title-font);
  font-size: 27px;
  font-weight: 800;
  color: white;
}

.taille {
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.taille-img-zone {
  height: 203.5px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.taille-img-user {
  width: 30px;
  transition: transform .5s ease;
}

.activite-title, .taille-title {
  margin-top: 40px;
  font-family: var(--title-font);
  font-size: 25px;
  font-weight: 600;
  color: white;
  text-align: center;
  text-transform: uppercase;
}


