@import url('https://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed|Overpass:300,700');

.lore-card {
  text-decoration: none;
  position: relative;
}
.lore-card span {
  display: none;
}
.lore-card:hover span {
  display: block;
  position: absolute;
  overflow: hidden;
}

.custom-container#armory_page {
  max-width: 1440px;
  min-width: 1440px;
}

div#armory_header {
  z-index: 10;
  position: relative;
  min-height: 200px;
  max-height: 200px;
  background-image: url('https://cdn.galacticgeckos.com/legacy-website/images/faq_dropdown.png');
  background-repeat: no-repeat;
  background-size: contain;
  transform: translatex(0px);
  transform: translatey(0px);
  animation: float_xy 15s ease-in-out infinite;
}

div#armory_header span.title {
  position: absolute;
  text-align: center;
  font-size: 70px;
  top: 14%;
}

div#armory_trait_selector {
  position: relative;
  min-height: 200px;
  max-height: 200px;
  margin-top: -45px;
  background-image: url('https://cdn.galacticgeckos.com/legacy-website/images/social_bar.png');
  background-repeat: no-repeat;
  background-size: contain;
  transform: translatex(0px);
  transform: translatey(0px);
  animation: float_xy 15s ease-in-out infinite;
}

div#armory_rarity_selector {
  position: relative;
  min-height: 200px;
  max-height: 200px;
  margin-top: -95px;
  background-image: url('https://cdn.galacticgeckos.com/legacy-website/images/social_bar.png');
  background-repeat: no-repeat;
  background-size: contain;
  transform: translatex(0px);
  transform: translatey(0px);
  animation: float_xy 15s ease-in-out infinite;
}

div.trait_selector {
  z-index: 100;
  text-align: center;
}

div.rarity_selector {
  z-index: 100;
  text-align: center;
  padding: 0px 10px 0px 10px;
}

div#armory_trait_wrapper {
  width: 90%;
  margin-left: 3%;
  margin-top: 3%;
}

div#armory_rarity_wrapper {
  width: 100%;
  margin-top: 3%;
}

div.rarity_selector a {
  text-align: center;
  top: 60px;
  font-family: 'Zombie', 'Futura', 'Roboto', sans-serif;
  font-size: 40px;
  color: rgba(0, 0, 0, 1);
  display: inline-block;
}

div.rarity_selector a:hover {
  animation: none;
  color: rgba(255, 255, 255, 1) !important;
}

div.pressed#common_label a,
div.rarity_trait_header span.common {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 0px 10px rgba(56, 176, 0, 1),
    0px 0px 20px rgba(56, 176, 0, 1), 0px 0px 30px rgba(56, 176, 0, 1);
}

div.pressed#uncommon_label a,
div.rarity_trait_header span.uncommon {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 0px 10px rgba(200, 200, 220, 1),
    0px 0px 20px rgba(200, 200, 220, 1), 0px 0px 30px rgba(200, 200, 220, 1);
}

div.pressed#rare_label a,
div.rarity_trait_header span.rare {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 0px 10px rgba(2, 62, 138, 1),
    0px 0px 20px rgba(2, 62, 138, 1), 0px 0px 30px rgba(2, 62, 138, 1);
}

div.pressed#mythic_label a,
div.rarity_trait_header span.mythic {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 0px 10px rgba(232, 58, 218, 1),
    0px 0px 20px rgba(232, 58, 218, 1), 0px 0px 30px rgba(232, 58, 218, 1);
}

div.pressed#ultra_label a,
div.rarity_trait_header span.ultra {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 0px 10px rgba(232, 205, 58, 1),
    0px 0px 20px rgba(232, 205, 58, 1), 0px 0px 30px rgba(232, 205, 58, 1);
}

div.common span.trait_name {
  background-color: rgba(56, 176, 0, 1);
}

div.uncommon span.trait_name {
  background-color: rgba(151, 157, 172, 1);
}

div.rare span.trait_name {
  background-color: rgba(2, 62, 138, 1);
}

div.mythic span.trait_name {
  background-color: rgba(232, 58, 218, 1);
}

div.ultra span.trait_name {
  background-color: rgba(232, 205, 58, 1);
}

div.trait_selector.pressed a {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 0px 10px #ffffff;
}

div.trait_selector.released a {
  color: rgba(0, 0, 0, 1);
}

div.trait_selector a {
  text-align: center;
  top: 60px;
  font-family: 'Zombie', 'Futura', 'Roboto', sans-serif;
  font-size: 40px;
  color: rgba(0, 0, 0, 1);
  display: inline-block;
}

