@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}



body{
    background-image: url(./img/background.png);
    background-size: cover; /* Couvre toute la page */
    background-repeat: no-repeat; /* Évite la répétition de l'image */
    height: 100vh;
    overflow: hidden;
    backdrop-filter: blur(1px); /* Effet de flou en arrière-plan */
}

.container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
    border-radius: 15px;
}

.container .slide .item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 15px;
    width: 100%;
    height: 100%;
}


.slide .item:nth-child(3){
    left: 50%;
}
.slide .item:nth-child(4){
    left: calc(50% + 220px);
}
.slide .item:nth-child(5){
    left: calc(50% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6){
    left: calc(50% + 660px);
    opacity: 0;
}



.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: center;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}


.slide .item:nth-child(2) .content{
    display: block;
}


.content .name{
    font-size: 80px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
    font-family: "Jersey 10", sans-serif;
    letter-spacing: 3.5px;
    color: #ffffff;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.1s 1 forwards;
    font-size: 20px;
}

.content button{
    justify-content: center;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.1s 1 forwards;
    background: #83978835;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(5px); /* Effet de flou en arrière-plan */
    transition: background 1s, transform 1s;
    transition: 0.5s;
}

.content button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}




@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}


/* Bonton fleche deplacement */
.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button{
    /* background: rgba(255, 255, 255, 0.2); */
    background: #83978857;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    transition: 0.3s;
    backdrop-filter: blur(5px); /* Effet de flou en arrière-plan */
    transition: background 0.3s, transform 0.3s;
}



.button button:hover{
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}


.button button i{
    color: whitesmoke;
}







/* Pour les petits écrans */
@media (max-width: 768px) {
    .container {
        width: 95%; /* Ajuste la largeur pour les écrans plus petits */
        padding: 15px; /* Réduit le padding */
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .container {
        width: 100%; /* Utilise 100% de la largeur */
        padding: 10px; /* Réduit encore le padding */
    }
}
















/* Styles pour la scrollbar (WebKit) */

::-webkit-scrollbar {
    width: 10px; /* Largeur de la scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: #BAA898 ; /* Couleur du "pouce" de la scrollbar */
    border-radius: 10px; /* Coins arrondis */
}

::-webkit-scrollbar-track {
    background: #EEE0CB; /* Couleur de l'arrière-plan de la scrollbar */
}













/* GLOW BUTTON








.glow-button {
    --button-background: #09041e;
    --button-color: #fff;
    --button-shadow: rgba(33, 4, 104, 0.2);
    --button-shine-left: rgba(120, 0, 245, 0.5);
    --button-shine-right: rgba(200, 148, 255, 0.65);
    --button-glow-start: #b000e8;
    --button-glow-end: #009ffd;
  
    appearance: none;
    outline: none;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    border-radius: 11px;
    position: relative;
    line-height: 24px;
    cursor: pointer;
    color: var(--button-color);
    padding: 0;
    margin: 0;
    background: none;
    z-index: 1;
    box-shadow: 0 8px 20px var(--button-shadow);
  
    .gradient {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      overflow: hidden;
      -webkit-mask-image: -webkit-radial-gradient(white, black);
      transform: scaleY(1.02) scaleX(1.005) rotate(-0.35deg);
  
      &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        transform: scale(1.05) translateY(-44px) rotate(0deg) translateZ(0);
        padding-bottom: 100%;
        border-radius: 50%;
        background: linear-gradient(
          90deg,
          var(--button-shine-left),
          var(--button-shine-right)
        );
        animation: rotate linear 2s infinite;
      }
    }
  
    span {
      z-index: 1;
      position: relative;
      display: block;
      padding: 10px 0;
      width: 132px;
      border-radius: inherit;
      background-color: var(--button-background);
      overflow: hidden;
      -webkit-mask-image: -webkit-radial-gradient(white, black);
  
      &:before {
        content: "";
        position: absolute;
        left: -16px;
        top: -16px;
        transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px))
          translateZ(0);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: var(--button-glow, transparent);
        opacity: var(--button-glow-opacity, 0);
        transition: opacity var(--button-glow-duration, 0.5s);
        filter: blur(20px);
      }
    }
  
    &:hover {
      --button-glow-opacity: 1;
      --button-glow-duration: 0.25s;
    }
  }
  
  @keyframes rotate {
    to {
      transform: scale(1.05) translateY(-44px) rotate(360deg) translateZ(0);
    }
  }
  
  html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
  }
  
  
Center
  body {
    min-height: 100vh;
    display: flex;
    font-family: "Inter", Arial;
    justify-content: center;
    align-items: center;
    background-color: #020112;
    overflow: hidden;
  
    &:before {
      content: "";
      position: absolute;
      inset: 40% -60% 0 -60%;
      background-image: radial-gradient(
        ellipse at bottom,
        #1d0559 0%,
        #020112 50%
      );
      opacity: 0.4;
    }
  }
   */