@font-face {
    font-family: 'Minecraft';
    src: url('minecraft-german.woff2') format('woff2'),
         url('minecraft-german.woff') format('woff');
    font-display: swap;
}

/* ========== GLOBAL ========== */
* {
    font-size: 1.3rem;
}

@media all and (max-width: 900px)
{
  * {
    font-size: 1.1rem;
  }
}

body {
    font-family: 'Minecraft', sans-serif;
    padding-bottom: 20px;
    background: url('https://www.swerwer.win/img/background.webp') center / cover fixed no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
    margin: 0;
}

/* ========== TYPOGRAPHY ========== */
h1 {
    font-weight: 550 !important;
    font-size: 2rem;
    margin-bottom: 20px;
}

h2 {
    font-weight: 500 !important;
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.card {
  background-color: #0303039f;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 60%;
  width: 90%;
}

.status {
  font-size: 1.2rem;
  margin: 10px 0;
  margin-bottom: 20px !important;
}

.online {
  color: #4caf50;
}

.offline {
  color: #f44336;
}

.info {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #ccc;
}

#ip {
  margin-top: 20px;
}

.button {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #45a049;
}