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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: lightskyblue;
}

.container {
  padding: 10px;
  border: 2px dashed darkblue;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h3 {
  color: darkblue;
  text-align: center;
  margin-bottom: -10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  word-spacing: 2px;
}

.colorPreview {
  width: 300px;
  height: 200px;
  border: 2px solid darkblue;
  border-radius: 10px 50%;
}

.colorContainer {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.box label {
  font-weight: 600;
}

.box input {
  width: 90%;
  cursor: pointer;
}

.buttonContainer {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.buttonContainer input {
  width: 100%;
  height: 50px;
  font-size: 20px;
  text-align: center;
  border: 2px solid darkblue;
  border-radius: 10px;
  background-color: aliceblue;
  color: darkblue;
  outline: none;
}

.buttonContainer input::selection {
  background-color: none;
}

.buttonContainer .copyCodeBtn {
  width: 100%;
  height: 40px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background-color: darkblue;
  text-transform: uppercase;
  letter-spacing: 3px;
  border: 2px solid darkblue;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.buttonContainer .copyCodeBtn:hover {
  color: darkblue;
  background-color: transparent;
}
