@font-face {
    font-family: 'Jetbrains-Mono';
    src: url("api/fonts/JetBrainsMono.ttf");
}

html {
    font-family: Jetbrains-Mono;
}

body {
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem;
}

.center {
    text-align: center;
}

.wrapper {
  display: flex;
  justify-content: space-around;
}

#browsergames {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.box {
  min-height: 260px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px dashed red;
  cursor: pointer;
}

.box:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.box img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.site-footer {
  margin-top: 50px;
  padding: 20px;
  border-top: 1px solid #ccc;
  font-size: 0.85rem;
  color: #555;
  background-color: #f9f9f9;
}

.impressum-container {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.site-footer h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-top: 15px;
  margin-bottom: 5px;
}