@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: linear-gradient(-45deg, #111, #222, #000, #333);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@keyframes gradientBG {
  0% {background-position:0% 50%}
  50% {background-position:100% 50%}
  100% {background-position:0% 50%}
}

header {
  padding: 1rem 2rem;
  text-align: center;
}

.header-container img {
  width: 60px;
  height: 60px;
  margin-right: 10px;
  border: 1px solid #fff;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.header-container img:hover {
  transform: scale(1.1) rotate(5deg);
}

header span {
  font-size: 1.5rem;
  font-weight: bold;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.drawing-container {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.tools {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  gap: 10px;
  flex-wrap: wrap;
}

.color-btn, .clear-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 3px 3px 7px #c1c1c1, -3px -3px 7px #ffffff;
  transition: all 0.3s ease;
}

.color-btn:hover {
  transform: scale(1.2);
}

.clear-btn {
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 1rem;
}

.clear-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.brush-size {
  width: 120px;
  border-radius: 5px;
  accent-color: #3498db;
}

canvas {
  border-radius: 15px;
  width: 100%;
  height: 500px;
  background: #111;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.7), -5px -5px 15px rgba(255,255,255,0.05);
  cursor: crosshair;
}

footer {
  background: rgba(0,0,0,0.7);
  padding: 1rem 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
