/* Bestehende Styles */

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.welcome {
    text-align: center;
    margin-bottom: 20px;
}

.welcome h1 {
    margin: 0;
    font-size: 24px;
}

.notice {
    background-color: #e0f7fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.new-features {
    text-align: center;
    margin-bottom: 20px;
}

.new-features a {
    margin: 0 10px;
    color: #00796b;
    text-decoration: none;
}

.main-content {
    display: flex;
    justify-content: space-between;
}

.main-content > div {
    background-color: #f1f1f1;
    /* padding: 20px; */
    border-radius: 5px;
    width: 100%;
}

.main-content h2 {
    margin-top: 0;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #6d7993;
    color: white;
    margin-top: 20px;
    border-radius: 0 0 8px 8px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.create-game {
    text-align: center;
}

.create-game h1 {
    margin: 0;
    font-size: 24px;
}

.create-game .mode-button {
    background-color: #008c9e;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 5px;
    cursor: pointer;
}

.create-game .form-container {
    display: flex;
    justify-content: space-between;
}

.create-game .form-section {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 5px;
    width: 30%;
}

.create-game label {
    display: block;
    margin-bottom: 10px;
}

.create-game input[type="text"],
.create-game select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#create-game #gegner-name {
    display: none;
}

.create-game input[type="checkbox"] {
    margin-right: 10px;
}

.create-game .start-button {
    background-color: #008c9e;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 5px;
    cursor: pointer;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 440px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*====== REGISTER TAB ========*/

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Ensures padding and border are included in the total width and height */
}

form button {
    padding: 10px;
    background-color: #008c9e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box; /* Ensures padding and border are included in the total width and height */
}

form input[type="checkbox"] {
    width: auto;
}

body {
    margin:0;
    font-family: Arial, sans-serif;
}

.content {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.content h1, .content h2 {
    color: #00796b;
}

.content p {
    line-height: 1.6;
}

.ui-tabs .ui-tabs-nav {
    margin: 0;
    padding: 0.2em 0.2em 0;
    text-align: center; /* Center align tabs */
}

.ui-tabs .ui-tabs-nav li {
    display: inline-block;
    margin: 0 0.2em 0 0;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
}

.ui-tabs .ui-tabs-nav li a {
    padding: 0.5em 1em;
    text-decoration: none;
    color: #00796b;
    display: block;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    background: #00796b;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a {
    color: white;
}

/* Allgemeine CSS-Regeln, falls vorhanden */

.brand {
    height: 70px;
}

.brand img {
    border-radius: 60%;
    max-height: 70px;
}

/* Media Queries für unterschiedliche Bildschirmgrößen */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }


    .main-content > div {
        width: 100%;
        margin-bottom: 20px;;
    }

    .nav-mobile, .nav-list {
        text-align: center;
    }

    .brand {
        height: 70px;
    }

    .brand img {
        border-radius: 60%;
        max-height: 70px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .brand img {
        max-width: 200px; /* Beispielgröße für mittlere Bildschirme */
    }
}

@media (min-width: 1025px) {
    .brand img {
        max-width: 250px; /* Beispielgröße für große Bildschirme */
    }
}
