@import url("https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap");
body {
  font-family: basiic;
  src: url(basiic.ttf);
  font-size: 14px;
  margin: 0;
  padding: 12px;
}

@font-face {
  font-family: basiic;
  src: url(basiic.ttf);
}
.outer {
  width: 1000px;
  height: 999px;
  border: 1px solid #ff00c5;
  padding: 6px;
  background-image: url("1.jpg");

  margin: auto;
}

.title {
  border: 1px solid #ff00c5;
  display: inline-block;
  vertical-align: top;
  width: 300px;
  height: 200px;
  margin-bottom: 6px;
  background-image: url("2.png");
}

.site-title {
  font-family: "Gloria Hallelujah", sans-serif;
  font-size: 50px;
  text-align: center;
  padding-top: 50px;
  box-sizing: border-box;
}

.site-title,
.site-title a {
  transition: 0.2s ease;
  color: black;
  font-size: 2em;
}
.site-title:hover,
.site-title a:hover {
  color: hotpink;
}

.site-subtitle {
  text-align: center;
}

.banner-wrapper {
  display: inline-block;
  vertical-align: top;
  width: 540px;
  height: 200px;
}

.banner {
  border: 1px solid #ff00c5;
  display: inline-block;
  vertical-align: top;
  width: 690px;
  height: 170px;
  background-image: url("banner.gif");
  background-size: cover;
  background-position: 20%;
}

.scroller {
  border: 1px solid #ff00c5;
  display: inline-block;
  vertical-align: top;
  width: 690px;
  height: 20px;
  background: #fff;
  margin-top: 6px;
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  display: flex;
  line-height: 20px;
}

.marquee span {
  white-space: nowrap;
}

.left {
  display: inline-block;
  vertical-align: top;
  width: 200px;
}

.menu {
  border: 1px solid #ff00c5;
  display: inline-block;
  vertical-align: top;
  padding: 24px;
  box-sizing: border-box;
  background-image: url("4.png");
}

.friends {
  display: inline-block;
  vertical-align: top;
  padding: 24px;
  box-sizing: border-box;
  background: #000;
  color: #fff;
  width: 200px;
  margin-top: 12px;
}

.friends a {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 3px;
}

.friends a:hover {
  text-decoration: underline;
}

.friends h2 {
  font-size: 12px;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
  margin-bottom: 12px;
  border-bottom: 2px dotted #fff;
}

.counter-wrapper {
  text-align: center; /* pour centrer tout ce qui est généré */
  display: block;
}

.small {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
}

.main {
  border: 1px solid #ff00c5;
  display: inline-block;
  vertical-align: top;
  width: 600px;
  height: 550px;
  background: #fff;
}

.main iframe {
  height: 100%;
  width: 100%;
}

.right {
  width: 186px;
  display: inline-block;
  vertical-align: top;
}

.profile {
  border: 1px solid #ff00c5;
  width: 186px;
  height: auto;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
}

.avatar {
  border: 1px solid #ff00c5;
  width: 170px;
  height: 170px;
  margin-bottom: 12px;
  background-image: url("avvy.png");
  background-size: cover; /* Assure que l'image couvre toute la div */
  background-position: center;
}

.avatar:hover {
  background-image: url("avvy2.png");
}

.likes {
  border: 1px solid #000;
  width: 170px;
  height: 170px;
  margin-bottom: 12px;
  background-image: url("5.png");
}

.likes table {
  background: #fff;
  margin: auto;
  margin-top: 22px;
}

.likes th {
  background: #000;
  color: #fff;
  margin: auto;
  margin-top: 22px;
}

.menu a {
  border: 1px solid #fff;
  height: 32px;
  line-height: 30px;
  width: 100%;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  text-align: center;
  position: relative;
  margin-bottom: 12px;
}

.menu a:before {
  content: " ";
  display: inline-block;
  height: 30px;
  width: 30px;
  background: #000;
  border: 2px solid #fff;
  position: absolute;
  left: -1px;
  top: -1px;
}

.pp {
  float: left;
  padding-top: 5px;
  padding-left: 0px;
}

img {
  max-width: 100%;
}

h1 {
  background: #ff00c5;
  color: #fff;
  margin: 0;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 1px;
  margin-top: -6px;
}

h2 {
  font-size: 14px;
  font-weight: 500;
  border-top: 1px dashed #ff00c5;
  border-bottom: 1px dashed #ff00c5;
  color: #ff00c5;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 3px;
}

.drawbox {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}












    .button-container {
      width: 190px;
      display: flex;
      align-items: center;
      border: 1px solid #FF00C5;
      padding: 2px;
      background: #ffffff;
    }

    .button-container img {
      width: 88px;
      height: 31px;
      display: block;
    }

    .embed-wrap {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      margin-left: 2px;
    }

    .embed-wrap input {
      width: 100%;
      font-size: 10px;
      padding: 1px;
      box-sizing: border-box;
    }

    .embed-wrap button {
      font-size: 10px;
      padding: 1px;
      margin-top: 2px;
      cursor: pointer;
    }

    .buttonv {
      font-size: 8px;
      padding: 1px;
      margin-top: 2px;
      cursor: pointer;
    }









