* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E2E2E2;
}

sc-card {
  width: 350px;
  height: 731px;
  position: relative;
  perspective: 500px;
  will-change: transform;
}

sc-card .front,
sc-card .back {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

sc-card button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  text-indent: -10000px;
}

sc-card .front {
  background: #444;
  color: #FFF;
}

sc-card .front h1 {
  font-size: 24px;
}

sc-card .back {
  background-color: #2a2a2a;
  background-image: url(images/war.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFF;
  transform: rotateY(180deg);
}

sc-card .umbra,
sc-card .penumbra {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: visible;
}

sc-card .umbra {
  width: 360px;
  height: 771px;
  top: -5px;
  left: -5px;
  background: url(images/umbra.svg) center center no-repeat;
  transform: translateY(2px);
  opacity: 0.3;
}

sc-card .penumbra {
  width: 450px;
  height: 875px;
  top: -35px;
  left: -35px;
  background: url(images/penumbra.svg) center center no-repeat;
  transform: translateY(2px);
  opacity: 0;
}
