@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    height: 100%
}

body {
    width: 90%;
    height: 90%;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1em;
    color: white;
    line-height: 135%;
    background-color: #1E201E;
}

a {
    color: grey;
    text-decoration: none;
}

a,
a:hover {
    -webkit-transition: all .6s ease;
    -moz-transition: all .6s ease;
    -o-transition: all .6s ease;
    -ms-transition: all .6s ease;
    transition: all .6s ease;
}

h1 {
    margin-left: 40%;
}

/* Добавлены стили для кнопок переключения форм */
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}

button:active {
    background-color: #1E201E;
    /* Цвет фона кнопки при нажатии */
}

.dataInputs {
    width: 450px;
    border-radius: 15px;
    background-color: #3C3D37;
    margin-left: 45%;
    text-align: center;
    font-size: 22px;
    padding: 20px; /* Добавил padding для внутреннего пространства */
    box-sizing: border-box; /* Важно, чтобы padding не увеличивал ширину элемента */
}

#showGameForm {
	margin-left: 42%;
}

.addGame {
    width: 200px;
    height: 60px;
    background-color: #4CAF50;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    margin-top: 10px; /* Изменил отступ для красоты */
    cursor: pointer; /* Добавил курсор при наведении */
}

.inputsData::placeholder {
    font-size: 20px;
    text-align: center;
    color: #aaa; /* Добавил цвет для placeholder */
}

.inputsData {
    width: 300px;
    height: 50px; /* Уменьшил высоту, чтобы поля выглядели аккуратнее */
    border-radius: 10px;
    border: none;
    margin: 10px auto; /* Автоматическое выравнивание по центру и отступ */
    display: block; /* Чтобы margin auto работал */
    padding: 5px; /* Добавил внутренний отступ для текста */
    box-sizing: border-box; /* Чтобы padding не увеличивал ширину элемента */
    background-color: #444; /* Добавил цвет фона */
    color: white; /* Добавил цвет текста */
}

textarea.inputsData { /* Специфичный стиль для textarea */
    height: 100px; /* Увеличил высоту для textarea */
    resize: vertical; /* Разрешить изменение высоты */
}

.checkboxInputData {
    width: 20px;
    height: 20px;
}

label[for="official"] {
    display: block;
    margin-top: 10px;
}

/*authorize*/
#admin_password::placeholder {
    color: #999;
    /* Светло-серый цвет */
    font-style: italic;
    font-size: 20px;
    text-align: center;
}

#admin_password {
    margin-left: 21%;
    margin-top: 40px;
}

.inputPsswd {
    width: 240px;
    height: 60px;
    border-radius: 10px;
    border: none;
    margin: 10px;
}

.titleAuth {
    margin-top: 10px;
    margin-left: 25px;
    font-size: 30px;
}

.loginPage {
    font-weight: bold;
    font-size: 20px;
    width: 400px;
    height: 260px;
    background-color: #697565;
    border-radius: 10px;
    border: none;
    margin-left: 40%;
    margin-top: 20%;
}

.login {
    width: 170px;
    height: 60px;
    background-color: #4CAF50;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    margin-left: 120px;
    margin-top: 10px;
}