body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #000000; margin: 0; font-family: Arial, sans-serif; -webkit-user-select: none; /* Safari */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* Internet Explorer/Edge */ user-select: none; /* Non-prefixed version */ overflow: hidden; /* Prevent scrolling */ } .hidden { display: none; } #start-menu { display: flex; flex-direction: column; align-items: center; } .user-info { padding: 20px 40px; display: flex; flex-direction: column; align-items: center; margin-bottom: 100px; } .game-option { padding: 20px 70px; border: 2px solid #ffffff; background-color: #000000; border-radius: 10px; display: flex; flex-direction: column; align-items: center; margin-bottom: 180px; } .down-panel { display: flex; justify-content: center; margin-top: 20px; } #avatar { width: 100px; height: 100px; background-color: #4285f4; color: #ffffff; font-size: 50px; display: flex; justify-content: center; align-items: center; border-radius: 50%; margin-bottom: 10px; } #nickname { font-size: 24px; margin-bottom: 10px; color: #ffffff; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; } #total-score-display { font-size: 36px; color: #ffffff; margin-bottom: 20px; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; } #tokens { color: #ffffff; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; transition: color 0.3s; } #game-title { font-size: 20px; margin-bottom: 10px; color: #ffffff; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; } #tokens.red { color: #ff0000; } #start-game-button { padding: 10px 20px; font-size: 20px; cursor: pointer; background-color: #000000; color: #ffffff; border: 2px solid #ffffff; border-radius: 10px; transition: background-color 0.3s, color 0.3s; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; } #start-game-button:hover { background-color: #ffffff; color: #000000; } .container { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; position: relative; } .info-board { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; } .score-board { color: #ffffff; font-size: 50px; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; text-align: center; position: relative; top: 0; /* Adjust this value to move the score down */ margin-bottom: 20px; /* Add some margin to create space between elements */ } .timer-board { color: #ffffff; font-size: 30px; margin-top: 10px; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; text-align: center; } .pattern-lock { display: grid; gap: 20px; padding: 20px; background-color: #000000; border: 2px solid #cccccc; border-radius: 10px; margin-top: 0; /* Remove top margin to prevent pushing down */ } .pattern-row { display: flex; justify-content: center; gap: 20px; } .dot { width: 50px; height: 50px; background-color: #ffffff; border-radius: 50%; cursor: pointer; transition: background-color 0.3s; } .dot.active { background-color: #2f3030; } .dot.green { background-color: #098109; } .dot.green.active { background-color: #023502; /* Darker green when selected */ } .dot.red { background-color: #ff0000; } .popup-content { padding: 40px 30px; background-color: #000000; border: 2px solid #ffffff; border-radius: 10px; display: none; flex-direction: column; align-items: center; color:#ffffff; } #total { font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-size: 30px; } #final-score { margin-top: 20px; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-size: 40px; } #ok-button { padding: 10px 20px; margin-top: 60px; font-size: 20px; cursor: pointer; background-color: #000000; color: #ffffff; border: 2px solid #ffffff; border-radius: 10px; transition: background-color 0.3s, color 0.3s; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; } #ok-button:hover { background-color: #ffffff; color: #000000; } .down-panel { position: fixed; /* Зафиксируйте панель внизу экрана */ bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-around; /* Равномерное распределение кнопок */ background-color: #000; /* Фон панели для лучшей видимости */ padding: 10px 0; /* Отступы внутри панели */ } #home { padding: 10px 20px; font-size: 20px; cursor: pointer; background-color: #ffffff; color: #000000; border: 2px solid #ffffff; border-radius: 10px; transition: background-color 0.3s, color 0.3s; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; } #tasks { margin-left: 20px; padding: 10px 20px; font-size: 20px; cursor: pointer; background-color: #000000; color: #ffffff; border: 2px solid #ffffff; border-radius: 10px; transition: background-color 0.3s, color 0.3s; font-family: 'Arial Black', 'Helvetica Bold', sans-serif; font-weight: bold; }