:root {
	--default-border-radius: 7px;
}

body {
	background-image: url("img/bg.gif");
	background-size: 60vh;
	background-color: black;
	color: white;
	font-family: sans-serif;
	position: relative;
	margin: 0;
}

#wrappedBody {
	overflow-x: hidden;
}

.c {
	font-size: 20px;
	text-align: center;
	margin: 50px;
	font-family: "Comic Sans MS", "Comic Sans", sans-serif;
}

.i {
	margin: 20px auto;
	display: inline-block;
	max-width: 100%;
}

.c1 {
	color: yellow;
}

.c2 {
	color: cyan;
}

.cs {
	color: #ffea49;
	text-shadow: 0 0 20px #ffffff, 0 0 10px #ff0000, 0 0 5px #ff0000, 0 0 20px #ff0000;
}

.bounce {
	animation: 0.3s ease-in-out infinite alternate bounce;
}

@keyframes bounce {
	0% { transform: scale(0.95) rotate(1deg); }
	50% { transform: scale(1) rotate(-0.3deg); }
	100% { transform: scale(1) rotate(0.2deg); }
}

.reset-input {
	border: none;
	outline: none;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.appear {
	animation: 2s infinite appear;
}

@keyframes appear {
	0% {
		transform: scale(0);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.marquee-container {
	overflow: hidden;
	width: 500px;
	padding: 15px;
	margin: auto;
}

.marquee {
	animation: 8s linear infinite marquee;
}

@keyframes marquee {
	0% { transform: translateX(100%); }
	100% { transform: translateX(-100%); }
}

#enterNameContainer {
	position: fixed;
	bottom: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	max-width: 500px;
	left: 50%;
	height: 80px;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

#enterName {
	font-size: 20px;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	border-radius: var(--default-border-radius);
	padding: 5px 10px;
	box-shadow: 2px 2px 12px 0px black;
}

#shareButton {
	background: #2d88ff;
	color: white;
	border-radius: var(--default-border-radius);
	padding: 0px 20px;
	cursor: pointer;
	white-space: nowrap;
}

#shareButton:hover {
	background: #3e91ff;
}

#shareButton:active {
	transform: scale(0.96);
}

#infoButton {
	background: rgba(255, 255, 255, 0.171);
	width: 40px;
	height: 40px;
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 5px;
	border-radius: 50px;
	cursor: pointer;
}

#infoButtonI {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#infoButton:hover {
	filter: brightness(80%);
}

@media (max-width: 600px) {
	#infoButton {
		bottom: 70px;
	}
}

#infoBox {
	background: white;
	color: black;
	padding: 20px;
	box-sizing: border-box;
	height: 80vh;
	width: calc(100vw - 30px);
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#infoBox.hidden {
	display: none;
}

.close-button::before {
	content: "x";
}
.close-button {
	position: absolute;
	font-size: 20pt;
	top: 0;
	right: 0;
	margin: 10px;
	padding: 10px;
	cursor: pointer;
}
.close-button:hover {
	background-color: grey;
}

.snow-particles {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
}

#startCurtain {
	background: black;
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1000;
	cursor: pointer;
	transition: visibility 1s, opacity 1s, transform 1s;
}

#startCurtain.hidden {
	visibility: hidden;
	opacity: 0;
	transform: scale(1.5);
}

#curtainContent {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	font-size: 20pt;
	text-align: center;
}

#curtainBell {
	background: url(img/bell.png) no-repeat center/contain;
	width: 30vw;
	height: 30vh;
	margin: auto;
}
