@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  display: flex;
  justify-content: space-around;
  margin-top: 4%;
  background: #111827;
}

button {
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  border: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.title {
  color: white;
  font-size: 2.4rem;
  font-weight: bold;
}

.canvas {
  width: 640px;
  height: 640px;
  display: flex;
  flex-wrap: wrap;
  border-radius: 5px;
  outline: 10px solid #374050;
  background: #29303d;
  cursor: crosshair;
}

.square {
  opacity: 0.1;
  text-align: center;
  border-radius: 2px;
}

.buttons {
  padding-bottom: 1.5rem;
}

#grid-size-btn {
  background: #1d4dd6;
  transition: all 0.2s ease;
}

#grid-size-btn:hover {
  background: #152f9e;
  opacity: 1;
  transform: scale(1.05);
}

#clear-canvas-btn {
  background: #e74c3c;
  transition: all 0.2s ease;
  margin-left: 1rem;
}

#clear-canvas-btn:hover {
  background: #c0392b;
  opacity: 1;
  transform: scale(1.05);
}
