@charset "UTF-8";
/* CSS Document */

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

* {
	margin: 0;
	padding: 0;
}

:root {
	--background-color: #56cbf9;
	--header-color: #c74536;
	--hover-color: #c74536;
	--text-color: #292828;
	--formHeader-color: #fff;
	/*
	Dark Grey #292828
	Orange #f8b367
	*/
}

html {
	overflow-x: hidden;
}

body {
	background-color: var(--background-color);
	font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1.25rem;
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-width: 100vw;
	overflow-x: hidden;
}

header {
	z-index: 0;
	width: 100%;
	height: 500px;
}

h1 {
	width: 500px;
	height: 500px;
	overflow: hidden;
	background: url("../_media/SPF_Logo.png") no-repeat;
}

h2 {
	font-family: 'Shadows Into Light';
	font-size: 4rem;
	font-weight: bolder;
	margin: 1rem 0;
	color: var(--header-color);
}

.adminForm {
	background-color: var(--header-color);
	padding-left: 12%;
	padding-right: 12%;
}

.adminForm>h2 {
	color: var(--formHeader-color);
}


section {
	position: relative;
	max-width: 100vw;
	display: flex;
	flex-direction: column;
}

#folio {
	margin-top: 2rem;
}

.copy,
.admin {
	width: 80%;
	margin: 35vh auto 0 auto;
	padding: 0 2rem;
	background-color: var(--background-color);
	border-radius: 25px;
	align-self: flex-end;
}

.admin {
	margin-top: 0;
}

img.me {
	z-index: -1;
	position: absolute;
	inset: 0;
	display: block;
	width: 100vw;
	height: 40vh;
	object-fit: cover;
	object-position: center;
}

.gallery {
	width: 100vw;
	margin: 0 0 2rem 0;
	padding: 0 2rem;
	text-align: center;
}

.imagebox {
	width: 25%;
	display: inline-block;
	margin: 0;
	padding: 0 .25rem;
}

#slideshow {
	position: relative;
	margin-top:2rem;
	padding-top: 3em;
	display: block;
	clear: both;
	width: 100vw;
	height: 60vh;
	z-index: 100;
}


ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: 200ms opacity ease-in-out;
}

.slide>img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.slide[data-active] {
	opacity: 1;
}

.cbutton {
	position: absolute;
	z-index: 2;
	font-size: 2rem;
	background: none;
	border: none;
	top: 50%;
	color: rgba(255, 255, 255, .5);
	transform: translateY(-50%);
	cursor: pointer;
	border-radius: .25rem;
	padding: 0 .5rem;
	background-color: rgba(0, 0, 0, .1);
}

.cbutton.prev {
	left: 1rem;
}

.cbutton.next {
	right: 1rem;
}

.cbutton:hover {
	color: #fff;
	background-color: rgba(0, 0, 0, .2);
}

.cbutton:focus {
	outline: 1px solid var(--text-color);
}

.imagebox img {
	width: 100%;
}

.content {
	min-height: 100%;
}

footer {
	width: 100%;
	padding: 1rem;
	text-align: center;
	font-size: 0.75rem;
	flex: 0 0 5rem;
	margin-top: auto;
}

footer>ul {
	display: flex;
	justify-content: center;
}

footer>ul>li {
	font-size: 1rem;
	margin: .25rem;
}

footer>p {
	width: fit-content;
	margin: 0 auto;
	padding: .25rem;
	background-color: var(--background-color);
	border-radius: .25rem;
}


p {
	margin: 1rem 0;
}

a {
	color: var(--text-color);
	text-decoration: none;
}

.nav {
	position: absolute;
	right: 1rem;
	top: 75px;
	font-size: 1rem;
	display: flex;
	justify-content: flex-end;
	align-content: flex-end;
	align-items: flex-start;
}

.nav li {
	margin: 0 .25rem;
	padding: 0;
	display: inline;
}


.nav li a {
	text-decoration: none;
	color: var(--text-color);
	margin: .5rem;
}

.nav li a:hover,
footer li a:hover {
	color: var(--hover-color);
	transition: opacity 1.5s ease-out;
}

.nav li a.active {
	padding-bottom: .5rem;
	border-bottom: 1px solid var(--text-color);
}

/* Email CSS */
form {
	margin: 2rem auto;
	padding: 0;
	width: 100%;
	height: auto;
	justify-content: center;
	text-align: center;
}



button {
	margin: 0;
	padding: .5rem;
	font-size: 1rem;
	display: block;
	clear: both;
	margin: 1rem auto;
}

.btn-primary {
	border: 2px solid white;
	border-radius: 25px;
	cursor: pointer;
	background-color: #fff;
	color: var(--text-color);
}

input {
	font-size: 1rem;
	margin: 0;
	padding: .5rem;
	width: 100%;
}

input,
textarea {
	background-color: rgba(255, 255, 255, .5);
	border: none;
	color: var(--text-color);
}

textarea {
	width: 100%;
	margin: .5rem 0;
	padding: .5rem;
	font-size: 1rem;
	display: block;
}

input::placeholder {
	color: var(--text-color);
}

input:first-of-type {
	margin-right: .5rem;
}

.form-group {
	width: 100%;
	display: flex;
}

.form-group>input {
	margin: .25rem;
}

.login {
	width: 50%;
	margin: 1rem auto;
}

.login>.form-group {
	flex-direction: column;
}

i {
	width: 1rem;
	padding-right: 1.5rem;
	color: var(--text-color);
}

@media screen and (max-width: 800px) {
	.nav {
		width: 100%;
		top: 155px;
		left: auto;
		right: auto;
		align-content: center;
		justify-content: center;
		align-items: center;
	}

	h1 {
		margin: 10px auto 20px;
	}

	.imagebox {
		width: 100%;
	}

	img.me {
		margin-top: 2rem;
		;
	}
}

@media screen and (max-width: 1250px) {
	.imagebox {
		width: 50%;
	}
}

@media screen and (min-width: 1500px) {
	img.me {
		height: 60vh;
	}

	.copy {
		margin-top: 55vh;
	}
}

@media screen and (min-width: 2000px) {
	img.me {
		height: 70vh;
	}

	.copy {
		margin-top: 65vh;
		font-size: 1.5rem;
	}
}

@media screen and (min-width:901px) {
	.imagebox>img {
		pointer-events: none;
		-webkit-touch-callout: none;
	}
}

/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 640px) {
	h1 {
		margin: 10px auto;
	}

	body,
	a,
	.cbutton {
		font-size: 3rem;
	}

	.imagebox {
		width: 100%;
	}

	.nav {
		width: 100%;
		top: 155px;
		left: auto;
		right: auto;
		align-content: center;
		justify-content: center;
		align-items: center;
	}

	section {
		margin-top: 4rem;
	}

	footer {
		font-size: 1.5rem;
	}

	input {
		margin: 1rem;
		font-size: 3rem;
		width: 90%;
	}

	textarea {
		font-size: 3rem;
	}

	button {
		font-size: 3rem;
	}

	i {
		width: 1rem;
		padding-right: 5rem;
	}

	button>i {
		padding-right: 3rem;
	}

	.login {
		width: 100%;
		margin: 1rem auto;
	}

	.form-group {
		flex-direction: column;
	}

}

table {
	width: 100%;
}

th,
td {
	text-align: left;
	padding: .25rem 0;
}