/* CSS Reset from:
	http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/***************************************/
/************** GENERIC ****************/
/***************************************/
body {
	height: 100vh;
	width: 100vw;
}

@font-face {
	font-family: 'Futura';
	font-style: italic;
	font-weight: 600;
	src: local("Futura"), local("Futura"), url("./fonts/futuraMediumItalicFont.ttf") format('truetype');
}

.container {
	display: flex;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.hidden {
	display: none;
}

.visible {
	display: block;
}

.inlineBlock {
	display: inline-block;
}

/***************************************/
/**************** TITLE ****************/
/***************************************/
#titleContainer {
	--background-black: #0a0a0a;
	--generic-white: white;
	--light-grey: #b4b2b2;
	--middle-grey: #6c6b6b;
	align-items: center;
	background-color: var(--background-black);
	flex-direction: column;
	font-family: "Times New Roman";
	gap: 6rem;
	justify-content: center;
}

#title {
	animation: opacity 3s linear forwards;
	color: var(--generic-white);
	font-size: 13rem;
}

@keyframes opacity {
	0% {
		opacity: 0;
	}

	90% {
		opacity: 0.75;
	}

	100% {
		opacity: 1;
	}
}

#titleShader {
	background-color: var(--background-black);
	height: 100%;
	opacity: 1;
	position: absolute;
	right: 0;
	width: 100%;
}

.animateTitleShader {
	animation: titleShader 5s ease-out forwards;
}

@keyframes titleShader {
	0% {
		width: 100%;
	}

	100% {
		width: 0%;
	}
}

#buttonContainer {
	padding: 0 2rem;
	position: relative;
}

#buttonShader {
	animation: buttonShader 0.8s linear forwards;
	animation-delay: 2.8s;
	background-color: var(--background-black);
	bottom: 0;
	height: 100%;
	left: 0;
	opacity: 1;
	position: absolute;
	width: 100%;
}

@keyframes buttonShader {
	0% {
		height: 100%;
	}

	100% {
		height: 0%;
	}
}

#nextButton {
	background-color: var(--background-black);
	border: 1px solid var(--middle-grey);
	border-radius: 8px;
	color: var(--light-grey);
	cursor: pointer;
	padding: 1.2rem 2.5rem;
	font-size: 2rem;
	transform: skewX(-30deg);
	transition: background-color 0.5s, color 0.5s;
}

#nextButton:hover {
	background-color: var(--background-black);
	color: var(--generic-white);
}

#nextButton p {
	transform: skewX(30deg);
}

/***************************************/
/*************** SPEACH ****************/
/***************************************/
#speachContainer {
	--dark-orange: orange;
	--light-orange: #ffc760;
	--dark-orangeRed: #db3b00;
	--light-orangeRed: rgb(255, 126, 79);
	--dark-red: #a31111;
	--light-red: #c71515;
	--dark-yellow: #ffe016;
	--light-yellow: yellow;
	--kick-red: #d40505;
	--dark-pink: rgb(250, 133, 209);
	background-color: var(--dark-red);
	font-family: Futura;
}

.animateDisco {
	animation: 1860ms linear 0ms infinite normal none running disco;
}

@keyframes disco {
	0% {
		background-color: var(--dark-red);
	}

	24.99% {
		background-color: var(--light-red);
	}

	25% {
		background-color: var(--dark-orange);
	}

	49.99% {
		background-color: var(--light-orange);
	}

	50% {
		background-color: var(--light-yellow);
	}

	74.99% {
		background-color: var(--dark-pink);
	}

	75% {
		background-color: var(--dark-orangeRed);
	}

	99.99% {
		background-color: var(--light-orangeRed);
	}
}

#uncleSam {
	background-image: url("./images/uncleSamWithGlasses.png");
	background-repeat: no-repeat;
	background-position: center;
	height: 100%;
	position: absolute;
	width: 100%;
}

.animateSamEntering {
	animation: 0.5s ease-in 0ms 1 normal forwards running samComesIn;
}

.animateSamDancing {
	animation-name: samDancing;
	animation-direction: reverse;
	animation-duration: 465ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes samComesIn {
	0% {
		transform: scale(0.01);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes samDancing {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.1);
	}
}

.speachElement {
	color: #ffffffde;
	position: relative;
}

.speachElement:nth-of-type(1) {
	font-size: 15rem;
	padding: 18rem;
}

.speachElement:nth-of-type(2) {
	font-size: 12rem;
	padding: 7rem 3rem 0 7rem;
}

.speachElement:nth-of-type(3) {
	font-size: 12rem;
	padding-top: 7rem;
}

.speachElement:nth-of-type(4) {
	font-size: 12rem;
	padding-top: 7rem;
}

.speachElement:nth-of-type(5) {
	font-size: 14rem;
	padding: 18rem;
}

.speachElement:nth-of-type(6) {
	font-size: 14rem;
	padding: 17rem;
}

.speachElement:nth-of-type(7) {
	font-size: 14rem;
	padding: 17rem;
}

#kick {
	color: var(--kick-red);
}
