* {
    margin: 0;
    padding: 0;

    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    /* user-drag: none; */
}

.title {
  width: 380px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;

}

.subtitle {

  text-align: center;
  font-size: 30px;
  font-weight: bolder;
  font-family: 'Brush Script MT', cursive;
  color:orangered;
  position: absolute;
  top: 2%;
}



body {
    font-family: montserrat, sans-serif;
    width: 100%;
    min-height: 100vh;
    background-color: black;
    background-image: url(./img/background05.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.outer {
    margin: 0 auto 0;
    width: 300px;
    height: 500px;
    perspective: 1000px;
  }
  
  .inner {
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
    /* cursor: pointer; */
    position: relative;
  }
  
  .inner.is-flipped {
    transform: rotateY(180deg);
  }
  
  
  .card {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 6px 36px 6px rgb(255, 102, 0);
  }

  
  .front{
    background-image: url(./img/paper.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    background-color: rgb(197, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.back {
    background-image: url(./img/paper.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;


    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(141, 100, 253);
}

/* CARD----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------CARD*/

.wrapper{
    width: 95%;
    background: transparent;
    margin: 20px;
  }
.input-data {
    margin-bottom: 60px;
}
input {
    background: transparent;

}


  .wrapper .input-data{
    height: 40px;
    width: 100%;
    position: relative;
  }
  
  .wrapper .input-data input{
    height: 100%;
    width: 100%;
    border: none;
    font-size: 23px;
    border-bottom: 2px solid black;
  }
  .input-data input:focus ~ label,
  .input-data input:valid ~ label{
    transform: translateY(-30px);
    font-size: 20px;
  }
  .wrapper .input-data label{
    position: absolute;
    bottom: 10px;
    left: 0;
    font-size: 18px;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .input-data .underline{
    position: absolute;
    height: 2px;
    width: 100%;
    bottom: 0;
  }
  .input-data .underline:before{
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: orangered;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }
  .input-data input:focus ~ .underline:before,
  .input-data input:valid ~ .underline:before{
    transform: scaleX(1);
  }

/* FRONT----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------FRONT*/


  #show {
    background: transparent;
    border: 0;
    color: black;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    left: 90%; 
    top:30%;
  }

  #flames {
    background: transparent;
    border: 0;
    color: red;
    font-size: 70px;
    cursor: pointer;
    /* position: absolute; */
  }

  #by {
    position: absolute;
    right: 2%;
    bottom: 2%;
    font-family: 'Brush Script MT', cursive;
  }

  #tip {
    font-size: 12px;
    /* color: rgb(95, 95, 95); */
    color: orangered;
    margin: 3px 0 0 7px ;
  }

  #instruction {
    margin-bottom: 20px;
  }


/* BACK----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------BACK*/


.back {
  position: relative;
  width: 300px;
  height: 500px;
  display: flex;
  flex-direction: column;
}

#base>img{
  width: 300px;
  height: auto;
}

#base>p{
  text-align: center;
  font-weight: bold;
}

#canvas {
  position: absolute;
  top: 0;
  cursor: grab;
}


#output {
  text-align: center;
  font-size: 40px;
  color: rgb(255, 43, 43);  
  font-weight: bolder;
  font-family: 'Brush Script MT', cursive;
}


/* ANIMATION----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------ANIMATION*/



  #floatup {
    animation-name: floatup;
    animation-iteration-count: infinite;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
  } @keyframes floatup {
    from {transform: translate(0, 0px);}
    65% {transform: translate(0, 18px);}
    to {transform: translate(0, 0px);}
  }


  #floatdown {
    animation-name: floatdown;
    animation-iteration-count: infinite;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
  } @keyframes floatdown {
    from {transform: translate(0, 0px);}
    65% {transform: translate(0, -12px);}
    to {transform: translate(0, 0px);}
  }
  
  #flames {
    animation-name: pulse;
    animation-iteration-count: infinite;
    animation-duration: 0.5s;
    animation-timing-function: ease-in;
  } @keyframes pulse {
    25% {transform: scale(0.9);}
    75% {transform: scale(1.1);}
  }
