        /* Definice CSS proměnných pro světlý a tmavý režim */
        :root {
            --background-color-light: #1e1e1e;
            --text-color-light: #4992ff;
            --form-background-light: #333;
            --button-background-light: #4992ff;
            --button-text-light: #000;

            --background-color-dark: #1e1e1e;
            --text-color-dark: #4992ff;
            --form-background-dark: #333;
            --button-background-dark: #4992ff;
            --button-text-dark: #000;
        }

        /* Základní styly */
        body {
            font-family: Arial, sans-serif;
            background-color: var(--background-color-light);
            color: var(--text-color-light);
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            transition: background-color 0.3s, color 0.3s;
        }

        .form-container {
            background-color: var(--form-background-light);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border: 2px solid var(--button-background-light); /* Add a border around the form */
            width: 100%;
            overflow: auto;
            max-width: 400px;
            position: absolute;
            text-align: center;
            z-index: 2;
        }

        h2 {
            margin-top: 5px; /* Reduce the space above the heading */
            margin-bottom: 15px; /* Optionally adjust space below the heading */
            color: var(--button-background-light);
            font-size: 24px; /* Ensure heading text size is clear */
            font-weight: bold; /* Make the text bold */
        }
        
        
        label, input {
            display: flex;
            margin-bottom: 10px;
            text-align: left;
            overflow: hidden;
        }

        input[type="text"],
        input[type="password"] {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            width: 100%;
            box-sizing: border-box;
        }

        button {
            width: 100%;
            padding: 10px;
            background-color: var(--button-background-light);
            color: var(--button-text-light);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold; /* Make the button text bold */
            transition: background-color 0.3s;
        }
        
        button:hover {
            background-color: #0056b3;
        }

        /* Tmavý režim */
        body.dark-mode {
            background-color: var(--background-color-dark);
            color: var(--text-color-dark);
        }

        body.dark-mode .form-container {
            background-color: var(--form-background-dark);
        }

        body.dark-mode h2 {
            color: var(--button-background-dark);
        }

        body.dark-mode button {
            background-color: var(--button-background-dark);
        }
        .image-container {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('../photos/bg.png'); 
            background-size: cover;
            background-position: center;
            background-color: #000;
            opacity: 70%;
            z-index: 1; 
        }
        .discord-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            margin-top: 10px;
            width: 100%;
            padding: 10px;
            background-color: #5865F2;
            color: #fff; /* stejné jako u oranžového tlačítka */
            border: none;
            border-radius: 4px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            box-sizing: border-box;
            transition: background-color 0.3s ease;
        }

        .discord-btn img {
            width: 1.5em;
            height: 1.5em;
            fill: #fff;
            margin: 0 0.5em;
        }
        
        .discord-btn:hover {
            background-color: #4752c4;
            color: #fff;
        }
        
        
        
                