/*
https://codepen.io/hermes/pen/oOVPMm
https://3dtransforms.desandro.com/cube
*/
body {
  height: 100vh;
  width: 100vw;
  background: url('../../images/home2.jpg');
  background-size: cover;
  font-family: sans-serif;
}
nav{
  background-color: #F18D1D;
}
.btn-quick{
  background-color: #F18D1D;
}
.container {
  width: 80%;
  max-width: 400px;
  height: 520px;
  position: relative;
  perspective: 800px;
	margin: 8% 10%;
}

#options {
	margin: 0px auto;
  margin-top: -20px;
	width: 200px;
	text-align: center;
}

#card {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 1s;
}

#card figure {
  margin: 0;
  position: absolute;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: space-between;
  width: 100%;
  height: 100%;
  box-shadow: 0px 1px 3px rgba(0,0,0,.3);
  backface-visibility: hidden;
}

.error{
  color:red;
  margin-left:10px;
}
.hidden{
  display: none!important;
}

.logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: 50px;
  width: 50px;
}

.back-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  height: 50px;
  width: 50px;
  transform: rotateY(180deg);
}

.brand-logo{
  margin-left:20px;
}

.logo img, .back-logo img {
  height: 50px;
}

#card .front {
  background: white;
}
#card .back {
  background: white;
  transform: rotateY( 180deg );
}

#card.flipped {
  transform: rotateY( 180deg );
}

@keyframes powerFlip {
  from {
    box-shadow: 5px 10px 5px rgba(0,0,0,0);
  }

  50% {
    transform: translateY(-10px);
    box-shadow: 0px 4px 20px 20px rgba(142, 68, 173,0.1);
  }
}

@keyframes powerFlipTwo {
  from {
    box-shadow: 5px 10px 5px rgba(0,0,0,0);
  }

  50% {
    transform: translateY(-10px);
    box-shadow: 0px 4px 20px 20px rgba(142, 68, 173,0.1);
  }
}

.flipped .back{
  z-index: 9999;
}
.flipped .front{
  z-index: -1;
}

#flip {
  animation-name: powerFlipTwo;
  animation-timing-function: easeIn;
  animation-duration: .5s;
  animation-fill-mode: both;
  animation-iteration: 1;
  height: 30px;
  width: 200px;
  background: #9b59b6;
  border: none;
  font-size: 1rem;
  color: white;
  transition: all 150ms;
  cursor: pointer;
}

#flip:hover {
  background: #8e44ad;
}

.form {
  display: flex;
  flex-direction: column;
  margin:0 15px;
}

.form input {
  margin-bottom: 1rem;
}

.front .form-side {
  padding-left: 1rem;
  width: 96%;
  height: 100%;
}

.back .form-side {
  padding-left: 1rem;
  width: 100%;
  height: 100%;
}


label {
  font-size: 90%;
  margin-bottom: 5px;
}

.form input {
  height: 20px;
  padding-left: 3px;
}

.btn-wide{
  width:100%;
}

.terms {
  color: rgba(0,0,0,0.84);
  text-decoration: none;
  font-size:80%!important;
}

.action{
  padding:10px;
}
.mt-20{
  margin-top:20px;
}
.mt-40{
  margin-top:40px;
}
.mt-50{
  margin-top:50px;
}
.mt-60{
  margin-top:60px;
}
.mt-80{
  margin-top: 80px;
}
.ml-20{
  margin-left:20px;
}
