@import url("https://fonts.googleapis.com/css?family=Lato:400,700,900i|Raleway:400,800,800i|Rubik:400,500|Changa+One:400i|Roboto+Condensed:400,400i,700,700i");
* {
  box-sizing: border-box;
}
div::-webkit-scrollbar {
  height: 7px;
  background: transparent;
}
div::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 8px;
  box-shadow: inset -1px -1px 1px 0 rgba(0, 0, 0, 0.5);
}
div {
  scrollbar-color: gray;
  scrollbar-width: thin;
}

img {
  max-width: 100%;
}
p {
  margin: 0;
}
li {
  list-style: none;
  margin: 5px;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  max-width: 100%;
  margin: 0 auto;
  z-index: 99;
}
.container {
  position: relative;
}
.container::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 420px;
  top: 0;
  left: 0;
  background: linear-gradient(
    -55deg,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.06) 50%
  );
  z-index: 999;
}
@media screen and (max-width: 450px) {
  .container::before {
    display: none;
  }
}
.container:hover::before {
  display: none;
}

@media screen and (max-width: 450px) {

  .container .stats-header .triangles .bottom:before {
    bottom: 1px;
  }
}

/* flip speed goes here */
.card-wrap {
  position: relative;
}
/* flip the card when hovered */
.container.back-shown .card-wrap .front {
  transform: rotateY(180deg);
}
.container.back-shown .card-wrap .back {
  transform: rotateY(360deg);
  z-index: 3;
}

.container,
.front,
.back {
  width: 300px;
  height: 420px;
  box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.4), 0 25px 15px -10px rgba(0, 0, 0, 0.5);
}
.container .stuff,
.front .stuff,
.back .stuff {
  width: 100%;
  height: 100%;
}
.front,
.back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: 0.6s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  position: absolute;
  top: 0;
  left: 0;
}
.front {
  z-index: 2;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  border: 1px solid black;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
  
  background: rgb(98, 125, 77); /* Old browsers */
  background: -moz-radial-gradient(
    center,
    ellipse cover,
    rgba(98, 125, 77, 1) 0%,
    rgba(31, 59, 8, 1) 100%
  ); /* FF3.6-15 */
  background: -webkit-radial-gradient(
    center,
    ellipse cover,
    rgba(98, 125, 77, 1) 0%,
    rgba(31, 59, 8, 1) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(
    ellipse at center,
    rgba(98, 125, 77, 1) 0%,
    rgba(31, 59, 8, 1) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#627d4d', endColorstr='#1f3b08',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  padding: 16px 16px 0 16px;
}


.front .stuff {
  position: relative;
  border: 2.5px solid goldenrod;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 14px 14px 14px 14px;
  height: 80%;
  width: 100%;
}

.front .hood {
  position: absolute;
  top: 15px;
  left: 220px;
  width: 100%;
}
.front .name-box {
  border-radius: 0 0 0 10px;
  height: 20%;
  padding: 0 0 0 0;
  text-align: center;
  background-image: url("https://i.gifer.com/3ubb.gif");
  background-size: cover;
  background-position: bottom;
  background-clip: text;
  -webkit-background-clip: text;
}
.front h1{
  font-family: Arial black;
  font-weight: bolder;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 2px;
  margin: 10px 0 0 0;
  color: transparent;
  display: block;
}

.front h1 .last-name{
  text-transform: uppercase;
  font-style: normal;
  font-size: 30px;
  line-height: 25px;
}

.logo {
  width: 120px;
  position: absolute;
  left: -10px;
  top: -10px;
  transform: rotate(-20deg);
}

.front .retired {
  width: 70px;
  height: 30px;
  position: absolute;
  bottom: 30px;
  right: 16px;
  text-align: center;
  background-color: #7f6b00;
  background: linear-gradient(45deg, #998000, #7f6b00);
  font-size: 12px;
  line-height: 11px;
  padding-top: 0px;
  letter-spacing: 2px;
  font-family: 'Lato', sans-serif;
  transform: skew(-22deg);
  border-radius: 3px;
}
.front .retired span {
  color: #cdcdcd;
  padding-left: 2px;
}

.back {
  transform: rotateY(180deg);
  border: 1px solid #38616f;
  box-sizing: border-box;
  background: rgb(206, 220, 231); /* Old browsers */
  background: -moz-radial-gradient(
    center,
    ellipse cover,
    rgba(206, 220, 231, 1) 26%,
    rgba(89, 106, 114, 1) 98%
  ); /* FF3.6-15 */
  background: -webkit-radial-gradient(
    center,
    ellipse cover,
    rgba(206, 220, 231, 1) 26%,
    rgba(89, 106, 114, 1) 98%
  ); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(
    ellipse at center,
    rgba(206, 220, 231, 1) 26%,
    rgba(89, 106, 114, 1) 98%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cedce7', endColorstr='#596a72',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  padding: 20px 20px 20px 20px;
  z-index: 9;
}

.back .full-name {
  display: block;
  text-align: center;
  z-index: 9;
  position: relative;
  padding-bottom: 0px;
  margin-left: 0px;
  font-family: "Rubik", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.back .first-name {
  padding-top: 12px;
}

.back .last-name {
  font-weight: 500;
  font-size: 30px;
  font-style: italic;
  margin-left: 10px;
  color: white;
}

.back .stats-story {
  height: 378px;
  background-size: cover;
  background-position: -34px 0;
  position: relative;
  font-family: "Roboto Condensed", sans-serif;
}
.back .stats-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 258px;
  height: 342px;

  border-radius: 0px 0px 0px 0px;
  opacity: 1;
}
.back .inner-box {
  position: relative;
  z-index: 10;
  padding: 5px 10px 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.back .stats-box {
  font-size: 13px;
  text-transform: uppercase;
}
.back .stats-box .row {
  display: flex;
}
.back .stats-box .row--headings {
  border-bottom: 1px solid #000;
}
.back .stats-box .row--totals {
  border-top: 1px solid #000;
  font-weight: bold;
}
.back .stats-box .row div {
  padding: 1px 0;
}
.back .stats-box .row div:first-child {
  width: 40px;
  min-width: 40px;
  text-align: left;
}

.back .stats-box .amountfirst {
  width: 50px;
  text-align:center;
} 

.back .stats-box .heading,
.back .stats-box .amount {
  width: 50px;
  text-align: center;
}
.back .stats-header {
  font-size: 11px;
  font-weight: bold;
}
.back .stats-header a {
  text-decoration: none;
  color: #000;
}
.back .stats-header a:hover {
  text-decoration: underline;
}
.back .story {
  font-weight: bold;
  margin-top: 10px;
  font-size: 12px;
  line-height: 12px;
  text-align: justify;
  flex-grow: 1;
}

.accolades {
  max-height: 50%;
  position: absolute;
  columns: 2;
  bottom:15%;
  column-gap: 0;
  font-size: 13px;
}

.boom {
  text-align: center;
  padding: 2px;
  font-size: 20px;
}

.key {
  text-decoration: underline;
  line-height: 20px;
  font-weight: bold;
  font-size: 13px;
}

.front .league-image {
  width: 100%;
  height: 100%;
  border-radius: 12px 12px 12px 12px;
  background-repeat: no-repeat;
  background-size:cover;
  background-position: center;
  z-index: -1;

}

.container[data-league="Garlic Johnson"] .front .league-image {
  background-position: -65px;
  background-size: cover;
}

.container[data-league="Derek Schultz"] .front .league-image {
  background-size: cover;

}

@media screen and (max-width: 450px) {
  .container {
    cursor: pointer;
    margin: 10px;
  }
  }
	 
