@font-face {
    font-family: 'TikTokSans';
    src: url('../fonts/TikTokSans_Regular.woff2') format('woff2');
    font-weight: 400;
  }
  
  @font-face {
    font-family: 'TikTokSans';
    src: url('../fonts/TikTokSans_Light.woff2') format('woff2');
    font-weight: 300;
  }
  
  @font-face {
    font-family: 'TikTokSans';
    src: url('../fonts/TikTokSans_Bold.woff2') format('woff2');
    font-weight: 700;
  }
  
  @font-face {
    font-family: 'TikTokSans';
    src: url('../fonts/TikTokSans_Black.woff2') format('woff2');
    font-weight: 900;
  }
  
  
  
  
  
  body {
    margin: 0;
    font-family: 'TikTokSans';
    font-weight: 400;
    background-color: #000;
    color: #fff;
  }


  a{
    color:inherit;
    text-decoration:none;
  }


#content{
   background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}








  /* LOADER */

  #loading {
    position: fixed;
    background: #000;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  

/* Wrapper qui tourne */
.rotating-wrapper {
  animation: spin 2s linear infinite;
  display: inline-block;
  width:120px;
  height:120px;
}

/* Image qui grossit au hover */
.logo-loading {
  width: 120px;
  transition: transform 0.3s ease;
}

.logo-loading:hover {
  transform: scale(1.1);
  cursor:pointer;
}

/* Animation de rotation */
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}





















  
  .hidden {
    display: none;
  }
  
  .padded {
    padding: 40px 20px;
  }
  
  section {
    margin-bottom: 60px;
    text-align: center;
  }
  
  .logo {
    width: 180px;
    margin: 30px auto;
    display: block;
  }
  



















/* SECTION DEMOS */

#demos {
  padding-left:20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.videos-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
}

.demo-card {
  flex: 0 0 85%; /* largeur réduite pour montrer la prochaine carte */
  max-width: 360px;
  background: #111;
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
  scroll-snap-align: start;
  text-align: center;
  color: #fff;
}

.demo-card iframe {
  width: 100%;
  height: 600px;
  border-radius: 8px;
  border: none;
}

.demo-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2em;
}

.demo-card p {
  font-size: 0.9em;
  color: #aaa;
  margin: 0;
}

/* Responsive pour écrans très petits (mobile portrait) */
@media (max-width: 480px) {
  .demo-card {
    flex: 0 0 88%; /* un peu plus étroit pour inciter au scroll */
  }

  .demo-card iframe {
    height: 544px; /* hauteur adaptée mobile */
  }
}

.videos-slider::-webkit-scrollbar {
    display: none;
}










  /* Boutons flèches */
  
  .slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2em;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
  padding: 0px 15px;
  }
  


  .slider-btn img{
    width:10px;
  }



  .slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .slider-btn.left {
    margin-right: 10px;
  }
  
  .slider-btn.right {
    margin-left: 10px;
  }
  
  /* Cacher les flèches sur mobile */
  
  @media (max-width: 768px) {
    .slider-btn {
      display: none;
    }
  }
  













  /* PLAYLISTS */

#playlists{
margin-top:60px;
}


  .playlist-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .playlist {
    width: 200px;
    background: #111;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.6s ease;
  }
  

    .playlist:hover {
    background-color: #1D1D1D;
  }


  .playlistthumbnail {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  
.spotbuttoncontainer{
display:flex;
justify-content:center;
align-items:center;
}


.spotbutton{
background-color:#1DB954;
margin-top: 8px;
text-decoration: none;
color:black;
padding: 6px 15px;
border-radius:100px;
display:flex;
justify-content:center;
align-items:center;
gap:5px;
font-size:15px;
font-weight: 400;
letter-spacing:-0.3px;
}

 .spotilogo{
width:25px !important;
}

 .spotifyletters{
width:50px !important;
margin-top: 0.5px;
margin-bottom: -0.5px;
}


.spotbutton:hover{
transform:scale(0.98);
transition:transform 0.3s ease;
}














/*CONTACT*/




#contact{
  display:flex;
  justify-content:center;
  align-items:center;
}

.contactlinks{

}

#contact a{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:15px;
  margin-top:6px;
  transition:opacity 0.2s ease;
}

#contact a img{
 width:30px;
}

#contact a:hover{
opacity:0.7;
}















   /* Elements au depart a 0 */
.toanim{
    opacity:0;
  }
  
  
  
  
  
 /* Animation fade-in-up */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}




/* Animation fade-in */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}





/* Classes pour appliquer les animations */
.fade-in-up {
  opacity: 0; /* Invisible par défaut */
  animation: fadeInUp 0.5s ease-out forwards;
}


.fade-in {
  opacity: 0; /* Invisible par défaut */
  animation: fadeIn 0.5s ease-out forwards;
}









/* Scrollbar sur Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
  background-color: #2e2e2e; /* gris foncé de fond */
}

::-webkit-scrollbar-track {
  background-color: #2e2e2e;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ffffff, #e0e0e0); /* dégradé blanc */
  border-radius: 10px;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff; /* effet lumineux LED blanc */
}

/* Facultatif : survol pour plus d’intensité */
::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 15px #ffffff, 0 0 30px #ffffff;
}
