*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    color-scheme: light dark;

	--shadow: 0 0.125rem 0.25rem 0.125rem rgba(0, 0, 0, 0.125);
}


@media (prefers-color-scheme: dark) {
	:root {
		--shadow: 0 0.25rem 0.5rem 0.25rem rgba(0, 0, 0, 0.125);
	}
}

body {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    font-family: system-ui, sans-serif;
}

.mao-error {
    display: flex;
    flex-direction: column;
    background: url("/chairman_1.jpg");
    background-size: auto 600px;
    background-repeat: no-repeat;
    background-position: center center;
    height: 600px;
}

.hidden {
    display: none;
}

.mao-error p {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-family: "Impact", "Bebas", "League Gothic", "Oswald", "Coluna", "Ubuntu Condensed", system-ui, sans-serif;
  text-shadow:
       3px 3px 0 black,
      -3px -3px 0 black,
       3px -3px 0 black,
      -3px  3px 0 black,

      -3px  0px 0 black,
       3px  0px 0 black,
       0px  3px 0 black,
       0px -3px 0 black;
  font-size: 2em;
}

.mao-error p:last-child {
    margin-top: auto;
}

#video-list {
    padding: 0;
    list-style: none;
	width: 100%;
	max-width: 800px;
	margin: auto;
}

#video-player {
    max-height: 80vh;
}

.video-item {
	padding: 0.5rem;
	border-radius: 0.25rem;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 2rem;
	text-align: left;
	background-color: rgba(255, 255, 255, 0.3);
	box-shadow: var(--shadow);
}

@media (prefers-color-scheme: dark) {
	.video-item {
		background-color: rgba(0, 0, 0, 0.3);
	}
}

.video-item .video-image {
	border-radius: 0.25rem;
	position: relative;
	width: 200px;
	height: 113px;
	overflow: hidden;
	background-color: black;
}


.video-item .video-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.video-item .shadow {
	object-fit: cover;
	filter: blur(0.25rem) brightness(50%);
}

.video-item .non-shadow {
	object-fit: contain;
}

.video-item .video-info {
	padding-block: 0.5em;
}

.video-item a {
	font-size: 1.4em;
	font-weight: bold;
}

a {
	color: #c51e0e;
}

a:visited {
	color: #FF5722;
}

header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    box-shadow: var(--shadow);
}

header a {
    text-decoration: none;
}

#app-name {
    padding-right: 20px;
    margin: 0;
}
