.airdrop-gallery {
  margin-top: 2em !important;
}
.airdrop-gallery img#mainImg {
  max-width: 500px;
}
.gallery-container .flex {
  column-gap: 2em;
  transition: 0.1s;
}

.gallery-container .flex #mainTxt {
  align-self: flex-start;
}

.gallery-container .flex #thumbnail_text {
  display: none;
}

.gallery-container #thumbnails img {
  border-radius: 0.1em;
  pointer-events: all;
  cursor: pointer;
  /* width: 10%; */
}

@media screen and (max-width: 768px) {
  .airdrop-gallery img#mainImg {
    max-width: 50%;
    margin-bottom: 2em;
  }
}

/* TEAM GALLERY */
.gallery-container .flex a {
  width: 50%;
}

#background.bgfilter.popup {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh !important;
  width: 1920px !important;
  display: inline;
  z-index: 99;
  background-color: #000;
  filter: blur(1px) brightness(0.4) opacity(0.9);
}

#background.bgfilter {
  display: none;
}

#features-popup {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  background-color: #000;
  border: 1px solid #fff;
  padding: 2em 3em;
  visibility: hidden;
  height: auto;
  opacity: 0;
  transition: 0.2s;
  display: none;
  z-index: 999;
  border-radius: 0.5em;
  animation: fadeOut 0.3s ease-in;
}
#features-popup.open {
  visibility: visible;
  opacity: 1;
  display: grid;
  position: fixed;
  top: 300px;
  left: calc(50vw - 400px);
  animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
  from {
    opacity: 40%;
    transform: translateY(1em);
  }
  to {
    opacity: 100%;
    transform: translateY(0);
  }
}

#features-popup .txt-container h2 {
  margin-top: 0;
}

#features-popup img {
  width: 100%;
}

#features-popup a {
  font-size: 1.5em;
  position: absolute;
  top: 2%;
  right: 1%;
}
@media screen and (max-width: 768px) {
  #background.bgfilter.popup {
    width: 100vw !important;
  }
  #features-popup.open {
    left: 10%;
    padding-inline: 2em;
    max-width: 80%;
    width: 100%;
    margin-inline: auto;
    top: 50%;
    transform: translateY(-50%);
  }
  #features-popup a {
    font-size: 1.5em;
    position: absolute;
    top: 5%;
    right: 5%;
  }
  #features-popup.open .txt-container {
    text-align: center;
  }
}
