@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap");

:root {
  --bg: #000000;
  --clr-1: #ff0000;
  --clr-2: #ff3392;
  --clr-3: #86109e73;
  --clr-4: #0d812a;

  --blur: 1rem;
  --fs: clamp(3rem, 8vw, 7rem);
  --ls: clamp(-1.75px, -0.25vw, -3.5px);
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: var(--bg);
  color: #fff;
  font-family: "Inter", "DM Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
  font-family: inherit;
  box-sizing: border-box;
}

.content {
  text-align: center;
}

.title {
  font-size: var(--fs);
  font-weight: 800;
  letter-spacing: var(--ls);
  position: relative;
  overflow: hidden;
  background: var(--bg);
  margin: 0;
}

.aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  mix-blend-mode: darken;
  pointer-events: none;
}

.aurora__item {
  overflow: hidden;
  position: absolute;
  width: 60vw;
  height: 60vw;
  background-color: var(--clr-1);
  border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  filter: blur(var(--blur));
  mix-blend-mode: overlay;
}

.aurora__item:nth-of-type(1) {
  top: -50%;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-1 12s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(2) {
  background-color: var(--clr-3);
  right: 0;
  top: 0;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-2 12s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(3) {
  background-color: var(--clr-2);
  left: 0;
  bottom: 0;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-3 8s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(4) {
  background-color: var(--clr-4);
  right: 0;
  bottom: -50%;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-4 24s ease-in-out infinite alternate;
}

@keyframes aurora-1 {
  0% {
    top: 0;
    right: 0;
  }

  50% {
    top: 100%;
    right: 75%;
  }

  75% {
    top: 100%;
    right: 25%;
  }

  100% {
    top: 0;
    right: 0;
  }
}

@keyframes aurora-2 {
  0% {
    top: -50%;
    left: 0%;
  }

  60% {
    top: 100%;
    left: 75%;
  }

  85% {
    top: 100%;
    left: 25%;
  }

  100% {
    top: -50%;
    left: 0%;
  }
}

@keyframes aurora-3 {
  0% {
    bottom: 0;
    left: 0;
  }

  40% {
    bottom: 100%;
    left: 75%;
  }

  65% {
    bottom: 40%;
    left: 50%;
  }

  100% {
    bottom: 0;
    left: 0;
  }
}

@keyframes aurora-4 {
  0% {
    bottom: -50%;
    right: 0;
  }

  50% {
    bottom: 0%;
    right: 40%;
  }

  90% {
    bottom: 50%;
    right: 25%;
  }

  100% {
    bottom: -50%;
    right: 0;
  }
}

@keyframes aurora-border {
  0% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }

  25% {
    border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%;
  }

  50% {
    border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%;
  }

  75% {
    border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%;
  }

  100% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }
}
:root {
    --glitter: url("https://assets.codepen.io/13471/silver-glitter-background.png");
}

.sparkles {
    --clr: 260;
    --shadows: 0%;
    --shadowl: 0%;

    font-size: max(2.5vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 5em;
    background: linear-gradient(
        0deg,
        hsla(var(--clr), 100%, 70%) 0%,
        hsla(var(--clr), 100%, 65%) 5%,
        hsla(var(--clr), 80%, 35%) 15%,
        hsla(var(--clr), 10%, 0%) 40%,
        hsla(var(--clr), 25%, 12%) 90%
    );
    background-size: 200% 300%;
    background-position: 0% 0%;
    box-shadow: inset 0 0 2px hsla(var(--clr), 30%, 20%);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    transform: translate(0px);

    transition: all 0.5s cubic-bezier(0.77, 0, 0.18, 1);

    box-shadow: 0 -0.5em 0.5em transparent, 0 0.5em 0.5em transparent, 0 0.5em 0.5em transparent, 0 0.5em 0.5em transparent,
        0 0.25em 0.3em -0.2em hsla(var(--clr), 0%, 0%, 0.5),
        0 0.35em 0.75em hsla(var(--clr), 0%, 0%, 0.75);
}

.sparkles::before,
.sparkles::after {
    --gradientPos: 50% 100%;
    content: " ";
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    transition: inherit;
}

.sparkles:before {
    inset: 0;
    position: absolute;
    transform: translate3d(0, 0, 0.01px);
    border-radius: inherit;

    background-image: var(--glitter), var(--glitter),
        linear-gradient(180deg, black 0%, white 80%);
    background-size: 300px 170px, 280px 130px, 200% 200%;
    background-blend-mode: multiply, multiply, overlay;
    background-position: 0px 0px, 0px 0px, var(--gradientPos);
    background-repeat: repeat;

    mix-blend-mode: color-dodge;
    filter: brightness(2) contrast(.75);
    animation: bubble 20s linear infinite;
    animation-play-state: paused;
    opacity: 0.5;
    box-shadow: inset 0 -8px 10px -7px hsla(var(--clr), 70%, 80%, 0.75);
}

.sparkles:after {
    background-image: radial-gradient(
            ellipse at center 70%,
            hsla(var(--clr), 100%, 99%, 0.8) 5%,
            hsla(var(--clr), 90%, 80%, 1) 20%,
            transparent 50%,
            transparent 200%
        ),
        linear-gradient(
            90deg,
            hsla(var(--clr), 80%, 10%, 1) -10%,
            transparent 25%,
            transparent 75%,
            hsla(var(--clr), 80%, 10%, 1) 110%
        );
    box-shadow: inset 0 0.25em 0.75em rgba(0, 0, 0, 1),
        inset 0 -0.05em 0.2em rgba(255, 255, 255, 0.4),
        inset 0 -1px 3px hsla(var(--clr), 80%, 50%, 0.75);
    background-blend-mode: darken;
    background-repeat: no-repeat;
    background-size: 180% 80%, cover;
    background-position: center 220%;
    mix-blend-mode: hard-light;
    filter: blur(5px);
    opacity: 0;
}

.sparkles:hover,
.sparkles.over {
    --shadows: 90%;
    --shadowl: 80%;
    background-position: 100% 100%;

    transition: all 0.2s cubic-bezier(0.17, 0.84, 0.44, 1);

    box-shadow: 0 -0.2em 1.5em hsla(var(--clr), 90%, 50%, 0.3),
        0 0.5em 2em hsla(var(--clr), 90%, 70%, 0.55),
        0 0.25em 0.3em -0.2em hsla(var(--clr), 0%, 0%, 1),
        0 0.35em 0.75em hsla(var(--clr), 0%, 0%, 1),
        0 0.25em 0.5em -0.3em hsl(var(--clr), 30%, 99%, 1),
        0 0.25em 0.5em hsla(var(--clr), 20%, 30%, 0.35),
        inset 0 -2px 5px -2px rgba(255, 255, 255, 0.5);
}

.sparkles.over {
    transition-duration: 2s;
}

.sparkles:hover:before,
.sparkles.over:before {
    --gradientPos: 50% 50%;
    animation-play-state: running;
    filter: brightness(2) contrast(1);
    box-shadow: inset 0 -5px 10px -4px hsla(var(--clr), 70%, 80%, 0.3);
    opacity: .8;
}

.sparkles:hover:after,
.sparkles.over:after {
    opacity: .8;
    transform: translateY(0px);
}

.sparkles span {
    grid-column: 1;
    grid-row: 1;
    background-image: linear-gradient(
        hsl(calc(var(--clr) - 43), 27%, 85%) 0%,
        hsl(calc(var(--clr) - 60), 22%, 80%) 19%,
        hsl(calc(var(--clr) - 50), 20%, 75%) 30%,
        hsl(calc(var(--clr) - 52), 36%, 98%) 43%,
        hsl(var(--clr), 70%, 70%, 1) 51%,
        hsl(var(--clr), 50%, 85%, 1) 52%,
        rgb(255, 255, 255) 100%
    );
    background-size: 1em 3.45em;
    color: rgb(214, 222, 226);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    filter: drop-shadow(0 0 0.05em rgba(0,0,0,0.5)) drop-shadow(0 0.05em 0.05em rgba(0,0,0,0.5));
    transition-timing-function: inherit;
    transition-duration: inherit;
    transition-delay: 0s;
    padding: 0.75em 1.5em;
    transform: translateY(0);
    z-index: 10;
}

.sparkles:hover span,
.sparkles:active span,
.sparkles.over span {
    background-position-y: -100%;
}

.sparkles:active {
    transform: translateY(0.075em);
    box-shadow: 0 -0.2em 1.5em hsla(var(--clr), 90%, 50%, 0.4),
    0 0.5em 2em hsla(var(--clr), 90%, 70%, 0.65),
    0 0.15em 0.3em -0.2em hsla(var(--clr), 0%, 0%, 1),
    0 0.25em 0.75em hsla(var(--clr), 0%, 0%, 1),
    0 0.25em 0.5em -0.3em hsl(var(--clr), 30%, 99%, 1),
    0 0.25em 0.5em hsla(var(--clr), 20%, 30%, 0.45),
    inset 0 -2px 5px -2px rgba(255, 255, 255, 0.65);
    transition-duration: 0.1s;
}

.sparkles:active:before,
.sparkles:active:after {
    opacity: 1;
    filter: brightness(3) contrast(.75);
    animation-duration: 8s;
}
.sparkles:active:after {
    filter: brightness(1.35) contrast(.8) blur(5px);
}

:root {
    --glitter: url("https://assets.codepen.io/13471/silver-glitter-background.png");
}

@keyframes bubble {
    0% {
        background-position: 0px 340px, 0px 130px, var(--gradientPos);
    }
    100% {
        background-position: 0px 0px, 0px 0px, var(--gradientPos);
    }
}

input {
    position: absolute;
    bottom: 30px;
    width: 300px;
}
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&family=Special+Elite&display=swap");

html, body {
  max-height: 100%;
  height: 100%;
  overflow: hidden;
}

.main {
  min-height: 100%;
  background: #000;
  display: flex;
  padding: 0% 10%;
	position: relative;
}

.background {
	position: absolute;
	inset: -20px;
	color: #fff;
	font-size: 3rem;
	text-align: justify;
	opacity: 0.15;
  font-family: "Special Elite", cursive;
}

.poster {
  margin: auto;
  width:  100%;
  display: flex;
  flex-direction: column;
  filter: blur(.5px);
}

.quote {
  font-size: 5rem;
  animation: shake 150ms infinite;
  text-align: center;
  background: url("https://i.giphy.com/media/HhTXt43pk1I1W/giphy.webp");
  font-weight: 900;
  background-position: 50% 0%;
  background-clip: text;
  background-size: cover;
  -webkit-background-clip: text;
  color: transparent;
  filter: contrast(80%) sepia(50%) grayscale(30%) blur(1px);
  font-family: "Josefin Sans", sans-serif;
	@media (prefers-reduced-motion) {
  	animation: none;
	}

  &--by {
    color: #fff;
    margin-right: 0;
    margin-left: auto;
    font-family: "Special Elite", cursive;
  }
}

@keyframes shake {
  0% { transform: translate(.5px, .5px) rotate(0deg); }
  10% { transform: translate(-.5px, -1px) rotate(-.5deg); }
  20% { transform: translate(-1.5px, 0px) rotate(.5deg); }
  30% { transform: translate(1.5px, 1px) rotate(0deg); }
  40% { transform: translate(.5px, -.5px) rotate(.5deg); }
  50% { transform: translate(-.5px, .5px) rotate(-.5deg); }
  60% { transform: translate(-1.5px, .5px) rotate(0deg); }
  70% { transform: translate(1.5px, .5px) rotate(-.5deg); }
  80% { transform: translate(-.5px, -.5px) rotate(.5deg); }
  90% { transform: translate(.5px, 1px) rotate(0deg); }
  100% { transform: translate(.5px, -1px) rotate(-.5deg); }
}
/* Found on internet **/

h1{
   font-size: 120px;
}
img{
    padding-bottom: 2px;
}
button {
    width: 500px;
    height: 100px;
    font-size: 60px;
}

.sparkles >span{
    padding : 0;
}

.quote >span{
    margin-top: 100px;
}

.center{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#selecteur-categorie {
  margin-bottom: 16px;
}

h2 {
  margin-bottom: 0;
}

#score-final {
  font-size: 102px;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}