@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Playwrite+IN:wght@100..400&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");

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

html,
body {
  display: flex;
  flex-flow: column nowrap;
  white-space: nowrap;
  height: 95vh;
  width: 100vw;
}

body {
  flex-grow: 1;
}

.header {
  display: flex;
  width: 100vw;
  height: 100vh;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.header-share {
  width: 100vw;
  height: auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px 0px 10px black;
}
h1 {
  font-family: "Playwrite IN", serif;
  font-size: 3rem;
  color: #ff7a59;
  text-shadow: 1px 1px 0px #000000, 2px 2px 0px #ff7e5f, 3px 3px 0px #000000;
  transition: all 0.1s ease-in-out;
}

.navbar {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
.navbar a {
  text-align: center;
  font-family: "Oswald", serif;
  padding: 5px 5px 10px 5px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  background-color: hsla(12, 100%, 67%, 0.842);
  border-radius: 20px;
  font-size: 1.5rem;
  text-shadow: 1px 2px 1px black;
  transition: all 0.1s ease-in-out;
}

.navbar a:hover {
  background-color: #ff3300;
  color: white;
  text-shadow: none;
}

.instruction {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  font-family: "Oswald", serif;
  letter-spacing: 2px;
  font-size: 1.5rem;
}
.instruction-small {
  display: none;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  font-family: "Oswald", serif;
  letter-spacing: 2px;
  font-size: 1rem;
}

.pallets-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-grow: 1;
  flex-flow: row nowrap;
  box-shadow: 0px 0px 10px black;
}

.pallets-container > div {
  flex: 1;
}

.color-pallet-container1 {
  width: 20vw;
  height: 100%;
  background-color: #8a2ae3;
}
.color-pallet-container2 {
  width: 20vw;
  height: 100%;
  background-color: #2b37e2;
}
.color-pallet-container3 {
  width: 20vw;
  height: 100%;
  background-color: #2ad39b;
}
.color-pallet-container4 {
  width: 20vw;
  height: 100%;
  background-color: #90e22b;
}
.color-pallet-container5 {
  width: 20vw;
  height: 100%;
  background-color: #e2802b;
}

.inside {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

p.buttons {
  user-select: none;
  cursor: pointer;
  border: none;
  border-radius: 15px;
  padding: 10px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-size: 2rem;
  position: relative;
  transition: all 0.05s ease;
}

.buttons:hover {
  background-color: hsla(0, 0%, 0%, 0.27);
}
.buttons:active {
  background-color: greenyellow;
}
.copy-text {
  color: red;
  display: flex;
  position: absolute;
  top: 10px;
}

footer {
  font-family: "Oswald", serif, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 5px;
  color: whitesmoke;
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: hsla(0, 0%, 0%, 0.383);
}

.about-main {
  width: 100%;
  height: 100%;
}

.pallet-footer {
  display: none;
  justify-content: center;
  background-color: white;
}

.generate {
  font-family: "Times New Roman", Times, serif;
  font-size: 2rem;
  padding: 0px 10px;
  border: none;
  border-radius: 20px;
  box-shadow: 0px 0px 10px black;
}

.generate:active {
  color: white;
  background-color: red;
}

@media (max-width: 700px) {
  .pallets-container {
    width: 100vw;
    height: 100%;
    display: flex;
    flex-grow: 1;
    flex-flow: column nowrap;
    box-shadow: 0px 0px 10px black;
  }
  .pallets-container div {
    width: 100vw;
  }
  .instruction {
    display: none;
  }
  .instruction-small {
    display: flex;
  }
  .pallet-footer {
    display: flex;
  }
  .h1-main {
    font-size: 6rem;
  }
}
