/* the page as the svelte version drew it: public/global.css, App.svelte and Box.svelte */

html, body {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	color: #333;
	margin: 0;
	padding: 0px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

/* page */

main h1 {
	text-transform: uppercase;
	font-size: 2em;
	font-weight: 150;
	max-width: 1150px;
	padding-top: 100px;
	padding-bottom: 100px;
	margin: 0 auto;
}

main #bib {
	font-size: 1.15em;
	font-weight: 150;
	max-width: 1150px;
	padding-bottom: 80px;
	margin: 0 auto;
}

main #bib p {
	padding: 0;
	margin: 10px 0;
}

main #works {
	max-width: 1150px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

main #footer {
	max-width: 1150px;
	margin: 0 auto;
	padding-top: 100px;
	padding-bottom: 100px;
}

main #footer a, main #footer span, main #footer p { color: #aaa; }
main #footer p { text-align: center; }
main #footer a { text-decoration: underline; }
main #footer a:hover { color: #000; }

/* a work: title, subtitle, its image or video, and its links on the subtitle's line */

.work { width: 560px; }

.work .title {
	font-size: 18px;
	margin-bottom: 2px;
}

.work .subtitle {
	font-size: 13px;
	margin-top: 0;
	width: 560px;
}

.work .box { position: relative; }

.work .links {
	position: absolute;
	top: -38px;
	right: 1px;
	display: flex;
	gap: 4px;
}

.work .links a {
	font-size: 13px;
	min-width: 40px;
	height: 20px;
	line-height: 20px;
	padding: 0 5px;
	box-sizing: border-box;
	text-align: center;
	color: #fff;
	background-color: #000;
	border-radius: 2px;
	text-decoration: none;
}

.work .links a:hover { background-color: #f00; }

.work .img {
	width: 560px;
	border: 1px solid #e5e5e5;
	box-sizing: border-box;
}

.work .frm {
	width: 560px;
	height: 315px;
}

@media (max-width: 560px) {
	.work, .work .subtitle, .work .img, .work .frm { width: 100%; }
}
