@import url("https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
}

html {
  box-sizing: border-box;
  background-color: #eee;
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  font-weight: inherit;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #3d384620;
}

.header h1 {
  margin: 10px 0;
  font-size: 3em;
  color: #3d3846;
}

.container {
  display: flex;
  justify-content: space-between;
}

.grid {
  flex: 0 0 auto;
  width: 512px;
  height: 512px;
  background-color: white;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.24);
  margin-top: 60px;
  margin-left: 200px;
  display: flex;
  flex-wrap: wrap;
}

.grid-cell {
  user-select: none;
  flex: 1 1 auto;
}

.options {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 60px;
  margin-right: 400px;
}

.option-button {
  border: 1px solid #3d3846;
  width: 150px;
  height: 32px;
  border-radius: 8px;
  transition: transform 0.05s;
}

.option-button:hover {
  background-color: #3d384640;
  transform: scale(1.03);
}

#color-picker {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  width: 150px;
  height: 100px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#color-picker::-webkit-color-swatch {
  border-radius: 8px;
  border: none;
}
#color-picker::-moz-color-swatch {
  border-radius: 16px;
  border: none;
}

.eraser-button-on {
  background-color: #3d3846;
  color: #eee;
}

.eraser-button-on:hover {
  background-color: #3d3846;
  transform: scale(1.03);
}