img {
  cursor:pointer;
  width: 20vw;
  height: 33vw;
  max-width:242px;
  max-height:396px;
  border-radius:7px;
}

a img {
  cursor:zoom-in;
}

.scene {
  display: inline-block;
/*   border: 1px solid #CCC; */
margin:1vw;
  perspective: 700px;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transform-style: preserve-3d;
  transform-origin: center;
  transition: transform 0.5s;
  width: 20vw;
  height: 33vw;
  max-width:242px;
  max-height:396px;
  box-shadow: 0 4px 15px 0 rgba(0,0,0,0.5);
  border:2px #A5D6E9 solid;
  border-radius:10px;
}

.card.is-flipped {
  transform: rotateY(180deg);
}

.card__face--back:hover {
  transform: rotateY(180deg);
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.card__face--front {
}

.card__face--back {
  transform: rotateY(180deg);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: midnightblue;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: #A5D6E9;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: darkcyan;
}


input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.row1 { grid-area: row1; }
.row2 { grid-area: row2; }

.deckocards {
  width:100%;
  margin:1vw auto 0 auto;
  display: grid;
  text-align:center;
  grid-template-areas:
    'row1'
    'row2';
  z-index:1;
}