* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	background-color: #01030C;
	font-family: 'Volta Modern Display 95 Blk', sans-serif;
	padding: 80px;
	padding-top: 40px;
	width: 100%;
	height: 100vh;
	color: #fff;
	background-image: url(../img/bg.jpg);
	background-size: auto 73%;
	background-repeat: no-repeat;
	background-position: right center;
	user-select: none;
	font-weight: bold;
	overflow: hidden;
	/* cursor: url(../img/cursor.png), auto; */
}

#screensaver {
	height: 100%;
}

.title {
	font-size: 5rem;

}

h1,
.title p {
	text-align: left;
	color: white;
	font-family: 'Volta Modern Display 75 Bld', sans-serif;
	width: fit-content;
	margin: 0 auto;
	font-size: 1em;
}

.title p {
	font-size: 0.31em;
}

.title h1 {
	line-height: 1.1em;
}

.message img.quote {
	width: 15%;
	height: auto;
	margin-top: 80px;
}

.text-message {
	color: white;
	font-size: 6rem;
	margin-top: 40px;
	text-shadow: 0px 0px 10px #1c1c1c80;
	line-height: 1.1em;
}

.text-message.small {
	font-size: 5rem;
	line-height: 1.15em;
}

.text-message.super-small {
	font-size: 4.5rem;
	line-height: 1.15em;
}

.message {
	transition: all 300ms linear;
}

.message.exit {
	transform: translateX(-110%);
	opacity: 0.3;
}

.vote-message {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	margin-top: 60px;
	font-size: 2rem;
	font-family: 'Volta Modern Display 75 Bld', sans-serif;
	width: fit-content;
	padding: 5px;
	margin-left: 5px;

}

img.fav,
img.fav-red {
	width: 70px;
	height: auto;
	margin-right: 20px;
}

img.fav-red {
	position: absolute;
	opacity: 0;
}

.touch,
.qrcode {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	color: #FFC900;
	font-size: 2rem;
	font-family: 'Volta Modern Display 75 Bld', sans-serif;
	position: absolute;
	bottom: 300px;
	left: 0;
	width: 100%;
}

.touch img {
	width: 10%;
	height: auto;
	margin-right: 20px;
	/* animate  pulse 2s infinite; */
	animation: pulse 3s infinite;
}

.footer {
	display: flex;
	align-items: center;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding-bottom: 60px;
}

.logo {
	width: 60%;
	height: auto;
	margin: 0 auto;

}

@keyframes pulse {
	0% {
		transform: scale(0.85);
	}

	50% {
		transform: scale(1);
	}

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

/* Menu */

.nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 40px;
	margin-top: 100px;
}

.qrcode {
	color: #fff;
	bottom: 200px;
	font-size: 2.5rem;
}

.qrcode img {
	width: 15%;
	height: auto;
	margin-right: 40px;
}

.btn {
	width: 370px;
	height: 370px;
	border-radius: 50%;
	border: 3px solid #fff;
	position: relative;
	overflow: hidden;

}

#nav-5 {
	position: relative;
	top: -60px;
}

img.btn-bg {
	height: 100%;
	width: auto;
	z-index: -1;

}

.btn-icon {
	position: absolute;
	bottom: 34%;
	left: 50%;
	transform: translateX(-50%);
	width: 43%;
	height: auto;
	/* filter: drop-shadow(10px 10x 1px #222); */
}

.btn-text {
	position: absolute;
	top: 58%;
	left: 50%;
	transform: translateX(-50%);
	font-size: 2.8rem;
	font-family: 'Volta Modern Display 75 Bld', sans-serif;
	color: #fff;
	text-align: center;
	text-shadow: 0px 3px 3px #000;
	width: 100%;
}

.btn1 .btn-icon {
	bottom: 34%;
	width: 43%;
}

.btn2 .btn-icon {
	width: 52%;
	bottom: 34%;
}

.btn3 .btn-icon {
	width: 48%;
	bottom: 36%;
}

.btn4 .btn-icon {
	width: 65%;
	bottom: 36%;
}

.btn5 .btn-icon {
	width: 42%;
	bottom: 43%;
}

.btn * {
	pointer-events: none;
}

/* Category */

#category .navbar {
	display: flex;
	justify-content: space-between;
	margin: 40px -20px;

}

.navbar .btn {
	width: 170px;
	height: 170px;
}

.navbar .btn .btn-text {
	font-size: 1.3rem;
	text-shadow: 0px 1px 1px #000;

}

#category img.quote {
	width: 11%;
	margin-top: 30px;
}

#category .btn {
	background-color: #00000050;
}

#category .btn img.btn-bg {
	display: none;
}

#category .btn.active img.btn-bg {
	display: block;
}

/* #category img.fav {
	animation: pulse 3s infinite;
} */

img.fav,
img.fav-red {
	/* remove draggability */
	-webkit-user-drag: none;
}


.fav-animate {
	animation: fav 1s linear;
}



.fav-red.fav-animate {
	animation: fav 1s linear, fav-red 3s linear;

}

@keyframes fav-red {
	0% {
		opacity: 0;

	}

	20% {
		opacity: 1;

	}

	80% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes fav {
	0% {
		transform: rotateY(0deg) scale(1);

	}

	25% {
		transform: rotateY(180deg) scale(1.3);

	}

	50% {
		transform: rotateY(0deg) scale(0.9);
	}

	75% {
		transform: rotateY(180deg) scale(1.3);
	}

	100% {
		transform: rotateY(0deg) scale(1);
	}

}


/* slider */

.slider {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: fit-content;
	position: relative;
	/* left: 50%;
	transform: translateX(-50%); */
	left: 0;
	transition: left 300ms linear, right 300ms linear;
}

.slider .message {
	position: relative;
	width: calc(1080px - 160px);
	overflow: hidden;
	transition: left 1000ms linear, right 300ms linear;
	left: 0;
	margin-right: 80px;

}

.vote-message * {
	pointer-events: none;
}


.slider.no-transition {
	transition: none;
}

#black-screensaver {
	z-index: 100;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;

}