
* {
	box-sizing: border-box;
}

body {
	align-items: center;
	background-color: #172133;
	background-image: url(/img/wall-goridragon.webp);
	background-repeat: no-repeat;
	background-size: cover;
	color: white;
	display: flex;
	font-family: 'Courier New', Courier, monospace;
	font-size: 16px;
	font-style: italic;
	font-weight: bold;
	height: 100vh;
	justify-content: center;
	margin: 0;
}

.container {
	position: relative;
	text-align: center;
}

.ani-logo {
	display: inline-block;
	margin: 10px 0px 15px 0px;
	position: relative;
	text-align: center;
	opacity: 0;
	width: 130px;
	height: 100px;
	transform-origin: bottom;
		-o-transform-origin: bottom;
		-ms-transform-origin: bottom;
		-moz-transform-origin: bottom;
		-webkit-transform-origin: bottom;
	animation: aparecer 1s ease-in 1s forwards, headRotete 8s ease-in-out 5s infinite;
}

.ani-logo .coquete {
	position: absolute;
	width: 15px;
	height: 13px;
	border: 0px solid #aff9cb;
	border-top-width: 0px;
	border-bottom-width: 0px;
	right: 40px;
	bottom: 25px;
	animation: eyeBlinkOne 8s ease-in 5s infinite;
}

.logo {
	height: auto;
	width: 130px;
	/* opacity: 0; */
	/* animation: fadeInLogo 1s 1s forwards; */
}

.text {
	animation: typing 2s steps(32) 1s forwards, blinkCaret 0.75s step-end infinite;
	border-right: 0.15em solid #ffffff;
	display: block;
	margin-bottom: 20px;
	overflow: hidden;
	white-space: nowrap;
	visibility: hidden;
}

@keyframes typing {
	from {
		width: 0;
		visibility: visible;
	}
	to {
		width: 35ch;
		visibility: visible;
	}
}

@keyframes blinkCaret {
	from,
	to {
		border-color: transparent;
	}
	50% {
		border-color: white;
	}
}

@keyframes fadeInLogo {
	to {
		opacity: 1;
	}
}

@keyframes eyeBlink {
	0% {
		visibility: hidden;
	}
	50% {
		visibility: visible;
	}
	100% {
		visibility: hidden;
	}
}

@keyframes aparecer {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes eyeBlinkOne {
	0% {
		border-top-width: 0px;
		border-bottom-width: 0px;
	}

	2% {
		border-top-width: 6px;
		border-bottom-width: 5px;
	}

	4% {
		border-top-width: 6px;
		border-bottom-width: 5px;
	}

	6% {
		border-top-width: 0px;
		border-bottom-width: 0px;
	}

	100% {
		border-top-width: 0px;
		border-bottom-width: 0px;
	}
}

@keyframes headRotete {
	0% {
		rotate: 0deg;
	}

	2% {
		rotate: 8deg;
	}

	8% {
		rotate: 0deg;
	}

	100% {
		rotate: 0deg;
	}
}