/**********************/
/*********Fond*********/
/**********************/

body:before{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#e91E63, #ffc107);
    clip-path: circle(22% at 30% 20%);
    z-index: -1;
}

body:after{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#ffffff, #da00ff);
    clip-path: circle(20% at 70% 90%);
    z-index: -1;
}

/**********************/
/****Partie 1 Texte****/
/**********************/

.part1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px;
    width: 100%;
    color: #fff;
    z-index: 5;
}

.part1 img{
    margin-top: 150px;
    z-index: 3;
    width: 90%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(25px);
    margin-bottom: 10%;
}

.container{
    z-index: 2;
    top: 35vh;
    left: 15vw;
    width: 90%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(25px);
}

.container::before{
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    transform: skewX(-15deg);
}

.part1 .container h1{
    font-size: 30px;
}

.part1 .container p{
    text-align: justify;
    margin-top: 10px;
}

.part1 .container ul li{
    margin-left: 20px;
}

/**********************/
/****Partie 1 bouton***/
/**********************/

.part1 a{
    position: relative;
    padding: 2%;
    width: 150px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    box-sizing: border-box;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    border-radius: 30px;
    z-index: 1;
  }
  
  .bouton:hover{
    animation: anim 8s linear infinite;
  }
  
  @keyframes anim{
    0%{
      background-position: 0%;
    }
    100%{
      background-position: 400%;
    }
  }
  
  .bouton:before{
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    border-radius: 40px;
    opacity: 0;
    transition: 0.5s;
  }
   
  .bouton:hover:before{
    filter: blur(20px);
    opacity: 1;
    animation: anim 8s linear infinite;
  }

/**********************/
/****Partie 2 Carte****/
/**********************/

.part2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-top: 20%;
}

.part2 h2{
    margin-bottom: 3%;
    font-size: 30px;
    color: #fff;
    z-index: 3;
}

.part2 .conteneur{
    width: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1;
}

.part2 .conteneur .carte{
    position: relative;
    width: 210px;
    height: 240px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    text-align: center;
}

.percent{
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: inset 0 0 50px #000;
    z-index: 5;
}

.percent .number{
    position: absolute;
    top: 27%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    border-radius: 50%;
}

/*.percent .number h3{
    color: #fff;
    font-weight: 700;
    transition: 0.5s;
    font-size: 60px;
    transform: translateY(-15px);
}

.percent .number h3 span{
    font-size: 24px;
    color: #fff;
    transition: 0.5s;
}*/

.percent .number img{
    width: 50%;
    height: 50%;
}

.text{
    position: relative;
    color: #fff;
    margin-top: 20px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.5s;
}

svg{
    position: relative;
    width: 150px;
    height: 150px;
    z-index: 5;
}

svg circle{
    width: 100%;
    height: 100%;
    fill:none;
    stroke: #191919;
    stroke-width: 10;
    stroke-linecap: round;
    transform: translate(5px,5px);
}

svg circle:nth-child(2){
    stroke-dasharray: 0 100 100;
    stroke-dashoffset: 0;
    transition: 0.5s;
}

.carte:nth-child(1) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #F16529;
}

.carte:nth-child(2) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #2965F1;
}

.carte:nth-child(3) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #EFBE24;
}

.carte:nth-child(4) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #777BB3;
}

.carte:nth-child(5) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #FFE56C;
}

.carte:nth-child(6) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #31A8FF;
}

.carte:nth-child(7) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #FF9A00;
}

.carte:nth-child(8) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #FF3366;
}

.carte:nth-child(9) svg circle:nth-child(2){
    stroke-dashoffset: 100;
    stroke: #9999FF;
}

.timeline {
    max-width: 800px;
    margin: 50px;
    padding: 20px;
    position: relative;
}

.timeline h2 {
    margin-bottom: 3%;
    font-size: 3em;
    color: #fff;
    z-index: 3;
}

.timeline-container {
    position: relative;
    padding-left: 50px;
    border-left: 2px solid #3498db;
}

.timeline-item {
    position: relative;
    margin: 20px 0;
}

.timeline-date {
    z-index: 2;
    position: absolute;
    left: -80px;
    top: 0;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.timeline-content {
    padding: 15px;
    padding-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(25px);
    color: #fff;
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #fff;
}

.timeline-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/**********************/
/****Partie 3 Carte****/
/**********************/

.part3{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20%;
}

.part3 h2{
    margin-bottom: 3%;
    font-size: 30px;
    color: #fff;
    z-index: 3;
}

.part3 .conteneur{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    flex-wrap: wrap;
    z-index: 1;
}

.part3 .conteneur .carte{
    position: relative;
    width: 280px;
    height: 400px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.part3 .conteneur .carte .contenue{
    padding: 20px;
    text-align: center;
    transform: translateY(0px);
    transition: 0.5s;
}

.part3 .conteneur .carte .contenue img{
    position: absolute;
    top: -25px;
    right: 20px;
    width: 8em;
    opacity: 0.25;
    pointer-events: none;
}

.part3 .conteneur .carte .contenue h3{
    font-size: 1.8em;
    color: #fff;
    z-index: 1;
}

.part3 .conteneur .carte .contenue p{
    font-size: 1em;
    color: #fff;
    font-weight: 300;
}

.part3 .conteneur .carte .contenue a{
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    margin-top: 15px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba( 0, 0, 0, 0.2);
}