@charset "utf-8";
/* CSS Document */

/* Main page setup */
html,
body {
	color: #FFFFFF;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #000000;
}

/* General buttons */
button {
	border: none; 
	background-color: transparent; 
	font-size: 50pt; 
	color: #FFE500; 
	font-family: 'Merriweather', serif;
}

button:focus {
	cursor: pointer;
	outline: none;
}

#editor:focus {
	background: #FFF;
	border-color: #69c773;
}

[contenteditable="true"] {
	color: #C00;
}

/* Full screen wrapper */
.screen-fit {
	width: 100vw;
	height: 100vh;
	position: relative;
	overflow: hidden;
	background: #000000;
}

/* Original sign canvas, scaled by JavaScript */
.content {
	height: 1280px;
	width: 720px;
	position: absolute;
	top: 50%;
	left: 50%;
	background: linear-gradient(-45deg, #b78628, #c69320, #FFFF00, #dba514, #eeb609);
	animation: bganimation 15s infinite;
	overflow: hidden;
	background-size: 400%;
	border-radius: 3px;

	transform-origin: center center;
	transform: translate(-50%, -50%) scale(var(--sign-scale, 1));
}

/* Inner black border area */
.border {
	position: relative;
	margin: 4px;
	height: 1272px;
	width: 712px;
	overflow: hidden;
	border-radius: 3px;
	background: linear-gradient(-45deg, #000000, #000000, #404040, #000000, #000000);
	animation: bganimation 500s infinite;
	background-size: 400%;
}

/* Loading screen */
#loadingScreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: #000000;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #FFE500;
	font-family: 'Merriweather', serif;
	transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loadingScreen.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-logo img {
	width: 300px;
	max-width: 80vw;
	margin-bottom: 35px;
}

.loader-spinner {
	width: 80px;
	height: 80px;
	border: 8px solid #333333;
	border-top: 8px solid #FFE500;
	border-radius: 50%;
	animation: spinLoader 1s linear infinite;
	margin-bottom: 30px;
}

.loader-text {
	font-size: 26pt;
	color: #FFE500;
}

/* Top header: logo, Welcome, time */
.top-header {
	position: relative;
	width: 100%;
	height: 95px;
}

/* Logo is capped and cannot push anything around */
.top-logo {
	position: absolute;
	left: 18px;
	top: 10px;
	width: 165px;
	height: 75px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	z-index: 10;
}

.top-logo img {
	max-width: 165px;
	max-height: 75px;
	object-fit: contain;
}

/* Welcome stays centered no matter what the logo does */
.top-welcome {
	position: absolute;
	left: 50%;
	top: 4px;
	transform: translateX(-50%);
	text-align: center;
	z-index: 5;
}

.top-welcome a {
	text-decoration-line: none;
	color: #ffffff;
	font-family: 'Dancing Script', cursive;
	font-size: 70pt;
	line-height: 1;
	white-space: nowrap;
}

/* Time stays fixed to the right */
.top-time {
	position: absolute;
	right: 18px;
	top: 10px;
	width: 150px;
	text-align: right;
	z-index: 10;
}

/* Widget wrapper */
.widget-box {
	position: relative;
}

/* Weather area */
.weather-box {
	position: relative;
	width: 700px;
	height: 95px;
	overflow: hidden;
	margin: 0 auto;
}

.weather-frame {
	position: relative;
	width: 700px;
	height: 95px;
	border: none;
	overflow: hidden;
	pointer-events: none;
}

/* Video section */
.video {
	position: relative;
}

.videobg {
	position: absolute;
}

/* Loading spinner animation */
@keyframes spinLoader {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Background animation */
@keyframes bganimation {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* Video */

.soup-label {
	font-size: 50pt;
	color: #FFE500;
	font-family: 'Merriweather', serif;
	cursor: default;
	user-select: none;
}