body {
  background-color: white;
}

#colour-board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 60px;
}

/* Dynamic colour set */

.colour-set {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.colour-set-header {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.colour-set-header h1 {
  margin: 20px;
  padding: 20px;
}
.colour-set-header button {
  padding: 15px 30px;
  background: #448bef;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  transition: 0.15s all ease-in-out;
  cursor: pointer;
}
.colour-set-header button:hover {
  background: #2269ff;
}
.colour-set-header button:active {
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}


.colour-set ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

.colour-set-item {
  width: 133px;
  height: 200px;
  margin: 10px;
  background: #DDDDDD;
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.colour-set-item button:hover {
  color: white;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
}
.colour-set-item .delete {
  position: absolute;
  top: 0px;
  right: 5px;
  padding: 5px;
  background: none;
  border: none;
  font-size: 15px;
}
.colour-set-item .add {
  height: 100%;
  width: 100%;
  background: none;
  border-radius: 5px;
  border: none;
  font-size: 30px;
}
.colour-set-item input {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 133px;
  padding: 20px 10px;
  background: white;
  text-align: center;
  border-radius: 0 0 10px 10px;
  border: none;
  background: rgba(210,210,210,0.8);
  font-size: 20px;
  font-family: monospace;
}
.colour-set-item input:focus {
  outline: none;
}





/* Fixed colours */

.colour-mode-toggle {
  top: 0;
  right: 0;
  margin: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.2);
}
.colour-mode-toggle h3 {
  padding: 10px;
}
.colour-mode-toggle .mode-option {
  padding: 10px;
}
.colour-mode-toggle .mode-label {
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
}
.colour-mode-toggle input {
  display: none;
}
.colour-mode-toggle input:checked + .mode-label {
  box-shadow: inset 0 0 3px black;
}


.colour-strip {
  width: 90%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: scroll;
}

.colours {
  width: 100%;
}

.colour {
  position: relative;
  min-width: 170px;
  width: 100%;
  margin: 10px 0;
	padding: 25px 10px;
  border-radius: 15px;
	background-color: #eeeeee;
	text-align: center;
	cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.colour-value {
	padding: 5px;
	border-radius: 5px;
	background-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
	font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  text-transform: uppercase;
}
.colour-description {
  padding-top: 8px;
  font-size: 0.5em;
  color: rgba(0,0,0,0.5);
  color: #FFFFFF;
}
.colour-opacity {
  position: absolute;
  font-size: 0.7em;
  top: 10px;
  right: 10px;
}

@media only screen and (min-width: 700px) {
  .colour-strip {
    width: 90%;
    margin: 20px;
    flex-direction: row;
    display: inherit;
  }

  .colours {
    display: flex;
    align-items: center;
  }

	.colour {
    width: 300px;
    margin: 10px;
	}
}