div.trait_selector a:hover {
  animation: none;
  color: rgba(255, 255, 255, 1) !important;
}

div.rarity_trait_header {
  position: relative;
  height: 80px;
  background-image: url('https://cdn.galacticgeckos.com/legacy-website/images/faq_bar.png');
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: -5px;
}

span.trait_title {
  display: table;
  margin: 0 auto;
}

div.trait_grid {
  margin-left: 5px !important;
}

span.trait_name {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  text-transform: capitalize;
  font-family: 'VT323', monospace;
  text-align: center;
  margin-top: -8px;
  font-size: 17px;
  display: block;
  width: 128.5%;
}

div.hidden_armory {
  display: none;
}

img.common {
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
  border: 6px solid rgba(56, 176, 0, 1);
  box-shadow: inset 0px 0px 50px 50px rgba(56, 176, 0, 1);
}

img.uncommon {
  border-top-left-radius: 25px;
  border-top-right-radius: 17px;
  border: 6px solid rgba(151, 157, 172, 1);
  box-shadow: inset 0px 0px 50px 50px rgba(151, 157, 172, 1);
}

img.rare {
  border-top-left-radius: 25px;
  border-top-right-radius: 17px;
  border: 6px solid rgba(2, 62, 138, 1);
  box-shadow: inset 0px 0px 50px 50px rgba(2, 62, 138, 1);
}

img.armory_trait {
  max-width: 120%;
  max-height: 120%;
}

div.common span.trait_name {
  background-color: rgba(56, 176, 0, 1);
}

div.uncommon span.trait_name {
  background-color: rgba(151, 157, 172, 1);
}

div.rare span.trait_name {
  background-color: rgba(2, 62, 138, 1);
}

div.mythic span.trait_name {
  background-color: rgba(232, 58, 218, 1);
}

div.ultra span.trait_name {
  background-color: rgba(232, 205, 58, 1);
}

