TankUI {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    pointer-events: all; //Very important because it shows/hides the cursor in s&box...

    .menu-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 30px;
        border-radius: 15px;
        width: 800px;
        height: 600px;
    }

    .logo {
        background-image: url(textures/ui/logo.png);
        background-size: contain;
        background-repeat: no-repeat;
        width: 800px;
        height: 360px;
        margin-bottom: 20px;
    }

    .button-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 300px;
    }

    .menu-button {
        background: linear-gradient(180deg, #008000, #004d00);
        color: white;
        font-size: 24px;
        font-family: 'Poppins', sans-serif;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 15px 30px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        width: 100%;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        box-shadow: -5px 4px 15px rgba(0, 0, 0,1);
    }

    .menu-button:hover {
        background: linear-gradient(180deg, #00b300, #007700);
        box-shadow: 0 4px 15px rgba(0, 255, 0, 0.5);
        transform: scale(1.05);
    }

    .menu-button:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(0, 255, 0, 0.3);
    }

    .lobby-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 600px;
        height: auto;
        padding: 20px;
        border-radius: 15px;
        gap: 10px;
    }

    h2 {
        font-size: 32px;
        color: white;
        font-family: 'Poppins', sans-serif;
        margin-bottom: 10px;
    }

    .lobby-entry {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 15px;
        background-color: rgba(0, 128, 0, 0.6);
        border-radius: 10px;
        box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.7);
    }

    .lobby-name {
        font-size: 22px;
        color: white;
        flex: 1;
    }

    .lobby-info {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
    }

    .join-button {
        background: linear-gradient(180deg, #00b300, #007700);
        color: white;
        font-size: 18px;
        border: none;
        padding: 10px 15px;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.2s;
    }

    .join-button:hover {
        background: linear-gradient(180deg, #00ff00, #00b300);
        transform: scale(1.05);
    }

    .no-lobbies {
        font-size: 20px;
        color: rgba(255, 255, 255, 0.7);
        padding: 10px;
    }

    .back-button {
        background: #444;
        color: white;
        font-size: 18px;
        border-radius: 8px;
        padding: 10px 15px;
        cursor: pointer;
        transition: 0.2s;
        margin-top: 10px;
    }

    .back-button:hover {
        background: #666;
        transform: scale(1.05);
    }

    .create-lobby-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 600px;
        height: auto;
        padding: 20px;
        border-radius: 15px;
        gap: 10px;
    }

    h2 {
        font-size: 64px;
        color: white;
        font-family: 'Poppins', sans-serif;
    }

    .slider-group {
        width: 100%;
        text-align: center;
        color: white;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .slider-group input {
        width: 80%;
    }

    .level-select {
        flex-direction: column;
        justify-content: center;
    }

    .level-select h3 {
        font-size: 48px;
        color: white;
        margin-bottom: 10px;
        justify-content: center;
        margin-bottom: 25px;
    }

    .level-grid {
        margin-bottom: 25px;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .level-entry {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 150px;
        height: 150px;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .level-entry img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    }

    .level-entry span {
        color: white;
        margin-top: 5px;
        font-size: 18px;
    }

    .level-entry:hover {
        transform: scale(1.05);
    }

    .selected {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    }

    .menu-button, .back-button {
        width: 200px;
        font-size: 22px;
        padding: 10px;
        margin-top: 10px;
    }

    .back-button {
        background: #444;
    }

    .back-button:hover {
        background: #666;
    }
}
