.decks {
  margin: 15px;
  width: 330px;
  height: 380px;
  position: relative;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  font-family: verdana;
  border-radius: 10px;
}
.cards {
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
  border-radius: 10px;
}
.faces {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-color: #202e55;
  border-radius: 10px;
}
.backs {
  overflow: hidden;
  z-index: -1;
  display: block;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  box-sizing: border-box;
}
.backs:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: 100% 100%;
  background-color: #202e55;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.fronts, .backs {
  transition: all 0.5s linear;
}
.fronts {
  background-color: #1b2645;
  z-index: 1;
  box-shadow: 5px 5px 5px #aaa;
}
.backs {
  box-shadow: 0 0 0 #aaa;
}
.flippeds, .hovercards:hover {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.flippeds .fronts, .hovercards:hover .fronts {
  box-shadow: 0 0 0 #aaa;
}
.flippeds .backs, .hovercards:hover .backs {
  box-shadow: 5px 5px 5px #aaa;
}
.bottexts {
  position: absolute;
  color: whitesmoke;
  width: 100%;
  height: 100px;
  bottom: 0;
  border-radius: 0 0 10px 10px;
  text-align: center;
  padding: 10px;
}
.bottexts h2 {
  margin: 0;
}
.bottexts h3 {
  margin: 10px 0;
}
.rad-buttons {
  border: 2px solid gray;
  color: gray;
  width: 90px;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 110px;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
.rad-buttons:hover {
  color: gray;
  background-color: white;
}
.fronts h2, .fronts h3 {
  text-align: center;
  color: whitesmoke;
}
.backs h2 {
  margin: 0;
  border-radius: 10px 10px 0 0;
  padding: 10px;
  text-align: center;
  color: whitesmoke;
}
.backs ul {
  text-align: center;
  list-style: none;
  padding: 10px;
  margin: 0;
}
.backs ul li {
  margin-top: 15px;
  color: whitesmoke;
}
.backs .botprices {
  position: absolute;
  bottom: 30px;
  border-radius: 0 0 10px 10px;
  text-align: center;
  width: 100%;
  padding: 15px;
  color: whitesmoke;
}
.backs .botprices h3 {
  margin: 0px;
}
.returns {
  position: absolute;
  width: 100%;
  background-color: transparent;
  border: none;
  color: gray;
  cursor: pointer;
  padding: 5px;
  bottom: 0;
  border-radius: 0 0 10px 10px;
  background-color: gainsboro;
  font-size: 18px;
}
.returns:focus {
  outline: none;
}
