/* Import 3rd Party Files */
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Montserrat:ital,wght@0,500;1,400&family=Poppins&display=swap");
/* OverAll */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  text-rendering: geometricPrecision;
}

body {
  margin: 0;
  accent-color: var(--accent);
}

:root {
  --dark: #303030;
  --light: #ffffff;
  --black: #000000;
  --accent: #F31559;
}

span {
  display: inline-block;
}

input::selection {
  color: var(--accent);
  background-color: var(--dark);
}

button:hover,
input[type=checkbox],
.options-container > label {
  cursor: pointer;
  transition: 250ms;
}

button:hover {
  color: #ffffff;
}

input[type=checkbox] {
  transition: transform 250ms;
  transform: scale(1.5, 1.5);
}

input[type=checkbox]:checked {
  background-color: var(--accent);
}
input[type=checkbox]:hover, input[type=checkbox]:checked {
  cursor: pointer;
}

input[type=checkbox]:hover {
  transform: scale(2, 2);
}

input:active,
input:focus {
  outline: none;
}

input[type=text],
input[type=number] {
  border: none;
  padding: 10px 0;
  text-align: center;
  border-radius: 5px;
  color: var(--black);
  box-shadow: 0 0 40px var(--accent);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

label {
  display: flex;
  user-select: none;
  justify-content: space-between;
}

/* Container */
.container {
  min-height: 50vh;
  display: grid;
  place-items: center;
  align-self: center;
  justify-content: space-evenly;
  font-family: "Poppins", sans-serif;
  grid-template-columns: auto auto auto;
}

/* Color Pallete */
.color-pallete {
  right: 0;
  gap: 10px;
  float: right;
  display: flex;
  position: absolute;
  margin-right: 30px;
  list-style-type: none;
}

.color-pallete > li {
  width: 20px;
  height: 20px;
  border-radius: 20px;
}
.color-pallete > li:hover {
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent);
}

/* Header */
.heading {
  font-weight: 500;
  border-radius: 10px;
  background-color: var(--accent);
}

header {
  display: flex;
  font-size: 3rem;
  user-select: none;
  text-align: center;
  word-wrap: break-word;
  justify-content: center;
  font-family: "Archivo Black", sans-serif;
}

header,
.text-outline {
  -webkit-text-stroke: 2px var(--black);
}

.text-outline {
  color: transparent;
  text-shadow: 1px 1px 10px var(--accent);
}

/* aside */
aside {
  display: flex;
  width: 100%;
  margin: 0 50px;
  padding: 10px 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#passwordInput {
  width: 100%;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
}

.button-container {
  width: 100%;
  display: grid;
  padding: 50px 0;
  column-gap: 10px;
  grid-template-columns: auto auto auto;
}

button {
  padding: 5px 10px;
  user-select: none;
  background: var(--accent);
  border: 1px solid var(--accent);
  font-family: "Poppins", sans-serif;
  border-bottom: 1px solid var(--accent);
}
button:hover {
  box-shadow: 0 0 20px var(--accent);
}

.button-container > button:nth-child(1) {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.button-container > button:nth-child(2) {
  border-top-color: var(--accent);
  border-bottom-color: var(--accent);
}

.button-container > button:nth-child(3) {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

canvas {
  width: 5rem;
}

/* Line */
.line {
  width: 2px;
  height: 50%;
  background-color: var(--black);
}

/* Options Container */
.options-container {
  gap: 20px;
  display: flex;
  padding: 10px 50px;
  flex-direction: column;
  justify-content: center;
}

.lengthInput-container {
  gap: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.lengthInput {
  gap: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.lengthInput > button {
  font-weight: bold;
  border-radius: 10px;
  border: 1px solid black;
}

#lengthInput {
  padding: 4px 0;
}

#length:hover {
  cursor: pointer;
}