@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/roboto-v47-latin-regular.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/roboto-v47-latin-700.woff2') format('woff2');
}

:root {
	--metroBlue: #174075;
	--metroLightBlue: #70aedf;
}

html {
	height: 100%;
}

body {
	min-width: 20rem;
	height: 100%;
	background-color: #fafafa;
	margin: 0;
	font-family: Roboto;
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 1.5;
}

main {
	width: 100%;
	min-height: 100%;
	background-color: #fff;
	max-width: 107.5rem;
	margin: 0 auto;
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.16);
	box-sizing: border-box;
	display: grid;
	gap: 0.25rem;
	grid-template-columns: 1fr;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	vertical-align: middle;
}

a:hover {
	text-decoration: underline;
}

.timer {
	font-weight: 700;
	background-color: #fff;
	padding: 0.375rem 0.75rem;
	color: var(--metroBlue);
	visibility: hidden;
}

.timer.live::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	border-radius: 50%;
	height: 0.75rem;
	width: 0.75rem;
	background-color: #cc0000;
	margin-right: 0.75rem;
	transform: translateY(-1px);
}

.timer.visible {
	visibility: visible;
}

.timer time {
	font-weight: 400;
}

.languageSelector {
	line-height: 0;
	position: relative;
	cursor: pointer;
	height: 2.75rem;
	overflow: hidden;
	z-index: 2;
}

.languageSelector--open {
	overflow: visible;
}

.languageSelector:hover {
	outline: 0.125rem solid var(--metroBlue);
}

.languageSelector::before {
	content: '';
	display: block;
	width: 0.75rem;
	height: 0.5rem;
	background-color: #000;
	position: absolute;
	right: 0.375em;
	top: calc(50% - 0.25rem);
	clip-path: polygon(50% 100%, 0 0, 100% 0);
	z-index: 1;
	pointer-events: none;
}

.languageSelector ul {
	position: relative;
	list-style-type: none;
	margin: 0;
	padding: 0.25rem;
	background-color: #fff;
}

.languageSelector--open ul {
	outline: 0.125rem solid var(--metroBlue);
}

.languageSelector a {
	display: inline-block;
	vertical-align: middle;
	padding: 0.25rem 1.5rem 0.25rem 0.25rem;
}

.languageSelector a:hover {
	background-color: #e9e9e9;
	outline: 0.25rem solid #e9e9e9;
}

.languageSelector:not(.languageSelector--open) a {
	pointer-events: none;
}

.player {
	vertical-align: middle;
	margin-bottom: 1rem;
}

.questions {
	padding: 1rem;
	background-color: var(--metroLightBlue);
}

.questions h2 {
	font-size: 1.125rem;
	line-height: 1;
	color: var(--metroBlue);
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.questions iframe {
	border: 0;
	vertical-align: middle;
}

#mainstage {
	background: transparent url('background.webp') no-repeat center/cover;
	padding: 1rem;
	color: #fff;
}

#sidebar {
	background: transparent url('background2.webp') no-repeat center/cover;
	color: #003263;
}

#sidebar .inside {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 1rem;
}

#sidebar .logo {
	width: 10rem;
	margin: 0 0.5rem;
}

#sidebar .logo img {
	width: 100%;
	height: auto;
}

#sidebar .email {
	text-align: center;
	font-weight: 700;
	margin: 0.5rem;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

footer {
	margin-top: 1rem;
	font-size: 0.875rem;
}

footer ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	justify-content: center;
}

@media (min-width: 576px) {
	body {
		font-size: 1.5rem;
	}
	#mainstage {
		padding: 2rem;
	}
	.timer {
		padding: 0.375rem 1rem;
	}
	.player {
		margin-bottom: 3rem;
	}
	.questions {
		padding: 1.5rem;
	}
	header {
		margin-bottom: 1.5rem;
	}
	footer {
		margin-top: 3rem;
	}
}

@media (min-width: 992px) {
	main {
		grid-template-columns: 3fr 1fr;
	}
	#sidebar .inside {
		min-height: calc(100vh - 4rem);
		flex-direction: column;
		padding: 0;
	}
	#sidebar .logo {
		width: auto;
		margin: 0;
	}
	#sidebar .email {
		margin: 2rem 0;
	}
}

@media (min-width: 1200px) {
	main {
		padding: 2rem 2rem 0;
		gap: 2rem;
	}
	header {
		margin-bottom: 2rem;
	}
	#mainstage {
		padding: 3rem;
	}
}