Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- font-family: 'Poppins', sans-serif;
- background-color: #f0f2f5;
- display: flex;
- justify-content: center;
- align-items: center;
- min-height: 100vh;
- margin: 0;
- color: #333;
- }
- .container {
- background: #ffffff;
- padding: 40px;
- border-radius: 15px;
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
- text-align: center;
- width: 90%;
- max-width: 500px;
- transition: all 0.5s ease;
- }
- .hidden {
- display: none;
- opacity: 0;
- transform: scale(0.95);
- }
- h1 {
- color: #4a4e69;
- font-weight: 600;
- margin-bottom: 10px;
- }
- h2#welcomeMessage {
- color: #5d5d81;
- font-weight: 600;
- margin-bottom: 20px;
- }
- p {
- color: #6c757d;
- }
- #wordLengthHint {
- font-weight: 600;
- color: #4a4e69;
- margin-bottom: 20px;
- }
- .input-group {
- margin: 20px 0;
- text-align: left;
- }
- .input-group label {
- display: block;
- margin-bottom: 8px;
- font-weight: 600;
- }
- .input-group input, .input-group select {
- width: 100%;
- padding: 12px 15px;
- border: 2px solid #ced4da;
- border-radius: 8px;
- font-size: 16px;
- }
- .game-area {
- margin: 25px 0;
- display: flex;
- justify-content: center;
- gap: 10px;
- }
- #guessInput {
- padding: 12px 15px;
- border: 2px solid #ced4da;
- border-radius: 8px;
- font-size: 16px;
- transition: all 0.3s ease;
- width: 100%;
- text-transform: uppercase;
- }
- #guessInput:focus {
- outline: none;
- border-color: #5d5d81;
- box-shadow: 0 0 0 3px rgba(93, 93, 129, 0.2);
- }
- #guessButton, #startButton, #resetButton {
- background-color: #5d5d81;
- color: #ffffff;
- border: none;
- padding: 12px 20px;
- border-radius: 8px;
- cursor: pointer;
- font-size: 16px;
- font-weight: 600;
- transition: background-color 0.3s ease, transform 0.1s ease;
- }
- #guessButton:hover, #startButton:hover, #resetButton:hover {
- background-color: #4a4e69;
- }
- #guessButton:active, #startButton:active, #resetButton:active {
- transform: scale(0.98);
- }
- .result-area {
- margin: 20px 0;
- min-height: 80px;
- }
- #message {
- font-size: 18px;
- font-weight: 600;
- margin-bottom: 10px;
- }
- #correctPosition, #correctWrongPosition {
- font-size: 16px;
- margin: 5px 0;
- }
- #guessesList {
- margin: 20px 0;
- text-align: left;
- max-height: 200px;
- overflow-y: auto;
- padding-right: 15px;
- }
- .guess-item {
- padding: 10px 15px;
- background: #e9ecef;
- border-radius: 8px;
- margin-bottom: 10px;
- border: 1px solid #dee2e6;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .guess-word {
- font-weight: 600;
- color: #495057;
- text-transform: uppercase;
- }
- .guess-feedback {
- font-size: 14px;
- color: #6c757d;
- }
- #resetButton {
- display: none;
- margin-top: 20px;
- }
Advertisement
Add Comment
Please, Sign In to add comment