@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
/* @import url("https://fonts.googleapis.com/css2?family=Doto:wght@100..900&display=swap"); */
body {
  font-family: "Space Grotesk", sans-serif;
  background-image: linear-gradient(
    90deg,
    rgb(153, 233, 141),
    rgb(80, 243, 243),
    rgb(242, 237, 132)
  );
  height: 100vh;
}

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

html {
  font-size: 8px;
}

body {
  position: relative;
}

nav {
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: fit-content;
  background-color: #333;
  border: 5px solid #111;
  margin-left: 2.5rem;
  margin-top: 2.5rem;
  padding: 25px;
  gap: 3rem;
  border-radius: 1.5rem;
  transition: all 0.75s;
}

.icons {
  position: fixed;
  right: 2.5%;
  top: 5%;
  width: 125px;
  height: 125px;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  /* overflow: hidden; */
}

.icons i {
  position: relative;
}

.icons i.fa-bars {
  left: 0;
}
/* 
.icons.toggle i {
  transform: translateX(-100%);
} */

.icons.toggle i.fa-bars {
  opacity: 0;
  transform: translateX(-100%) scale(0);
}

.icons i.fa-xmark {
  opacity: 0;
  transform: translateX(0) scale(0);
}

.icons.toggle i.fa-xmark {
  opacity: 1;
  transform: translateX(-100%) scale(1);
}

/* #switch-icon::before {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: absolute;
    z-index: 10;
    background-color: #99e98d;
  } */

#btn,
.icons i,
#copy-button {
  background-color: #333;
  color: #eee;
  width: fit-content;
  height: fit-content;
  border-radius: 1.5rem;
  font-size: 7.5rem;
  transition: all 0.6s;
  padding: 2.5rem;
  border: 5px solid #eee;
}

#btn,
#copy-button {
  margin: 0 10px;
  background-color: #333;
  color: #eee;
  border-width: 5px;
}

input {
  border-width: 5px;
  border-style: solid;
  border-radius: 1.5rem;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
}

input[type="number"] {
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: textfield;
}

input::placeholder {
  font-family: "Space Grotesk", sans-serif;
  font-weight: bold;
  color: #333;
}

input.swatch {
  width: 15rem;
  height: 7.5rem;
  border-color: #111;
  margin: 8px 0;
  cursor: pointer;
}

#direction {
  width: 15rem;
  border-color: white;
  font-size: 3.5rem;
  font-weight: 700;
  padding: 0.325rem;
}

#direction,
#direction:active {
  outline: none;
}

nav.hidden {
  left: 0;
  transform: translateX(-125%);
}

.icons i.fa-xmark {
  background-color: #eee;
  color: #111;
  border-color: black;
}

#btn:hover,
#copy-button:hover {
  background-color: #eee;
  color: #333;
  border-color: black;
  cursor: pointer;
}

#swatch-container {
  background-color: rgba(0, 0, 0, 0.2);
  height: fit-content;
  flex: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border: 5px solid #fff;
  border-radius: 15px;
}

.swatch-container {
  width: 30rem;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.swatch-container i {
  font-size: 3.5rem;
  color: #eee;
  cursor: pointer;
  transition: all 0.6s;
}

.swatch-container i:hover {
  color: black;
  background-color: white;
  padding: 15px;
  border-radius: 15px;
}

.swatch-container i.fa-clipboard {
  cursor: copy;
}

.swatch-container .fa-trash {
  cursor: not-allowed;
}

.button-container #copy-button {
  cursor: copy;
}
