@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: Outfit, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #000, #fff);
  background-size: cover;
  font-family: Outfit, sans-serif;
  padding-bottom: 50vh;
  height: 100vh; 
  overflow: hidden;
}


.monospace {
  font-family: monospace;
  font-size: 10px;
}

.container-diamond {
  width: 60vmin;
  height: 60vmin;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  display: flex;
  flex-wrap: wrap-reverse;
}

.container-mint {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50%;
  transform: rotate(-135deg);
}

#grid {
  display: grid;
  grid-template-columns: repeat(6, 5vmin);
  gap: 0px;
  /* margin-top: 20px; */
}

.shape-container {
  display: inline-block;
  transform: rotate(-135deg);
}

#grid-shape {
  display: grid;
  grid-template-columns: repeat(6, 0.5vmin);
  gap: 0px;
}

.hidden {
  display: none;
}

.container-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100vw;
}

.gallery-header {
  padding: 10px;
  justify-content: left;
  display: flex;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 5vmin;
}

.border1 { border: 1px solid white; }
p { margin: .3em; }

.rotate-right {
  transform: rotate(45deg);
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.top-left {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3%;
}

.top-right {
  position: absolute;
  top: 0;
  right: 0;
  padding: 3%;
}

.bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 3%;
}

.bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 3%;
}

.pixel {
  width: 10vmin;
  height: 10vmin;
  cursor: pointer;
}

/*.pixel:hover {
  background-color: hsla(10, 0%, 100%, 0.15);
  filter: invert(1%);
}*/

.clicked {
  background-color: hsla(10, 20%, 100%, 0);
  /* filter: invert(10%); */
}

.cell {
  width: 5vmin;
  height: 5vmin;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: transparent;
}
.cell.small {
  width: 0.5vmin;
  height: 0.5vmin;
}

.cyan { background-color: cyan; }
.magenta { background-color: magenta; }
.yellow { background-color: yellow; }
.black { background-color: black; }
.white { background-color: white; }
.transparent { background-color: none; }

.cyan.monochrome, .magenta.monochrome, .yellow.monochrome, .black.monochrome, .white.monochrome {
  background-color: black !important;
}

.ctext {color:cyan;}
.mtext {color:magenta;}
.ytext {color: yellow;}
.ktext {color:black;}
.wtext {color:white;}

/* style for the pixel animation  */
.container-pixel-anim {
  display: flex;
  flex-wrap: wrap;
  width: 7vmin;
  height: 7vmin;
  margin: 0 auto;
  padding: 11%;
}

.pixel-square {
  width: 50%;
  height: 50%;
  /* background-color: cyan; */
  /* transition: background-color .1s; */
}

@keyframes colorize {
  0% { background-color: transparent ; }
  20% { background-color: magenta; }
  /* 33.33% { background-color: yellow; } */
  40% { background-color: white; }
  60% { background-color: black; }
  80% { background-color: cyan; }
  100% { background-color: yellow; }
}

.pixel-square:nth-child(1) { animation: colorize 4s infinite; }
.pixel-square:nth-child(2) { animation: colorize 4s infinite 1s; }
.pixel-square:nth-child(3) { animation: colorize 4s infinite 3s; }
.pixel-square:nth-child(4) { animation: colorize 4s infinite 2s; }
/* end pixel animation  */


.color-percentages {
  /* margin-top: 20px; */
  padding: 5px;
}

.color-block {
  display: flex;
  align-items: center;
}

.color-bar {
  height: 15px;
  /* border: 1px solid #ccc; */
  /* flex-grow: 1; */
  margin-left: 10px;
  transition: width 0.3s;
}

.label {
  color: gray;
  padding-right: 10px; 
  height: 1em;
}

.traits-section {
  /* font-family: monospace; */
  width: 21em;
  font-size: .8em;

}

.composite-color {
  height: auto;
}

.shape-svg-container {
  max-width: 6vmin;
  height: 6vmin;
}

#shape-svg-container svg{
  width: 100%;
  height: 100%;
}

.mint-left {
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 10px;
  /* align-items: center; */
  border-right: 1px solid white;
}

.mint-right {
  display: flex;
  flex-direction: column;
  padding: 10px;
  width: 50%;
  background-color: white;
}