/* home.css — the HOME content system (the static front page) */

/* Markup Defaults */

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

html { font-size: 62.5%; -webkit-tap-highlight-color: transparent; height: 100%; min-height: 100%; }
body { margin: 0; font-size: 1.4rem; line-height: 2rem; color: #333; background: #000; height: 100%; min-height: 100%; overflow-x: hidden; }

iframe { max-width: 100%; }
a { color: var(--purple); text-decoration: none; }
a:active { outline: 0; }
a:hover { outline: 0; text-decoration: underline; }
a:focus { text-decoration: underline; outline: -webkit-focus-ring-color auto 5px; outline-offset: -.2rem; }
img { border: 0; max-width: 100%; vertical-align: middle; }
hr { box-sizing: content-box; height: 0; margin: 2rem 0; border: 0; border-top: .1rem solid #eee; width: 100%; }
h1 { margin: 2rem 0 1rem; line-height: 1.1; font-size: 2.8rem; font-weight: bold; }

@media screen and (max-width: 767px) { /* Mobile */

	h1 { font-size: 2.4rem; }

}

p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; }

/* Page Structure */

.site { margin: 0 auto; padding: 0; height: auto; }
#main { position: relative; background: #000; margin-bottom: -.5rem; color: #fff; height: 100%; padding-bottom: 0; }
#main a { font-weight: bold; }

/* Home Slide */

.homeslide { position: relative; overflow-x: hidden; height: 100vh; width: 100%; }
.homeslide .background { width: 100%; height: 100vh; background-position: center center; background-repeat: no-repeat; background-size: cover; box-shadow: rgba(0, 0, 0, .5) 1rem .5rem 1.5rem inset; text-shadow: rgba(0, 0, 0, .5) .1rem 0 .1rem; }
.homeslide .background a { color: #fff; }
.homeslide .container { z-index: 2; display: table; table-layout: fixed; width: 100%; height: 100%; overflow: hidden; position: relative; }
.homeslide .content { max-width: 117rem; margin: -16.3rem auto 0; display: table-cell; vertical-align: bottom; color: #fff; padding: 0 6% 4%; text-align: left; }
.homeslide .content h1 { text-transform: uppercase; margin-right: 10rem; }
.homeslide .videowrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background-color: #000; }
.homeslide .video { min-width: 100%; min-height: 120%; width: auto; height: auto; position: absolute; left: 50%; top: 50%; bottom: 0; transform: translate(-50%, -50%); overflow: hidden; z-index: 0; border: none; }

@media screen and (max-width: 767px) { /* Mobile */

	.homeslide .content { padding: 0 5% 15%; }
	.homeslide .video { max-width: inherit; width: 160vh; min-height: 100vh; max-height: 100vh; overflow: hidden; }

}

/* Donate */

.donate { position: absolute; top: 80vh; right: 6rem; width: 10rem; height: 10rem; border-radius: 50%; background-color: var(--purple); animation: spin 5s linear infinite; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donate .label { color: #fff; position: absolute; width: 100%; height: 100%; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.7rem; line-height: 1.1; font-weight: normal; }

@media screen and (max-width: 767px) { /* Mobile */

	.donate { right: 3rem; }

}

@keyframes spin {

	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }

}

/* Print */

@media print {

	* { text-shadow: none !important; color: #000 !important; background: transparent !important; box-shadow: none !important; }

	a,
		a:visited { text-decoration: underline; }

	a[href]::after { content: " (" attr(href) ")"; }
	a[href^="#"]::after { content: ""; }
	img { break-inside: avoid; max-width: 100% !important; }

	p,
		h2,
		h3 { orphans: 3; widows: 3; }

	h2,
		h3 { break-after: avoid; }

}
