:root {
	--appWidth: 1080px;
	--appHeight: 1920px;

	--videoWidth: 1080px;
	--videoHeight: 607px;
}

html, head, body {
	padding: 0;
	margin: 0;
	overflow: hidden;
}

#page {
	max-width: var(--appWidth);
	max-height: var(--appHeight);
}

.btn {
	min-width: 20px;
	min-height: 20px;
	opacity: 0.5;
	position: fixed;
	z-index: 10;
}

body.debug .btn {
	background-color: red;
}

.btn.pulsating {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}


.btn.arrow::before {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	top: 42px;
	left: 5px;
	border-right: 4px solid black;
	border-bottom: 4px solid black;
	transform: rotate(-45deg);
	animation: bounce 1s infinite;
}
@keyframes bounce {
	0%, 100% {
		transform: translateX(0) rotate(-45deg);
	}
	50% {
		transform: translateX(10px) rotate(-45deg);
	}
}


table {
	width: 100%;
}

#video {
	width: var(--appWidth);
	height: var(--appHeight);

	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	background-color: rgba(0, 0, 0, 0.75);
}

#video video {
	width: var(--videoWidth);
	height: var(--videoHeight);

	position: absolute;
	top: calc( calc(var(--appHeight) / 2) - calc(var(--videoHeight) / 2) );
}

#video #close {
	position: absolute;
	right: 50px;
	bottom: calc( calc(var(--appHeight) / 2) + calc(var(--videoHeight) / 2) + 50px ) ;

	font-size: 60px;
	font-family: arial;
	color: #fff;
	padding: 10px 20px;
}

#video #controls {
	position: absolute;
	width: var(--videoWidth);

	top: calc( calc(var(--appHeight) / 2) + calc(var(--videoHeight) / 2) + 50px ) ;
	font-size: 100px;
	text-align: center;
	color: #fff;
}

