body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
}

.theme-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
}

.theme-toggle label {
    margin: 0 10px;
}

.login-container, .game-container, .result-container {
    background-color: var(--container-bg-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

input[type="text"], input[type="email"], textarea {
    width: calc(100% - 22px);
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: var(--input-bg-color);
    color: var(--text-color);
    text-align: center;
}

textarea {
    resize: vertical;
}

button {
    padding: 10px;
    margin: 5px;
    width: 150px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

#logout-button {
    background-color: #dc3545;
}

#logout-button:hover {
    background-color: #c82333;
}

#retry-button {
    background-color: #28a745;
}

#retry-button:hover {
    background-color: #218838;
}

#squares-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.square {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 2px solid #ccc;
    margin: 5px;
    font-size: 20px;
    text-align: center;
    position: relative;
}

input[type="text"] {
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 20px;
    background: transparent;
    color: inherit;
}

input[type="text"].valid {
    background-color: green;
    color: white;
}

input[type="text"].invalid {
    background-color: red;
    color: white;
}

.rating {
    margin: 10px 0;
}

.rating input[type="radio"] {
    display: none;
}

.rating label {
    font-size: 24px;
    color: #ffcc00;
    cursor: pointer;
    margin: 0 5px;
}

.rating input[type="radio"]:checked ~ label {
    color: #ffcc00;
}

:root {
    --bg-color: #f0f0f0;
    --text-color: #000;
    --container-bg-color: #fff;
    --input-bg-color: #fff;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --container-bg-color: #1e1e1e;
    --input-bg-color: #333;
}







button:hover {
    background-color: #0056b3;
}

.contact-info {
    margin-top: 20px;
}

.contact-info h3 {
    margin-bottom: 10px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-info a {
    text-decoration: none;
    color: #007bff;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info i {
    margin-right: 10px;
    font-size: 20px;
}


#bul{
    text-align: left;
}
#pp{
    color:red;
}