html{
  overflow-x: hidden;
}

.VideoBrowser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  padding-top: 10px;
}
.VideoButton {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
  width: 340px;
}
.VideoButton:hover {
  transform: scale(1.03);
}

*, *::before, *::after {
  box-sizing: border-box;
}

.GenericBrowserGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  padding-top: 10px;
}

.GenericButtonGrid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
  width: 340px;
  border-radius: 15px;
  will-change: transform;
}

.GenericButtonGrid img {
  width: 100%;
  min-height: auto;
  display: block;
  object-fit: cover;
}

.GenericButtonGrid:hover {
  transform: scale(1.04); /* Agrandit de 30% */
}

.TurbowarpEmbed {
  width: 100%;
  max-width: min(80vw, 960px); /* Largeur maximale de l'iframe */
  height: auto;
  max-height: min(80vh, 1280px); /* Hauteur maximale de l'iframe */
  aspect-ratio: 4 / 3; /* Ratio de l'iframe */
}

iframe {
  overflow: hidden;
  border: none;
}
body {
  background: url('/assets/wallpaper.jpg') no-repeat center center fixed;
  background-size: cover;
  background-color: black;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 0.5 = 50% d'opacité */
  z-index: 0;
}

body> * {
  position: relative;
  z-index: 1;
}

.element-link {
  text-decoration: none;
  display: block;
  width: fit-content;
  margin: 0;
  padding: 0;
}

.element-button {
  display: flex;
  width: 350px;
  height: 70px;
  padding: 12px;
  margin-bottom: 5px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease-in-out;
}

.element-button:hover {
  background-color: #363636;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
  transform: scale(1.04); /* Agrandit de 30% */
}

.icon {
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.content {
  flex-grow: 1;
  padding-left: 10px;
  color: inherit;
}

.content h3 {
  margin: 0;
  font-size: 1em;
}

.content h4 {
  margin: 2px 0;
  font-size: 0.9em;
  color: #b5b5b5;
}

.content h5 {
  margin: 0;
  font-size: 0.8em;
  color: #888;
}

img {
  width: 100%;
  

}

.video-spec {
background-color: black;
width: fit-content;
border-radius: 8px;
padding: 10px;
padding-left: 30px;
font-family: 'JetBrains Mono Medium';
}

@font-face {
  font-family: 'JetBrains Mono Medium' ;
  src: url(/assets/fonts/webfonts/JetBrainsMono-Medium.woff2);
  
}

.vertical-video {
  min-height: 450px;
  padding: 0;
}

.anime {
  aspect-ratio: 16 / 9;
  max-height: 1080px;
  max-width: 1920px;
  width: 100%;
  height: auto;
}

.pointerdemo1{
  width: 64px;
  height: 64px;
}