img.mythic {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border: 6px solid rgba(232, 58, 218, 1);
  box-shadow: inset 0px 0px 50px 50px rgba(232, 58, 218, 1);

  background: linear-gradient(270deg, #e909ea, #e26eee, #e83ada);
  background-size: 600% 600%;

  -webkit-animation: purple_glimmer 3s ease infinite;
  -moz-animation: purple_glimmer 3s ease infinite;
  animation: purple_glimmer 3s ease infinite;
}

@-webkit-keyframes purple_glimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@-moz-keyframes purple_glimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes purple_glimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

img.ultra {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border: 6px solid rgba(232, 205, 58, 1);
  box-shadow: inset 0px 0px 50px 50px rgba(232, 205, 58, 1);

  /*background: linear-gradient(270deg, #eac709, #f7eaa0, #e8cd3a);*/
  background-size: 600% 600%;

  -webkit-animation: golden_glimmer 5s ease infinite;
  -moz-animation: golden_glimmer 5s ease infinite;
  animation: golden_glimmer 5s ease infinite;
}

@-webkit-keyframes golden_glimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@-moz-keyframes golden_glimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes golden_glimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.card:not(:first-child) {
  margin-left: -100px;
}

.card {
  transition: 0.5s ease-in;
}

.card:hover {
  transform: translateY(-50px);
  transition: 0.4s ease-out;
}

.card:hover ~ .card {
  position: relative;
  left: 100px;
  transition: 0.4s ease-out;
}

img.card__image {
  max-height: 310px;
  margin: auto;
  display: inline-block;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 400;
}

.card {
  display: inline-block;
  width: 310px;
  padding: 15px;
  border-radius: 10px;
  margin: 10px;
  text-align: left;
  height: 690px;
  box-shadow: 0px 5px 20px -10px #111111;
  position: relative;
  transition: 0.4s;
}
.card span {
  display: inline-block;
  font-family: 'Overpass', sans-serif;
  text-align: left;
  position: absolute;
  width: 90%;
  top: 100px;
  left: 15px;
  font-size: 17px;
  line-height: 1.5em;
}
.card__divider {
  height: 15px;
}
.card__line {
  position: relative;
  top: -5px;
  background-color: #000;
  border: 1px solid #000;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 1px 1px 8px #000000;
}
.card__caption {
  background-color: rgba(255, 255, 255, 0.65);
  padding: 1em;
  position: relative;
  height: 333px;
}
.card__image-container {
  height: 310px;
  text-align: center;
}
.card__type {
  height: 24px;
  font-size: 24px;
  text-align: center;
  font-style: none;
  position: relative;
  bottom: 8px;
  right: 0px;
  color: white;
  text-transform: lowercase;
  font-family: 'VT323', monospace;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 0px;
  line-height: 1;
}
.card__label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 400;
  display: block;
  margin-bottom: 3px;
}
.card__name {
  position: relative;
  font-family: 'Open Sans', Helvetica, sans-serif;
  top: 0px;
  text-align: center;
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.card__spacer {
  height: 20px;
}
.card--common {
  background: linear-gradient(
    to left,
    #38b000 0%,
    #4cc414 33%,
    #60d828 67%,
    #74ec3c 100%
  );
}
.card--common .card__type {
  color: #38b000;
}
.card--uncommon {
  background: linear-gradient(
    to left,
    #979dac 0%,
    #abb1c0 33%,
    #bfc5d4 67%,
    #d3d9e8 100%
  );
}
.card--uncommon .card__type {
  color: #979dac;
}
.card--rare {
  background: linear-gradient(
    to left,
    #023e8a 0%,
    #16529e 33%,
    #2a66b2 67%,
    #3e7ac6 100%
  );
}
.card--rare .card__type {
  color: #023e8a;
}
.card--mythic {
  background: linear-gradient(
    to left,
    #d228be 0%,
    #ff5afa 33%,
    #ff78ff 67%,
    #ff91ff 100%
  );
}
.card--mythic .card__type {
  -webkit-animation: mythic_glow 0.3333s ease-in-out infinite alternate;
  -moz-animation: mythic_glow 0.3333s ease-in-out infinite alternate;
  animation: mythic_glow 0.3333s ease-in-out infinite alternate;
}
.card--ultra {
  background: linear-gradient(
    to left,
    #e8cd3a 0%,
    #ffeb5a 34%,
    #ffff78 67%,
    #ffff96 100%
  );
}
.card--ultra .card__type {
  -webkit-animation: ultra_glow 0.3333s ease-in-out infinite alternate;
  -moz-animation: ultra_glow 0.3333s ease-in-out infinite alternate;
  animation: ultra_glow 0.3333s ease-in-out infinite alternate;
}

@-webkit-keyframes white_glow {
  from {
    text-shadow: 0 0 1px #ffffff, 0 0 2px #ffffff, 0 0 3px #ffffff,
      0 0 4px #ffffff, 0 0 5px #ffffff, 0 0 6px #ffffff, 0 0 7px #ffffff;
  }
  to {
    text-shadow: 0 0 3px #ffffff, 0 0 4px #ffffff, 0 0 5px #ffffff,
      0 0 6px #ffffff, 0 0 7px #ffffff, 0 0 8px #ffffff, 0 0 9px #ffffff;
  }
}
@-webkit-keyframes mythic_glow {
  from {
    text-shadow: 0 0 1px rgba(190, 25, 190, 0.7),
      0 0 2px rgba(190, 25, 190, 0.7), 0 0 3px rgba(190, 25, 190, 0.7),
      0 0 4px rgba(190, 25, 190, 0.7), 0 0 5px rgba(190, 25, 190, 0.7),
      0 0 6px rgba(190, 25, 190, 0.7), 0 0 7px rgba(190, 25, 190, 0.7);
  }
  to {
    text-shadow: 0 0 3px rgba(190, 25, 190, 0.7),
      0 0 4px rgba(190, 25, 190, 0.7), 0 0 5px rgba(190, 25, 190, 0.7),
      0 0 6px rgba(190, 25, 190, 0.7), 0 0 7px rgba(190, 25, 190, 0.7),
      0 0 8px rgba(190, 25, 190, 0.7), 0 0 9px rgba(190, 25, 190, 0.7);
  }
}
@-webkit-keyframes ultra_glow {
  from {
    text-shadow: 0 0 1px #c8aa28, 0 0 2px #c8aa28, 0 0 3px #c8aa28,
      0 0 4px #c8aa28, 0 0 5px #c8aa28, 0 0 6px #c8aa28, 0 0 7px #c8aa28;
  }
  to {
    text-shadow: 0 0 3px #c8aa28, 0 0 4px #c8aa28, 0 0 5px #c8aa28,
      0 0 6px #c8aa28, 0 0 7px #c8aa28, 0 0 8px #c8aa28, 0 0 9px #c8aa28;
  }
}