a,
nav a {
  display: inline-block;
  transition: transform 0.3s ease;
  color: #ff00c5;
}

a:hover,
nav a:hover {
  transform: translateY(-1.5px);
}

hr.lool {
  border-top: 1px solid #ff00c5;
  margin: 2px auto 3px;
}

#listening {
  display: flex;
  align-items: center;
  gap: 5px;
}

#listening p {
  font-size: 14px;
  margin: 0px;
}

#listening h3 {
  font-size: 18px;
  margin: 0px;
}

#listening img {
  width: 90px;
  height: 90px;
  border-radius: 5px;
}

#listening a img {
  transition: transform 0.2s ease;
}

#listening a:hover img {
  transform: scale(1.1);
  cursor: pointer;
}

#hover-image:hover {
  content: url("https://files.catbox.moe/klmz4l.png");
  z-index: 30px;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.floating {
  animation: floating 2s ease-in-out infinite;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;

  text-decoration: underline dotted #ff00c5;
  text-underline-offset: 2px;
}

.tooltiptext {
  visibility: hidden;
  width: max-content;
  background-color: #ff00c5;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* position au-dessus */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.9);
  }

  100% {
    transform: translateX(-50%) translateY(0px) scale(1);
  }
}

video#bg-video {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
    opacity: 0.27861;
  }
  5% {
    opacity: 0.34769;
  }
  10% {
    opacity: 0.23604;
  }
  15% {
    opacity: 0.10626;
  }
  20% {
    opacity: 0.18128;
  }
  25% {
    opacity: 0.10626;
  }
  30% {
    opacity: 0.18128;
  }
  35% {
    opacity: 0.23604;
  }
}

#content {
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease; /* animation douce */
}




.transparent {
  will-change: transform, opacity;
  opacity: 0.5;
  text-shadow: 
    2px 0 red, 
    -2px 0 blue, 
    1px 1px lime;

}






#slideshow {
  width: 300px;
  height: auto;
  margin: auto;
  text-align: center;
  position: relative;
}

#slideshow img {
  position: absolute;
  top: 5px;
  left: 45px; /* Décalage vers la droite */
  max-width: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: transform 0.8s ease;
}

#slideshow img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.pop {
  font-size: 2em;
  color: #000;
  text-align: center; /* looks weird often if not aligned in center */
  -webkit-animation: pop 1s ease-in-out infinite alternate;
  -moz-animation: pop 1s ease-in-out infinite alternate;
  animation: pop 1s ease-in-out infinite alternate;
}

@keyframes pop {
  from {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1);
  }
  to {
    transform: scale(0.95);
  }
}

