• { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #1e1e1e; color: #ffffff; font-family: 'Arial', sans-serif; overflow: hidden; display: flex; justify-content: center; align-items: center; height: 100vh; } .container { display: flex; flex-direction: column; height: 95vh; width: 95vw; padding: 10px; background-color: #2d2d2d; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } #registerForm { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; background-color: #333; padding: 10px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } #registerForm h2 { text-align: center; color: #fff; margin-bottom: 5px; font-size: 1.2em; } #registerForm input { padding: 8px; border: 1px solid #555; border-radius: 5px; background-color: #444; color: #fff; font-size: 14px; transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; } #registerForm input:focus { border-color: #00aaff; transform: scale(1.02); box-shadow: 0 0 5px rgba(0, 170, 255, 0.5); outline: none; } #registerForm input::placeholder { color: #aaa; } #registerForm button { padding: 8px; border: none; border-radius: 5px; background-color: #555; color: #fff; font-size: 14px; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; } #registerForm button:hover { background-color: #666; transform: scale(1.05); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); } #registerForm button:active { transform: scale(0.95); } .controls { display: flex; gap: 5px; margin-bottom: 10px; justify-content: center; flex-wrap: wrap; background-color: #333; padding: 8px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } #colorPicker { width: 30px; height: 30px; border: none; background: none; cursor: pointer; padding: 2px; border-radius: 50%; box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); transition: transform 0.3s ease; } #colorPicker:hover { transform: rotate(10deg) scale(1.05); } button { padding: 5px 10px; background-color: #555; color: #fff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; font-size: 12px; } button:hover { background-color: #666; transform: scale(1.03); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); } button:active { transform: scale(0.95); } #eraserButton.active { background-color: #ccc; color: #333; animation: pulse 1.5s infinite; } #drawImageButton.active { background-color: #ccc; color: #333; animation: pulse 1.5s infinite; } #textButton.active { background-color: #ccc; color: #333; animation: pulse 1.5s infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(204, 204, 204, 0.4); } 70% { box-shadow: 0 0 0 5px rgba(204, 204, 204, 0); } 100% { box-shadow: 0 0 0 0 rgba(204, 204, 204, 0); } } @keyframes shake { 0% { transform: translateX(0); } 25% { transform: translateX(-3px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-3px); } 100% { transform: translateX(0); } } #drawImageButton:hover { animation: float 2s ease-in-out infinite; } @keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-3px); } 100% { transform: translateY(0); } } .canvas-wrapper { flex: 1; position: relative; overflow: hidden; background-color: #2d2d2d; border-radius: 10px; box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); } #pixelCanvas { position: absolute; top: 0; left: 0; cursor: crosshair; image-rendering: pixelated; } .info { margin-top: 10px; text-align: center; font-size: 12px; background-color: #333; padding: 5px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); } .info p { margin: 3px 0; } @media (max-width: 768px) { .controls { flex-direction: row; align-items: center; justify-content: space-around; } #colorPicker { width: 30px; height: 30px; } button { padding: 5px 10px; font-size: 12px; } .info { font-size: 10px; } } #confirmEmailButton { background-color: lightblue; padding: 10px 20px; font-size: 16px; border: none; cursor: pointer; border-radius: 5px; position: fixed; top: 20px; right: 20px; z-index: 1000; } #confirmEmailButton:hover { opacity: 0.8; }