@import url('https://fonts.googleapis.com/css2?family=Pirata+One&display=swap');

body {
    background-image: url('Loading_Screen.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Pirata One', cursive;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin: 0;
}

.container {
    position: relative; /* Stellt sicher, dass das Logo relativ zum Container positioniert wird */
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin: auto;
}

/* Karten */
.card {
    background: rgba(40, 44, 47, 0.7);
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 24px;
    color: #d4af37;
    display: inline-block;
    width: 100%;
    max-width: 350px;
    margin: 10px auto;
}
.cardinfo {
    background: rgba(40, 44, 47, 0.7);
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 24px;
    color: #d4af37;
    display: inline-block;
    width: 80%;
    max-width: 250px;
    margin: 10px auto;
}

/* Server-Card */
.server-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 24px;
    color: #d4af37;
    width: 100%;
    max-width: 90%;
    height: auto;
    min-height: 400px;
    margin: 10px auto;
}

h1 {
    font-size: 40px;
    color: #d4af37;
}

p {
    font-size: 20px;
}

.logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10%; /* Größe des Logos anpassen */
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #8B0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

.btn:hover {
    background: #a52a2a;
}

.profile-link {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.profile-link:hover {
    background: #8B0000;
}

/* Kachel-Container */
.kachel-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: stretch; /* Alle Kacheln wachsen gleichmäßig */
}

/* Kachel */
.kachel {
    background: rgba(40, 44, 47, 0.5);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.kachel p {
    font-size: 14px;
    color: #d4af37;
}

.kachel a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

#burger-menu {
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

#side-nav {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #222;
    color: white;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 1000;
}

#side-nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 1px solid #444;
}

#side-nav a:hover {
    background-color: #444;
}

/* Responsive Design für Mobilgeräte */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

    .container {
        padding: 15px;
    }

    .card {
        width: 100%;
        max-width: 90%;
        font-size: 20px;
    }

    .server-card {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .kachel-container {
        flex-direction: column;
        align-items: center;
    }

    .kachel {
        width: 100%;
        max-width: 90%;
    }

    .btn,
    .profile-link {
        width: 60%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    p {
        font-size: 14px;
    }

    .btn {
        font-size: 16px;
        padding: 8px 15px;
    }

    .profile-link {
        font-size: 12px;
        padding: 5px 10px;
    }
}