@-webkit-keyframes pop {
  from {
    -webkit-transform: scale(0.95);
  }
  50% {
    -webkit-transform: scale(1);
  }
  to {
    -webkit-transform: scale(0.95);
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}

::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-track {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAFElEQVQIW2M4fPz0////GYAYyAIASnoKpV3w4kgAAAAASUVORK5CYII=");
  image-rendering: pixelated;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

::-webkit-scrollbar-track:active {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAEElEQVQIW2No6+pjgAAgCwAWogM9VKrgGQAAAABJRU5ErkJggg==");
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

::-webkit-scrollbar-thumb {
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
  width: 16px;
  height: 16px;
  background-color: #cccccc;
  z-index: 1;
}

::-webkit-scrollbar-corner {
  background-color: #cccccc;
}

::-webkit-resizer {
  width: 16px;
  height: 16px;
  background-color: #cccccc;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAN0lEQVR4Ae3MgQUAMBRDwU5fFF05lb/CARTBw2Ulof0DxPtcwp3hNuEYnjbcEW4TjuFpwx3h9gMWGgZ2Y/PT2gAAAABJRU5ErkJggg==");
  background-position: bottom right;
  background-repeat: no-repeat;
  image-rendering: pixelated;
}

::-webkit-scrollbar-button,
.scroll::-webkit-scrollbar-button {
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
  display: block;
  width: 16px;
  height: 16px;
  background-color: #cccccc;
  image-rendering: pixelated;
  background-repeat: no-repeat;
  background-position: center center;
}

::-webkit-scrollbar-button:active,
.scroll::-webkit-scrollbar-button:active {
  background-position: 2px 2px;
}

::-webkit-scrollbar-button:horizontal:decrement,
.scroll::-webkit-scrollbar-button:horizontal:decrement {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHklEQVQY02NgoBT8xyX8H5fwf1zCpOjAYwceV1EEAAO2D/HsQ4vsAAAAAElFTkSuQmCC");
}

::-webkit-scrollbar-button:horizontal:increment,
.scroll::-webkit-scrollbar-button:horizontal:increment {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHUlEQVQY02NgIB/8xy3xH7fEf9wS/0nUQZqrKAYAK44P8ZRmzLQAAAAASUVORK5CYII=");
}

::-webkit-scrollbar-button:vertical:decrement,
.scroll::-webkit-scrollbar-button:vertical:decrement {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGklEQVR4AWMYxuA/SYphmETFhDX9x4mHGQAAcL4P8dQiMq8AAAAASUVORK5CYII=");
}

::-webkit-scrollbar-button:vertical:increment,
.scroll::-webkit-scrollbar-button:vertical:increment {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAF0lEQVQY02NgoBf4jwJxSOHQhcNAOgMAWWAP8Rv2U3UAAAAASUVORK5CYII=");
}

::-webkit-scrollbar-button:horizontal:increment:start,
.scroll::-webkit-scrollbar-button:horizontal:increment:start {
  display: none;
}

::-webkit-scrollbar-button:horizontal:decrement:end,
.scroll::-webkit-scrollbar-button:horizontal:decrement:end {
  display: none;
}

::-webkit-scrollbar-button:vertical:increment:start,
.scroll::-webkit-scrollbar-button:vertical:increment:start {
  display: none;
}

::-webkit-scrollbar-button:vertical:decrement:end,
.scroll::-webkit-scrollbar-button:vertical:decrement:end {
  display: none;
}

::-webkit-scrollbar-button:active,
.scroll::-webkit-scrollbar-button:active {
  border-top: 1px solid #868a8e;
  border-left: 1px solid #868a8e;
  border-bottom: 1px solid #868a8e;
  border-right: 1px solid #868a8e;
  box-shadow: none;
}








#melonland-surf-club {
  position: fixed;
  bottom: 5px;
  right: 5px;
      width: 20px;
    height: 20px;
  z-index: 1; /* Pour s'assurer qu'il soit au-dessus des autres éléments */
}






#open-btn {
  position: fixed; /* au lieu de absolute */
  top: 50%;
  left: 5px; /* le coller au bord gauche de l'écran */
  transform: translateY(-50%);
  z-index: 1001;

  padding: 0;
  background-color: #ff00c5;
  color: white;
  border: none;
  cursor: pointer;

  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;

  transition: transform 0.3s;
}


    #side-window {
      position: fixed;
      top: 20px;
left: -369px; /* Cache complètement la fenêtre */
      width: 369px;
      height: calc(100% - 40px);
      background-color: #fff;
      border: 1px solid #ff00c5;

      transition: left 0.3s ease-in-out;
      padding: 20px;
      box-sizing: border-box;
      z-index: 1000;
      border-radius: 0px;

  overflow-y: auto;

    }




    #side-window.open {
      left: 20px;
    }

#server-status {
  position: fixed;
  top: 0px;
  right: 0px;
  color: #000000;
  padding: 8px 12px;
  border-radius: 0px;
  font-family: sans-serif;
  font-size: 13px;
  z-index: 9999;
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}
#server-status .label {
  opacity: 0.6;
  margin-right: 3px;
}
#server-status.online {
  border-left: 4px solid #4caf4f00;
}
#server-status.offline {
  border-left: 4px solid #f4433600;
}

/* Conteneur principal du bandeau */
.banner-container {
  position: fixed; /* Garde le bandeau visible lors du scroll initial */
  bottom: 0;
  font-family: rubik;
  left: 0;
  width: 100%;
  background-color: #0671D9; /* Couleur de fond du bandeau */
  color: #FBD913; /* Couleur du texte */
  border: 4px solid #FBD913;
    z-index: 5;
  overflow: hidden; /* Cache le texte qui dépasse */
  padding: 4px 0;
  transition: transform 0.5s ease-in-out; /* Pour une disparition en douceur */
    display: flex;

}

/* La piste qui contient TOUT le texte et qui va être animée */
.banner-track {
  /* Aligne tous les spans sur une seule ligne */
  display: flex;
  /* Empêche le texte de revenir à la ligne */
  white-space: nowrap;
  /* L'animation qui va bouger la piste */
  animation: bullet-train 30s linear infinite;
}

/* Style pour chaque morceau de texte (optionnel mais propre) */
.banner-track span {
  font-size: 10px; /* Ajustez la taille du texte si besoin */
}

/* L'animation revue et corrigée */
@keyframes bullet-train {
  0% {
    /* Démarre à la position initiale */
    transform: translateX(0);
  }
  100% {
    /* 
     * Déplace la piste vers la gauche d'une distance égale à la moitié de sa largeur.
     * Puisque la piste est composée de 4 spans (2 paires identiques),
     * la déplacer de 50% de sa largeur donne l'illusion d'une boucle parfaite.
    */
    transform: translateX(-50%);
  }
}

/* La classe pour cacher le bandeau au scroll reste la même */
.banner-hidden {
  transform: translateY(100%);
}



  #mobile-warning {
    position: fixed;
    inset: 0;
    background: black;
    color: white;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2em;
    font-family: sans-serif;
    font-size: 1.2em;
  }
