body {
  margin: 0;
  min-height: 100vh;
  background-color: black;
  background-repeat: repeat-x;
  background-size: auto 100%;
  user-select: none;
}

/* ========================= */
/* TITRES / TEXTES           */
/* ========================= */

.h1 {
  color: red;
  font-family: 'Impact', sans-serif;
  font-size: 100px;
  text-align: left;
  margin-left: 5%;
  margin-top: 1%;
}

.p2 {
  color: red;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: left;
  margin-left: 5%;
}

.p1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin-top: 5%;
  margin-left: 5%;
  color: white;
}

div.pp {
  display: flex;
  gap: 100px;
}

/* ========================= */
/* ANIMATIONS                */
/* ========================= */

@keyframes defilement {
  from { background-position: 0 0; }
  to { background-position: -2000px 0; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@font-face {
  font-family: 'MaPolice';
  src: url('fonts/fonts2.otf') format('truetype');
}

/* ========================= */
/* TICKER                    */
/* ========================= */

#ticker-wrapper {
  width: 70%;
  height: 25px;
  background: black;
  overflow: hidden;
  border: 3px solid white;
  box-sizing: border-box;
  margin-top: 10px;
  margin-left: 5%;
  display: flex;
  align-items: center;
  position: relative;
  user-select: none;
}

#ticker {
  display: flex;
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.ticker-item {
  color: red;
  font-family: monospace;
  font-size: 16px;
  padding: 0;
  user-select: none;
}

/* ========================= */
/* BOUTON FERMER             */
/* ========================= */

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 50px;
  cursor: pointer;
  color: red;
  transition: 0.3s;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* ========================= */
/* IMAGE DROITE (PC NORMAL)  */
/* ========================= */

#image-droite {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
}

/* ========================= */
/* TEXTE BAS DROIT           */
/* ========================= */

.coin-droit {
  position: fixed;
  bottom: 10px;
  right: 5%;
  max-width: 200px;
  text-align: center;
  display: inline-block;
  color: red;
  font-family: Arial, Helvetica, sans-serif;
  background: rgba(0,0,0,0.5);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  z-index: 9999;
}

/* ================================= */
/* VERSION MOBILE                    */
/* ================================= */

@media screen and (max-width: 768px) {

  .h1 {
    font-size: 48px;
    margin-top: 5%;
  }

  .p1 {
    font-size: 14px;
    margin-top: 8%;
  }

  .p2 {
    font-size: 11px;
  }

  div.pp {
    flex-direction: column;
    gap: 20px;
  }

  #ticker-wrapper {
    width: 90%;
    height: 30px;
  }

  .ticker-item {
    font-size: 14px;
  }

  .close-btn {
    font-size: 35px;
    right: 20px;
  }

/* ================================= */
/* MOBILE - IMAGE SUPPRIMÉE          */
/* ================================= */

@media only screen and (max-width: 1024px) {

  #image-droite {
    display: none !important;
  }

}