section .flex {
  column-gap: 1em;
}
.container.flex {
  flex-direction: column;
  width: 100%;
  align-items: flex-start !important;
}
.dropdown {
  min-width: 70%;
  width: 100%;
  position: relative;
}
.container.flex:last-child {
  transform: translateX(115%);
  z-index: 9;
}
.select {
  width: 100%;
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px #fff solid;
  padding: 1em;
  cursor: pointer;
  transition: all 300ms;
  font-size: 10px !important;
  border-radius: 0.8em;
}
.select-clicked {
  border: 1px #26489a solid;
  box-shadow: 0 0 0.8em #26489a;
}
.select:hover {
  background-color: #323741;
}
.selected {
  margin: 0em;
}
.caret {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid #fff;
  transition: 0.3s;
}
.caret-rotate {
  transform: rotate(180deg);
}
.menu {
  list-style: none;
  padding: 0.2em 0.5em;
  background-color: #000 !important;
  border: 1px solid #363a43;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  color: #fff;
  position: absolute;
  top: 3em;
  left: 50%;
  width: 108%;
  transform: translateX(-42%);
  opacity: 0;
  display: none;
  transition: all 300ms ease;
  z-index: 1;
}
@media screen and (min-width: 1440px) {
  .menu {
    left: 46%;
    top: 2.5em;
    width: 102%;
  }
}
.menu li {
  padding: 0.7em 0.5em;
  margin: 0.3em 0;
  cursor: pointer;
}
.menu li:hover {
  background-color: #2a2d35;
}
/* .active {
  background-color: #23242a;
} */
.menu-open {
  display: block;
  opacity: 1;
}


#explorerPopup {
  /* Visibility */
  display: none;
  height: 0;
  width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
}
#explorerPopup.active {
  display: block;
  position: fixed;
  border: 1px solid #fff;
  /* Visibility */
  top: 15%;
  left: 0%;
  right: 0%;
  height: 70%;
  width: 50%;
  opacity: 1;
  margin-inline: auto;
  visibility: visible;
  pointer-events: all;
  z-index: 9;
  padding: 2em;
}
#explorerPopup #closePopup:hover {
  color: #fa8c23;
}
.popupContainer.flex {
  column-gap: 2em;
}
.popupContainer img {
  width: 35%;
}
.popupContainer h2 {
  font-size: 50px;
}
.popupContainer p {
  max-width: 80%;
  margin-bottom: 3em;
}
.popupContainer h3 {
  width: 80%;
  padding: 0.5em 1em;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.container.flex h2 {
  font-size: 2em;
  margin: 0.5em 0 0.1em;
}
.bttmContainer.flex {
  column-gap: 3em;
}
.bttmContainer.flex span i {
  font-size: 4em;
}
.bttmContainer.flex img.bttmImg {
  width: 20%;
}
@media screen and (max-width: 768px) {
  .container.flex h2 {
    font-size: 1.8em;
  }
  .select {
    padding: 0.7em;
  }
}

/* NEW POPUP */
.darkBG {
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  transition: all 0.3s ease-in-out;
}
.darkBG.is-active {
  opacity: 0.7;
  background-color: #060606;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
}
.grid-30-70 {
  grid-template-columns: 30% 1fr;
}
#galleryPopup h2{
  font-size: 3em;
  margin-bottom: 0.25em;
}#galleryPopup #views{
  margin-top: 0.25em;
}

#galleryPopup {
  max-width: 1200px;
  width: 80%;
  /* margin-inline: auto; */
  border: 2px solid #fff;
  position: fixed;
  z-index: -1;
  transform: translateY(-40%);
  background-color: #060606;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  top: 100px;
  left: 50%;
  transform: translate(-50%, 0);
}
#galleryPopup.is-active {
  opacity: 1;
  pointer-events: all;
  
  z-index: 999;
  height: auto;
}
#galleryPopup * {
  line-height: 1;
}
#galleryPopup nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
#galleryPopup .exitBtn {
  padding: 0.5em;
  font-family: "Pixel Font";
  font-size: 2em;
  transition: 0.1s ease;
}
#galleryPopup .exitBtn:hover {
  color: #fa8c23;
}
#galleryPopup nav #tabs {
  position: absolute;
  top: 0;
  right: 0;
}
#galleryPopup nav #tabs a{
  display: block;
  padding: 1em;
  color: #363a43;
  border: 2px solid #fff;
  font-family: "Pixel Font";
  text-transform: uppercase;
  font-size: 1.3em;
}
#galleryPopup nav #tabs a,
#galleryPopup #views a {
  transition: all 0.2s ease-in-out;
}
#galleryPopup nav #tabs a:hover,
#galleryPopup #views a:hover {
  color: #fff;
}
#galleryPopup nav #tabs a.active {
  background-color: #fa8c23;
  color: #fff;
}
#galleryPopup section {
  opacity: 0;
  height: 0;
  max-height: 0;
  padding: 0 3em 1em;
  pointer-events: none;
}
#galleryPopup section.is-active {
  opacity: 1;
  height: 100%;
  max-height: 100%;
  pointer-events: all;
}
#galleryPopup #dragonInfo {
  column-gap: 2em;
  margin-top: 0.3em;
} 
#galleryPopup #views  {
  grid-column-gap: 0em;
  grid-row-gap: 0em;
  margin-top: 0.5em;
}
#galleryPopup #views a {
  color: #363a43;
  font-family: "Pixel Font";
  text-transform: uppercase;
  margin-bottom: 0.3em;
  letter-spacing: 1px;
  font-size: 1.4em;
}
#galleryPopup #views a.active {
  color: #fff;
}
#galleryPopup #dragonTokenID {
  margin: 0;
  margin-top: 0.2em;
  margin-bottom: 0.8em;font-size: 3em;
}
#galleryPopup .traits h3 {
  font-size: 2.2em;
  letter-spacing: 1px;
  margin: 0 0 0.4em;
}
#galleryPopup .traits .grid {
  grid-column-gap: 0em;
  grid-row-gap: 0em;
  margin-top: 0em;
}
#galleryPopup .trait {
  font-family: "Pixel Font";
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
  font-size: 1.6em;
 /* margin-bottom: 0.6em;*/
}
#galleryPopup .trait .rarity {
  color: #bc6818;
}
#galleryPopup .trait span {
  /*font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7em;
  text-transform: none;*/
}
#galleryPopup .trait span{
  color: #fa8c23;
}
.marketplace-btn {
  text-align: center;
  margin-top: 2em;
}
.marketplace-btn a {
  font-family: "Pixel Font";
  text-transform: uppercase;
  color: #fff;
  padding: 0.8em 1.2em;
  border: 2px solid #fff;
  margin: 0;font-size: 1.5em;
  transition: 0.2s ease-in-out;
}
.marketplace-btn a:hover {
  background-color: #fa8c23;
  border-color: #bc6818;
}
@media screen and (max-width: 500px) {
  #galleryPopup.is-active {
    height: auto;
    margin-top: 4vh;
  }
  #galleryPopup {
    width: 90% !important;
  }
  #galleryPopup section {
    padding: 0 1em 1em;
  }
  #galleryPopup #dragonInfo {
    column-gap: 1em;
    padding-top: 1em;
  }
}