@import url("https://fonts.googleapis.com/css?family=Comfortaa");

* {
	box-sizing: border-box;
}

body,
html {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow: hidden;
}

body {
	background-color: #363146;
	font-family: sans-serif;
}

.container {
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	padding: 10px;
	min-width: 300px;
}

.container div {
	display: inline-block;
}

.container .lock {
	opacity: 1;
}

.container h1 {
	font-family: 'Comfortaa', cursive;
	font-size: 100px;
	text-align: center;
	color: #eee;
	font-weight: 100;
	margin: 0;
}

.container p {
	color: #fff;
}

.lock {
	transition: 0.5s ease;
	position: relative;
	overflow: hidden;
	opacity: 0;
}

.lock.generated {
	transform: scale(0.5);
	position: absolute;
	animation: 2s move linear;
	animation-fill-mode: forwards;
}

.lock ::after {
	content: '';
	background: #a74006;
	opacity: 0.3;
	display: block;
	position: absolute;
	height: 100%;
	width: 50%;
	top: 0;
	left: 0;
}

.lock .bottom {
	background: #D68910;
	height: 40px;
	width: 60px;
	display: block;
	position: relative;
	margin: 0 auto;
}

.lock .top {
	height: 60px;
	width: 50px;
	border-radius: 50%;
	border: 10px solid #fff;
	display: block;
	position: relative;
	top: 30px;
	margin: 0 auto;
}

.lock .top::after {
	padding: 10px;
	border-radius: 50%;
}

.btn {
	line-height: 50px;
	height: 50px;
	text-align: center;
	width: 250px;
	cursor: pointer;
}

div[class*=box] {
	height: 33.33%;
	width: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
}


.btn-one {
	color: #FFF;
	transition: all 0.3s;
	position: relative;
}
.btn-one span {
	transition: all 0.3s;
}
.btn-one::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0;
	transition: all 0.3s;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: rgba(255,255,255,0.5);
	border-bottom-color: rgba(255,255,255,0.5);
	transform: scale(0.1, 1);
}
.btn-one:hover span {
	letter-spacing: 2px;
}
.btn-one:hover::before {
	opacity: 1;	
	transform: scale(1, 1);	
}
.btn-one::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: all 0.3s;
	background-color: rgba(255,255,255,0.1);
}
.btn-one:hover::after {
	opacity: 0;	
	transform: scale(0.1, 1);
}

a{
	text-decoration: none;
	color:gainsboro
}

@keyframes move {
	to {
		top: 100%;
	}
}

@media (max-width: 420px) {
	.container {
		transform: translate(-50%, -50%) scale(0.8);
	}

	.lock.generated {
		transform: scale(0.3);
	}
}