

@font-face {
  font-family: 'Swiss';
  src: url('font/Swiss721BT-RomanCondensed.woff2') format('woff2'),
       url('font/Swiss721BT-RomanCondensed.woff') format('woff'),
       url('font/Swiss721CondensedRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.Swiss {
  font-family: 'Swiss', sans-serif;
  font-weight: 200;
  font-style: normal;
}

.Swiss-gras {
  font-family: 'Swiss', sans-serif;
  font-weight: 600;
  font-style: bold;
}


 .rubik-mono {
  font-family: "Rubik Mono One", monospace;
  font-weight: 400;
  font-style: normal;
}



.Montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.Montserrat-gras {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: bold;
}


.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}



#landingpage {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#landingpage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  z-index: 0;
}

#landingpage>* {
  position: relative;
  z-index: 1;
}


#carbon {
  background-image: url('../images/carbon.webp');
  scale: 105%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* tapistimer */

.tapistimer-thumbnail {
  cursor: pointer;
  overflow: hidden;
}

.tapistimer-thumbnail img {
  transition: filter 0.3s;
  display: block;
}

.tapistimer-thumbnail:hover img {
  filter: brightness(0.6);
}

.tapistimer-overlay {
  pointer-events: none;
}

.tapistimer-btn {
  pointer-events: none;
  opacity: 0;
}

.group:hover .tapistimer-btn {
  opacity: 1;
  pointer-events: auto;
}

.group:hover .tapistimer-overlay {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* podium */

#podium-preview .podium-thumbnail {
  cursor: pointer;
  overflow: hidden;
}

#podium-preview .podium-thumbnail img {
  transition: filter 0.3s;
  display: block;
}

#podium-preview .podium-thumbnail:hover img {
  filter: brightness(0.6);
}

#podium-preview .podium-overlay {
  pointer-events: none;
}

#podium-preview .podium-btn {
  pointer-events: none;
  opacity: 0;
}

#podium-preview .group:hover .podium-btn {
  opacity: 1;
  pointer-events: auto;
}

#podium-preview .group:hover .podium-overlay {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.shadow-white {
  box-shadow: -8px 8px 20px 0 rgba(255, 255, 255, 0.8), -3px 1.5px 6px 0 rgba(255,255,255,0.5);
}

#hoverbtn {
  position: relative;
}

#hoverbtn[data-tooltip-target="tooltip-right"]::after {
  content: "Le speedcubing est une discipline sportive qui consiste à résoudre un Rubik's Cube ou tout autre puzzle 3D le plus rapidement possible.";
  position: absolute;
  left: 110%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: #222;
  color: #fff;
  padding: 0.35em 0.9em;
  border-radius: 8px;
  box-shadow: 0 4px 18px 2px rgba(0,0,0,0.16);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
  z-index: 50;
}

#hoverbtn[data-tooltip-target="tooltip-right"]:hover::after,
#hoverbtn[data-tooltip-target="tooltip-right"]:focus::after {
  opacity: 1;
}

.max-w-6xl {
  max-width: 72rem;
}
  

