
body {
  margin: 0;
  padding: 0;
  background-image: url("./images/portal_background.png");
  background-position: center top;
  font-family: sans-serif;
}

.app {
  /*background-image: url("https://cdn.battlerite.com/www3/images/static/bg/portal_background.png");*/
  /*background-position: center top;*/
  width: 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 890px;
  overflow-y: auto;
  overflow-x: hidden;
}

.cardsContainer,
.cardsContainer > div,
.bp {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app figure {
  position: relative;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gloss::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0)),
    to(rgba(255, 255, 255, 0.3))
  );
  background: gradient(
    linear,
    left top, right top,
    from(rgba(255, 255, 255, 0)),
    to(rgba(255, 255, 255, 0.3))
  );
  background: linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  background: linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
}
.gloss {
  filter: grayscale(25%);
}
.gloss:hover {
  filter: none;
}

figure {
  overflow: hidden;
}





img {
  cursor: pointer;
  user-select: none;
}

.app figure:hover::before {
  animation: shine 1.05s;
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

#root,
body,
html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

img {
  width: 100%;
}

.bp > figure > div {
  position: relative;
  cursor: pointer;
  top: 0px;
}

.bp > figure > div:hover {
  /*top: -1px;*/
  filter: brightness(1.1);
}

.bp p {
  position: absolute;
  bottom: 4%;
  left: 26.5%;
}

.bp img {
  /*filter: drop-shadow(2px 2px 2px #222);*/
  width: 200px;
}

.small {
  color: white;
  font-weight: 800;
  font-family: "Open Sans", sans-serif;
  font-size: 10px;
  text-shadow: 0 0 1px transparent, 0 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 3;
}

@media screen and (max-width: 1600px) {
  figure {
    width: 100%;
  }
}

@media screen and (max-width: 1400px) {
  figure {
    width: 90%;
  }
}

@media screen and (max-width: 1250px) {
  .cardsContainer {
    flex-direction: column;
  }
  figure {
    width: 70%;
  }
}

@media screen and (max-width: 710px) {
  figure {
    width: 80%;
  }
}
