.bttn--deck:hover,
.bttn--play:hover {
  box-shadow: 0 1rem 1rem rgb(0,0,0,.2);
}

.home-component {
  display: block;
  color: black;
  backface-visibility: hidden;
  position: relative;
  margin-top: 1%;
  text-align: center;
  margin-right: 10%;
  margin-left: 10%;

}

h2 {
  display: inline-block;
  margin: 0;
  padding: 0;
  /* margin-top: 20%; */
  vertical-align: middle;
}
.home-component--main {
  display: block;
  font-size: 7.5rem;
  /* font-weight: 800; */
  letter-spacing: .5rem;
  animation-name: moveInRight;
  animation-duration: 1s;
  font-family: TypoGraphica, 'Montserrat', sans-serif;
  margin-top: 6rem;
}

.deck-container {
  display: inline-flex;
  margin-top: 5.5%;
  flex-wrap: wrap;
  justify-content: center;
  flex-grow: 1;

}

.deck-selector {
  transition: all .4s;
  height: 24rem;
  width: 17.5rem;
  margin-left: 4rem;
  margin-right: 4rem;
  margin-bottom: 1rem;
  text-transform: none;
  font-size: 1.25rem;
  margin-top: 2.5rem;
  color: black;
  border-radius: .688rem;
  box-shadow: 0 1rem 1rem rgb(0,0,0,.2);
  perspective: 1000px;
  border: .1rem solid rgb(212, 212, 212);

}

.build-front {
}

/* .deck-selector-b {
  background-color: rgba(255, 255, 255, 0.212);
} */
/* clip-path: polygon(66% 0, 33% 0, 33% 33%, 0 33%, 0 66%, 33% 66%, 33% 100%, 66% 100%, 66% 66%, 100% 66%, 100% 33%, 66% 33%); */


.deck-selector:hover {
  box-shadow: 0 1.5rem 2rem rgb(0,0,0,.3);
}

/* .deckText {
  margin-top: 40%;
} */


.bttn--deck {
  display: inline-flex;
  background-image: linear-gradient(to bottom, #92ddff 0%, #29a6e0 100%);
  clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
  -webkit-clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
  height: 3rem;
  width: 3rem;
  cursor: pointer;
  vertical-align: middle;
  margin-right: .3rem;
  /*animation-name: moveInLeft;
  animation-duration: 1s;
  animation-fill-mode: backwards;*/
  align-self: center;
}

.bttn--deck:hover,
.bttn--play:hover {
  transform: translateX(.6rem);
}

.bttn--animated {
  animation-name: moveOutRight;
  animation-duration: 1s;
}

.home-component--sub {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 5%;
  letter-spacing: .2rem;
  animation-delay: 1s;
  animation-name: moveInRight;
  animation-duration: 1s;
  animation-fill-mode: backwards;
}

@keyframes moveInRight {
  /* before animation starts */
  0% {
      visibility: hidden;
      opacity: 0;
      transform: translate(10rem);
  }
  80% {
      transform: translate(-0.2rem);
  }
  /* animation ends */
  100% {
      opacity: 1;
      transform: translate(0);
      visibility: visible;
  }
}
@keyframes moveOutRight {
  /* before animation starts */
  0% {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
  100% {
    /* visibility: hidden; */
    opacity: 0;
    transform: translateX(30rem);
  }
}

@keyframes moveInLeft {
  0% {
    opacity: 1;
    transform: translateX(-30rem);
    visibility: visible;
  }
  80% {
    transform: translateX(.2rem);
  }
  100% {
    transform: translateX(0);
  }
}

@media only screen and (max-width: 600px) {

  .home-component--main {
    font-size: 2rem;
    letter-spacing: 1rem;
  }

  .bttn--deck {
      /*display: none;*/
  }

  .deck-selector {
    color: red;
    margin-left: .1rem;
    margin-right: .1rem;
  }
}

.build-component {
  display: none;
}
