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

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

body {
  background-color: #1e1e2e;
  color: #cdd6f4;
  font-family: "Bangers";
  font-size: 24px;
}

nav {
  font-family: "Fascinate Inline";
  background-color: #11111b;
  padding: 30px;
  font-size: 48px;
  text-align: center;
  color: #f38ba8;
}




/* Main container contains controls and draw container */
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  margin: 0 auto;
  gap: 50px;
  margin-top: 100px;
}




/* Draw container where main drawing goes */
.draw-container {
  display: flex;
  border: 5px solid #11111b;
  width: 710px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.pixel {
  border: 1px solid #9399b244;
}

.pixel.hide-gridlines {
  border: none;
}




/* Controls container general */
.controls {
  display: flex;
  flex-direction: column;
  gap: 50px;
  background-color: #11111b;
  padding: 50px 50px;
  border-radius: 10px;
  width: 450px;
  font-size: 24px;
}

.controls button {
  font-family: "Bangers";
  font-size: 24px;
}




/* Controls container pen color and bg color */
.controls .color-picker .pen-color {
  margin-bottom: 10px;
}

.controls .color-picker input {
  margin-right: 10px;
  width: 90px;
  height: 35px;
}




/* Paint options inside controls container */
.paint-options-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.paint-option-btn {
  background-color: #1e1e2e;
  border: none;
  color: #cdd6f4;
  padding: 10px 20px;
  border-radius: 10px;
}

.paint-option-btn:hover {
  background-color: #313244;
}

.paint-option-btn.active {
  background-color: #f38ba8;
}




/* Reset buttons of controls container */
.reset-buttons-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Buttons */
.btn {
  background-color: #1e1e2e;
  border: none;
  color: #cdd6f4;
  padding: 10px 20px;
  border-radius: 10px;
  flex: 1;
}

.btn:hover {
  background-color: #313244;
}

.btn:active {
  background-color: #45475a;
}

.extra-option-btn {
  width: 100%;
}



/* Grid size selector of controls container */
.grid-size-selector-slider {
  width: 90%;
  margin-top: 10px;
}
