/* Grunddesign & Theme */
@font-face {
  font-family: 'NotoSans';
  src: url('/font/NotoSans/NotoSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
    --bg-color: #0a0a0f;
    --card-bg: #151520;
    --text-color: #e0e0e0;
    --accent-color: #483D8B;
    --hover-color: #4d8df5;
    --border-color: #252535;
    --divider-color: #2a2a3a;
}

.hero {
    margin-top: -10px;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)),
        url("/Bild/Fandom/Windhoff_SPF50.jpg") center / cover no-repeat;
}

/* Zentrierter Inhalt */
.hero>div {
    max-width: 800px;
    padding: 20px;
}

/* Haupttitel */
.hero h1 {
    font-size: 48px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

/* Untertitel */
.hero p {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 20px;
}

/* Currently Player Counter */

.section-tabelle {
  display: grid;
  min-width: 100%;
  min-height: 15%;
}

.container-tabelle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 20px;
  /* min-width: 100%; */
  min-height: 15%;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  font-weight: bold;
  color: #e0e0e0;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.box1,
.box2,
.box3,
.box4 {
  background-color: var(--card-bg);
  font-size: 3.2vh;
  font-weight: 400;
  color: #bbb;
}

.box5,
.box6,
.box7,
.box8 {
  font-size: 3vh;
  font-weight: 600;
  color: #e0e0e0;
}

.box8 {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.refresh-timer {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  color: #bbb;
  font-weight: normal;
}

/* Sections */
.about-us {
    width: 100%;
    height: auto;
    padding: 5px;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.about-us img{
    padding: 20px;
    width: 25%;
    aspect-ratio: 32/5;
    max-width: 350px;
}

.about-us-desc {
    padding: 20px;
}

.games-frame {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    padding: 5px;
    color: var(--text-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    height: auto;
    min-height: 150px;
    margin-bottom: 5px;
    text-decoration: none;
}

.games-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(58, 123, 213, 0.3);
}

.games-frame img {
    height: 150px;
    border-radius: 12px;
    margin: -5px 5px -5px -5px;
    aspect-ratio: 16/9;
}

.games-frame-width {
    width: 100%;
}

.games-label-row {
    height: 0;
    width: 100%;
    text-align: right;
}

.games-row {
    width: 100%;
}

.games-section {
    display: flex;
    width: 100%;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
}

.games-desc {
    color: grey;
    font-size: 75%;
    width: 100%;
    height: auto;
}

.game-label {
    border-radius: 7px;
    margin-left: 3px;
    padding: 3px;
    font-weight: 600;
    color: white;
}

.load-error {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    width: 100%;
    min-height: 120px;

    color: #888;
    font-size: 1rem;
}

.early {
    background-color: #4B0082;
}

.roblox {
    background-color: #121214;
}

.mygame {
    background-color: #556B2F;
}

.maps {
    background-color: #4B0082;
}

@media (max-width: 1100px) {
    .box1,
    .box2,
    .box3,
    .box4 {
    background-color: var(--card-bg);
    font-size: 2.2vh;
    font-weight: 400;
    color: #bbb;
    }

    .box5,
    .box6,
    .box7,
    .box8 {
    font-size: 2vh;
    font-weight: 600;
    color: #e0e0e0;
    }

    .box8 {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    }
}