html{
	overflow: hidden;
}

body{
	margin: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(keykip_bg.png);
    background-size: cover;
    background-position: center;
    overflow: auto;
    font-family: Helvetica;
}

.container{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.logo{
	width: 50%;
    display: block;
    margin: auto;
    padding-top: 2%;
    padding-bottom: 2%;
}

.reset-box{
	background-color: #9E1F63;
	width: 400px;
	min-height: 100px;
	margin: auto;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    display: table;
    padding: 50px 10px;
    margin-top: 50px;
}

.reset-text{
	color: #FFF;
    font-size: 1rem;
    margin: 0;
    text-align: center;
    font-family: Helvetica;
    padding: 30px;
}

.input{
	display: block;
    margin: auto;
    font-size: 1rem;
    border: none;
    padding: 5px 20px;
    border-radius: 3px;
    outline: none;
    margin-bottom: 20px;
    color: #9E1F63;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3);
    width: 70%;
}

.btn{
	font-size: 1rem;
    margin: auto;
    display: block;
    background-color: #FFF;
    color: #9E1F63;
    text-transform: uppercase;
    font-weight: bold;
    width: 70%;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    box-sizing: content-box;
    margin-bottom: 60px;
}

.error{
	width: 400px;
    background-color: #f2dede;
    bottom: 10px;
    font-size: 1rem;
    padding: 10px;
    border-radius: 5px;
    color: #a94442;
    text-align: center;
    margin: auto;
    margin-top: 30px;
    display: none;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #FFFFFF;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #9E1F63;
  stroke-miterlimit: 10;
  margin: 10% auto;
  box-shadow: inset 0px 0px 0px #FFFFFF;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.change-success p, .change-fail p{
	color: #FFF;
    text-align: center;
    padding: 30px;
}

.change-success, .change-fail{
	display: none;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #FFFFFF;
  }
}


/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {

  .change-success p, .change-fail p{
  	font-size: 3rem;
  }

  .checkmark{
  	zoom: 3;
  }

  .error{
  	font-size: 3rem;
  	width: 80%;
  }

  .logo{
  	width: 100%;
  	padding-top: 10%;
    padding-bottom: 5%;
  }

  .reset-box{
  	width: 80%;
  	border-radius: 5px;
  }

  .reset-text{
  	font-size: 3rem;
  }

  .input{
  	font-size: 3rem;
  	border-radius: 5px;
  	padding: 20px 20px;
  	margin-bottom: 50px;
  }

  .btn{
  	font-size: 3rem;
  	padding: 20px;
  }

}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
 
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
 
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 

  .change-success p, .change-fail p{
  	font-size: 3rem;
  }

  .checkmark{
  	zoom: 3;
  }

  .error{
  	font-size: 3rem;
  	width: 80%;
  }

  .logo{
  	width: 100%;
  	padding-top: 10%;
    padding-bottom: 5%;
  }

  .reset-box{
  	width: 80%;
  	border-radius: 5px;
  }

  .reset-text{
  	font-size: 3rem;
  }

  .input{
  	font-size: 3rem;
  	border-radius: 5px;
  }

  .btn{
  	font-size: 3rem;
  	padding: 20px;
  }


}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 
  
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 

  .change-success p, .change-fail p{
  	font-size: 3rem;
  }

  .checkmark{
  	zoom: 3;
  }

  .error{
  	font-size: 3rem;
  	width: 80%;
  }

  .logo{
  	width: 100%;
  	padding-top: 10%;
    padding-bottom: 5%;
  }

  .reset-box{
  	width: 80%;
  	border-radius: 5px;
  }

  .reset-text{
  	font-size: 3rem;
  }

  .input{
  	font-size: 3rem;
  	border-radius: 5px;
  }

  .btn{
  	font-size: 3rem;
  	padding: 20px;
  }

}

/* Portrait */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 

}

/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 

  .change-success p, .change-fail p{
  	font-size: 3rem;
  }

  .checkmark{
  	zoom: 3;
  }

  .error{
  	font-size: 3rem;
  	width: 80%;
  }

  .logo{
  	width: 100%;
  	padding-top: 10%;
    padding-bottom: 5%;
  }

  .reset-box{
  	width: 80%;
  	border-radius: 5px;
  }

  .reset-text{
  	font-size: 3rem;
  }

  .input{
  	font-size: 3rem;
  	border-radius: 5px;
  }

  .btn{
  	font-size: 3rem;
  	padding: 20px;
  }
}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
  
}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 

  
}

/* ----------- Galaxy S4, S5 and Note 3 ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) {

  .change-success p, .change-fail p{
  	font-size: 3rem;
  }

  .checkmark{
  	zoom: 3;
  }

  .error{
  	font-size: 3rem;
  	width: 80%;
  }

  .logo{
  	width: 100%;
  	padding-top: 10%;
    padding-bottom: 5%;
  }

  .reset-box{
  	width: 80%;
  	border-radius: 5px;
  }

  .reset-text{
  	font-size: 3rem;
  }

  .input{
  	font-size: 3rem;
  	border-radius: 5px;
  }

  .btn{
  	font-size: 3rem;
  	padding: 20px;
  }
}

/* Portrait */
@media screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: portrait) {
  
}

/* Landscape */
@media screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: landscape) {

  
}

/* ----------- Galaxy S6 ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) {

  .change-success p, .change-fail p{
  	font-size: 3rem;
  }

  .checkmark{
  	zoom: 3;
  }

  .error{
  	font-size: 3rem;
  	width: 80%;
  }

  .logo{
  	width: 100%;
  	padding-top: 10%;
    padding-bottom: 5%;
  }

  .reset-box{
  	width: 80%;
  	border-radius: 5px;
  }

  .reset-text{
  	font-size: 3rem;
  }

  .input{
  	font-size: 3rem;
  	border-radius: 5px;
  }

  .btn{
  	font-size: 3rem;
  	padding: 20px;
  }
}

/* Portrait */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: portrait) {

}

/* Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {

  
}