/* GLOBAL */
html, body {
  margin: 0;
  position: static;
  width: 100%;
  height: 100%;
  background-color: black;
  font-family: "Times New Roman", serif;
  color: #e27df6;
  text-align: center;
   overflow-x: hidden;
}

/* =====  TEXT ===== */
h2 {
  font-size: clamp(24px, 5vw, 15px);
   z-index: 5;
}

h3 {
  font-size: clamp(16px, 3.5vw, 10px);
   z-index: 5;
}

.text-container {
  text-shadow: 0 0 15px rgba(255,192,203,0.35);
  margin: 20px 0;
  z-index: 4;
 
}

/* =====  TV ===== */
.tv-wrapper {
  position: relative;
  width: 100%;
 
  z-index: 1;
}

.img-tv {
  display: block;
  width: 1080px;
  min-width: 800px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.tv-content {
  z-index: 2;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 130px;

}

.iframVideo {
  width: 100%;
  height: 100%;
  border: none;
}



/* ===== SILHOUETTE  ===== */
.sprite-button {
  display: block;
  position: absolute;
  bottom: -150px;
  left: 49%;
  transform: translateX(-50%);
  width: 550px;
  aspect-ratio: 1 / 1;
  z-index: 3;
  background-image: url('https://charlieclaverie.neocities.org/New%20Silhouette.png');
  background-size: 200% 100%;
  background-position: 0% 0;
  background-repeat: no-repeat;
  transition: background-position 0s;
}

.sprite-button:hover {
  background-position: 100% 0;
}

/* ===== CHARLIE CLAVERIE ===== */
.name-image {
  width: min(100vw, 900px);  
  position: relative;
  
  margin: -01vw auto 4vw auto; /*Le depassement */
  z-index: 4;  /*Le calque*/
}

.name-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== FLICKER ===== */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.98; }
}

/* ===== MOBILE ONLY =====
@media (max-width: 768px) {
  .tv-wrapper {
    width: 95vw;
    max-width: 400px;
    overflow-x: hidden;  
    overflow-y: visible; 
    margin: 40px auto;
  }

  .sprite-button {
    width: 90vw;
    max-width: 350px;
    margin: -12vw auto 0 auto;
  }

  .name-image {
    width: 90vw;
    max-width: 500px;
    margin: -15vw auto 3vw auto;
  }

  h2 {
    font-size: clamp(18px, 6vw, 32px);
  }

  h3 {
    font-size: clamp(14px, 4.5vw, 20px);
  }
}  */