@font-face {
  font-family: 'Magazine Letter By Brntlbrnl';
    src: url('fonts/magazine_letters/MagazineLetterByBrntlbrnl-Rg.woff2') format('woff2'),
        url('fonts/magazine_letters/MagazineLetterByBrntlbrnl-Rg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: Frick;
    src: url('fonts/Frick/fonts/woff/Frick0.3-Condensed.woff2') format('woff2'),
    url('fonts/Frick/fonts/woff/Frick0.3-Condensed.woff') format('woff');
}

body {
  margin: 0;
  padding: 0;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="8" fill="%23ff0000"/></svg>') 10 10, auto;
}

h1 {
  position: absolute;
  top: 20%;
  left: 37%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 100vw;
  height: 100vh;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
}
  
h1 img {
  opacity: 0;
  display: inline-block;
  width: auto;
  height: 100px;
  vertical-align: middle;
  animation: fadeIn 0.5s infinite alternate-reverse;

}

h1 img:nth-child(1) { animation-delay: 0s; }
h1 img:nth-child(2) { animation-delay: 0.2s; }
h1 img:nth-child(3) { animation-delay: 0.4s; }
h1 img:nth-child(4) { animation-delay: 0.6s; }
h1 img:nth-child(5) { animation-delay: 0.8s; }
h1 img:nth-child(6) { animation-delay: 1s; }
h1 img:nth-child(7) { animation-delay: 1.2s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h2, h3 {
  font-family: 'Frick';
  z-index: 19;
  color: #ff0000;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     0px -2px 0 #fff,
    -2px 0px 0 #fff,
     2px 0px 0 #fff,
     0px 2px 0 #fff;
  white-space: nowrap;
  overflow: hidden;
  margin: 0;
  line-height: 1;
  text-align: center;
  width: 100vw;
}

h2 {
  bottom: -10px;
  font-size: 8vw;
  letter-spacing: 2vw;
  transform-origin: bottom left;
}

span {
  bottom: -60px;
  font-size: 6vw;
  letter-spacing: 8.68vw;
  margin-left: 1.3vw;
}

#img1 {
  position: relative;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  object-fit: fill;
}

#img2{
    position: fixed;
    top: 60vh;
    left: 60vw;
    width: 40vw;
    height: auto;
    max-width: auto;
    min-width: 100px;
    animation: blink 0.4s infinite;
    z-index: 20;
    cursor: url();
    transition: tranform 0.3s ease;
}

#img2:hover {
       cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polygon fill="%23ff0000" stroke="orange" stroke-width="1" points="12,2 15,9 22,9 17,14 19,21 12,17 5,21 7,14 2,9 9,9"/></svg>') 12 12, auto;
    transform: scale(2.4);
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.full-page-link {
 
  z-index: 1;
  cursor: pointer;
}

.full-page-link img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

h1, h2, h3 {
  cursor: pointer;
  pointer-events: none;
}

svg {
  pointer-events: none;
}
svg path, svg polygon, svg circle {
  pointer-events: visiblePainted;
}

#footer {
  position: absolute;
  bottom: 0;
  z-index: 10;
  margin-left: 0.2em;
  margin-right: 0.2em;
  margin-bottom: 0.2em;
}

#titre img {
  max-width: 10vw;
  height: auto;
  position: relative;
}

#titre img:nth-child(1) {
  margin-right: -1vw;
  position: relative;
  z-index: 10;
}

#titre img:nth-child(2) {
  position: relative;
  z-index: 5;
}

#titre img:nth-child(3) {
  position: relative;
  left: 1.5vw;
  z-index: 5;
}

#titre img:nth-child(5) {
  margin-right: -1vw;
}
