:root {
	--header-height-large: 5em;
	--header-height-small: 3em;
	--navbar-brand-size: 1em;
	--intro-background-color: #ffcc99;
	--about-background-color: #78f;
	--services-background-color: #eed;
	--portfolio-background-color: #333;
	--contact-background-color: #ddd;
}

html {
	box-sizing: border-box;
	-ms-scroll-behavior: smooth;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: sans-serif;
}

#loading-overlay {
	position: fixed;
	width:  100vw;
	height: 100vh;
	background-color: white;
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: 100;
}
@keyframes spin {
	0% {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}

header {
	display: block;
	position: fixed;
	top: 0;
	height: var(--header-height-large);
	width: 100%;
	background-color: black;
	z-index: 14;
	background-color: rgba(0, 0, 0, 0.0);
	transition: background-color 0.375s ease,
				height 0.375s ease;
	text-align: center;
	font-family: 'Varela Round', sans-serif;
}


header a {
	text-decoration: none;
}

main {
	position: relative;
	overflow: hidden;
	height: auto;
}

main section {
	height: 100vh;
}
main div {
	height: 100vh;
}

footer {
	background-color: #222;
	color: #ddd;
	text-align: center;
	padding: 2em;
	font-family: 'Muli', sans-serif;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
footer a {
	color: #ddd;
	text-decoration: none;
}
footer a:hover {
	text-decoration: underline;
}
button:focus {
	outline: none;
}
button::-moz-focus-inner {
  border: 0;
}
.collapse {
	overflow: hidden;
}
.collapsed {}

.container {
	height: 100%;
}
.navbar {}
.navbar-nav {
}

.navbar-logo {
	position: absolute;
	margin-left: calc((var(--header-height-large) - var(--header-height-large) * .8) / 2 );
	height: calc(var(--header-height-large) * 0.8);
	left: 0%;
	top: 50%;
	transform: translate(0%, -50%);
	filter: invert(100%);
	transition: height 0.375s ease,
				filter 0.375s ease;
}
.navbar-brand {
	/*font-family: 'Red Hat Display', sans-serif;
	font-family: 'Reem Kufi', sans-serif;
	font-family: 'Comfortaa', cursive;
	font-family: 'Marmelad', sans-serif;*/
	font-family: 'Quicksand', sans-serif;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin: 0 auto;
	white-space: nowrap;
	color: #191919;
	font-size: 250%;
	font-weight: normal;
	cursor: default;
	transition: transform 0.375s ease,
				font-size 0.375s ease,
				left 0.375s ease,
				color 0.2s ease;
}
.navbar-collapse {
	position: absolute;
	white-space: nowrap;
	left: 100%;
	top: 50%;
	transform: translate(-100%, -50%);
	transition: height 0.3s ease;
}
.navbar-expand {}

.navbar-toggler {
	position: absolute;
	background-color: rgba(0, 0, 0, 0);
	border: none;
	background-image: url("../img/drop-down-icon.png");
	background-size: cover;
	border-radius: 5px;
	top: 50%;
	right: 2vw;
	transform: translate(0%, -50%);
	display: none;
	height: 35px;
	width: 35px;
	filter: invert(100%);
	cursor: pointer;
	transition: height 0.375s ease;
}
.nav-item {
	margin-bottom: 0;
	margin-right: 1vw;
	margin-left: 1vw;
	color: #191919;
	transition: margin-left 0.375s ease,
				color 0.2s ease;
}

.nav-item:hover {
	text-decoration: underline;
}
.nav-link {}

#popup-message {
	position: fixed;
	left:0.5em;
	top:100%;
	transform:translateY(0%);
	transition:transform 0.25s;
	padding:1em;
	padding-right:0;
	border-radius:6px;
	display:flex;
	justify-content:space-between;
	align-items:center;
	z-index:50;
	font-family: 'Lucida Console', Courier, monospace;
}
#popup-message.message-success {
	background-color:#333;
	border:1px solid #aaa;
	color:#eee;
}
#popup-message.message-success line {
	stroke: #eee;
}
#popup-message.message-error {
	background-color:#f65;
	border:1px solid #222;
	color:#222;
}
#popup-message.message-error line, 
#popup-message.message-info line {
	stroke: #222;
}
#popup-message.message-info {
	background-color:#ff6;
	border:1px solid #222;
	color:#222;
}
#popup-message div {
	height: 1em; 
	width: 1em;
	padding: 0 1em;
}
#message-exit {
	cursor:pointer;
}

/* General "Main" Section Rules */

.section-title {
	text-align: center;
	white-space: nowrap;
	position: absolute;
	font-weight: normal;
	left: 50%;
	top: 11%;
	transform: translate(-50%, -50%);
	font-family: 'Red Hat Display', sans-serif;
	text-shadow: 0px 2px 2px #555;
}
.section-border {
	position: absolute;
	height: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	border-top: 3px solid #222;
	box-shadow: 0px 1px 2px 0px #555;
}

.title-border {
	top: calc(var(--header-height-small) + 16%); /* + 16% */
	width: 7%;
}
.footer-border {
	top: 85%;
	width: 8%;
}

.section-next {
	position: absolute;
	left: 50%;
	color: #333;
	top: 91.5%;
	left: 50%;
	white-space: nowrap;
	font-size: calc(1.125vw + 8px);
	padding: 0.25em;
	padding-left: .75em;
	padding-right: .75em;
	transform: translate(-50%, -50%);
	text-decoration: none;
	font-family: 'Raleway', sans-serif;
	text-shadow: 0px 2px 2px #555;
	border-radius: 1em;
	transition: all 0.25s ease;
}

.section-next:hover {
	box-shadow: 0px 4px 9px 2px #555;
	letter-spacing: 0.03em;
	color: white;
	text-shadow: 0 0 0 #555;
}

/* Intro Section */

#intro {
	background-color: var(--intro-background-color);
	background-image: url("../img/intro-background.png");
	background-image: url("../img/intro-background.jpg");
	background-size: cover;
	background-position: 50% 0%;
	position: relative;
	top: 0;
}

#intro-statement {

	font-family: 'Raleway', sans-serif;
	position: absolute;
	height: auto;
	width: 70%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

#intro-border {
	position: absolute;
	height: 0;
	border-top: 3px solid #f41;
	width: 50%;
	left: 50%;
	transform: translate(-50%,0%);
	box-shadow: 0px 2px 3px 0px #333;
}

#intro-statement h2 {
	position: relative;
	font-weight: normal;
	color: #fff;
	left: 50%;
	transform: translate(-50%, 0%);
	width: 17em;
	text-shadow: 0vw .2vw .375vw #555;
	/*text-shadow: 0px 4px 7px #555;*/
	font-size: calc(3.75vw + 10px);
	/*font-size: 400%;*/
	transition: all 0.25s ease;
}

#intro-statement p {
	position: relative;
	left: 50%;
	width: 50%;
	transform: translate(-50%, 0%);
	padding-top: 1em;
	font-size: calc(1.675vw + 7px);
	/*font-size: 200%;*/
}

#intro-statement span {
	margin: 0;
	position: absolute;
	white-space: nowrap;
	padding: 0.25em;
	padding-left: .75em;
	padding-right: .75em;
	left: 50%;
	width: auto;
	transform: translate(-50%, 0%);
	color: #333;
	text-shadow: 0px 2px 2px #555;
	border-radius: 0.75em;
	transition: all 0.25s ease;
}

#intro-statement span:hover {
	color: white;
	text-shadow: 0 0 0 #555;
	background-color: rgba(255, 50, 10, 0.5);
	box-shadow: 0px 4px 9px #555;
	letter-spacing: 0.04em;
}


/* "About" Section */

#about {
	background-color: var(--about-background-color);
	position: relative;
}

#about-title-border {
	border-color: #aac;
}
#about-border {
	border-color: #aac;
	background-color: rgba(191, 191, 239, 1); /* equivalent to #bbe */
}

#about-img-container {
	position: absolute;
	top: calc(var(--header-height-small) + 50%);
	right: 50%;
	margin-right: 1em;
	transform: translate(0%, -50%);
	height: 50vh;
	width: 67vh;
	overflow: hidden;
	border-radius: 4px;
	padding: 0;
}
#about-img {
	position: relative;
	height: 100%;
	left: 50%;
	transform: translate(-50%, 0%);
	border-radius: 4px;
}

#about-blurb {
	margin-left: 0;
	font-size: 110%;
	text-align: justify;
	position: absolute;
	left: 50%;
	margin-left: 1em;
	width: 65vh;
	height: auto;
	top: calc(var(--header-height-small) + 50%);
	transform: translate(0%, -50%);
	padding: 0;
}

#about-next {
	background-color: rgba(191, 191, 239, 0.375); /* equivalent to #bbe */
}
#about-next:hover {
	color: #222;
	background-color: rgba(191, 191, 239, 1);
}
/* "Services" Section */

#services {
	position: relative;
	background-color: var(--services-background-color);
	font-family: 'Varela Round', sans-serif;
}
.services-container {
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
	height: 100%;
	width: 90%;
}

.services-column {
	width: 50%;
	float: left;
	height: 100%;
	position: relative;
}

.services-card-container {
	position: absolute;
	height: 50%;
	top: 55%;
	transform: translate(0%, -50%);
}

.services-card {
	width: 100%;
	height: 50%;
	float: left;
	position: relative;
	transition: opacity 0.375s ease;
}

.services-logo {
	height: 90%;
	position: absolute;
	left: 25%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.services-blurb {
	position: relative;
	height: auto;
	left: 50%;
	width: 50%;
	top: 0;
}
.services-blurb-title {
	/*white-space: nowrap;*/
	font-size: calc(0.5vw + 15px);
	text-shadow: 0px 2px 3px #555;
}
.services-blurb-text {
	text-align: left;
}
.blurb-full {
	transition: opacity 0.375s ease;
}
.blurb-full span {
	display: none;
	padding-left: 5px;
	padding-right: 5px;
	border-radius: 1em;
	background-color: rgba(180, 168, 115, 0.625);
	transition: all 0.25s ease;
}
.blurb-full span:hover {
	background-color: rgba(148, 134, 83, 1);
	color: white;
	cursor: pointer;
}

.blurb-mobile {
	transition: opacity 0.375s ease;
	display: none;
}
.blurb-mobile span {
	display: inline-block;
	padding-left: 5px;
	padding-right: 5px;
	border-radius: 1em;
	background-color: rgba(180, 168, 115, 0.625);
	transition: all 0.25s ease;
}
.blurb-mobile span:hover {
	background-color: rgba(148, 134, 83, 1);
	color: white;
	cursor: pointer;
}

#services-title-border {
	border-color: #b4a873;
}
#services-border {
	border-color: #c4b883;
}
#services-next {
	position: absolute;
	transform: translate(-50%, -50%);
	text-decoration: none;
	font-family: 'Raleway', sans-serif;
}
#services-next {
	background-color: rgba(196, 184, 131, .625) /* #c4b883; */
}
#services-next:hover {
	background-color: #c4b883;
}


/* "Portfolio" Section */

#portfolio {
	position: relative;
	background-color: var(--portfolio-background-color);
	font-family: 'Varela Round', sans-serif;
}
#portfolio-title {
	color: #aaa;
	text-shadow: 0px 2px 2px #000;
}

.panel-overlay {
	text-align: center;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0);
	transition: background-color 0.25s ease;
}
.panel-overlay p {
	display: none;
}
.panel-overlay:hover {
	background-color: rgba(0,0,0,0.625);
}

.panel-overlay:hover > * {
	display: block;
	color: rgba(220, 220, 220, 1);
}


.portfolio-blurb {

}
.portfolio-container {
	position: absolute;
	left: 50%;
	top: calc(50% + var(--header-height-small));
	transform: translate(-50%, calc(-50% - var(--header-height-small)/2));
	height: calc(65vh - var(--header-height-small));
	width: 100%;
	/*width: calc((90vh - var(--header-height-small)) * (4/3) * (3/2));*/
	background-color: black;
}
.panel-img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.25s ease, height 0.25s ease;
}

.portfolio-img  {
	width: 100%;
	/*height: 100%;*/
}

.portfolio-img:hover {
}

.portfolio-panel {
	overflow: hidden;
	position: relative;
	float: left;
	width: 33.333%;
	height: 50%;
}
.portfolio-panel:hover {
	cursor: pointer;
}

.portfolio-panel:hover > .panel-img {
	width: 110%;
	/*height: 110%;*/
}


.portfolio-title {
	padding: 0;
	margin: 0 auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: rgba(220, 220, 220, 0);
	font-size: 125%;
	transition: color 0.25s ease;
}

.portfolio-slideshow {
	display: none;
	position: fixed;
	width: calc(85vh * (4/3));
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 85vh;
	z-index: 16;
	transition: transform 0.375s ease;
}

#slideshow-img-container {
	width: 100%;
	height: 100%;
	white-space: nowrap;
	transition: transform 0.5s ease;
}

.slideshow-img-backing {
	margin: 0;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	background-color: black;
	height: auto;
	width: 100%;
	opacity: 0;
	transition: opacity 0.375s ease;
}

.slideshow-img::before {
	width: 0;
	margin: 0;
}
.slideshow-img::after {
	width: 0;
	margin: 0;
}
.slideshow-img-backing::before {
	width: 0;
	margin: 0;
}
.slideshow-img-backing::after {
	width: 0;
	margin: 0;
}

.slideshow-img {
	margin: 0;
	vertical-align: middle;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.slideshow-text {
	display: inline-block;
	position: absolute;
	height: auto;
	left: 50%;
	top: 100%;
	transform: translate(-50%, -105%);
	width: 75%;
	text-align: center;
	background-color: rgba(25, 25, 25, 0.8);
	border-radius: 5px;
	color: #bbb;
	transition: opacity 0.375s ease;
	cursor: default;

}
.slideshow-text:hover {
	opacity: 0;
}
.slideshow-title {
	margin-top: 3px;
	margin-bottom: 5px;
	height: auto;
	text-shadow: 0px 2px 2px #222;
}
.slideshow-blurb {
	height: auto;
	margin-top: 5px;
	margin-bottom: 3px;
	white-space: normal;
	transition: opacity 0.375s ease;
}
#overlay {
	width: 100vw;
	height: 100vh;
	position: fixed;
	display: none;
	background-color: rgba(0, 0, 0, 0);
	transition: background-color .5s ease;
	z-index: 15;
}

#control-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.slideshow-controls {
	opacity: 0;
	position: absolute;
	margin: 0 auto;
	height: auto;
	top: 50%;
	z-index: 20;
	font-size: 400%;
	font-family: courier;
	white-space: nowrap;
	color: #ddd;
	transition: all 0.25s ease;
}

.slideshow-controls:hover {
	cursor: pointer;
}

#slideshow-prev {
	left: 0%;
	transform: translate(-50%, -50%);
}
#slideshow-prev:hover {
	padding-right: 15px;
	text-shadow: 0 0.125em 5px #222;
}
#slideshow-next {
	left: 100%;
	transform: translate(-50%, -50%);
}
#slideshow-next:hover {
	padding-left: 15px;
	text-shadow: 0 0.125em 5px #222;
}

#exit-slideshow {
	position: fixed;
	display: none;
	opacity: 0;
	cursor: pointer;
	width: 40px;
	top: 30px;
	right: 30px;
	transform: translate(50%, -50%);
	z-index: 30;
	filter: saturate(85%);
	transition: opacity 0.5s ease,
				filter 0.2s ease;
}

#exit-slideshow:hover {
	/*width: 45px;*/
	filter: saturate(100%);
}

#portfolio-next {
	color: #aaa;
	background-color: rgba(160, 160, 160, 0.5);
	text-shadow: 0px 2px 2px black;
}

#portfolio-next:hover {
	background-color: rgba(160, 160, 160, 1);
	color: #222;
	text-shadow: none;
	box-shadow: 0px 4px 9px black;
}


/* "Contact" Section */

#contact {
	background-color: var(--contact-background-color);
	position: relative;
	font-family: 'Raleway', sans-serif;
}

#contact-container {
	position: absolute;
	width: 55%;
	left: 50%;
	transform: translate(-50%, 0%);
}
#contact-submit-message {
	position: absolute;
	left: 50%;
	top: calc(31.5% - 1.175vh); /*30%*/
	transform: translate(-50%, -50%);
	width: 100%;
	height: auto;
	text-align: center;
	border-radius: 1em;
	opacity: 0;
	transition: opacity 0.5s ease;
}
#contact-submit-message p {
	margin: 0.375em;
	font-size: calc(15px + .5vw);
}
#contact-form-container {
	height: 35%;
	width: 100%;
	position: absolute;
	top: calc(50% + var(--header-height-small));
	left: 50%;
	transform: translate(-50%, -50%);
}
#form-overlay {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 4;
	background-color: rgba(255, 255, 255, 0);
}
#ajax-contact-form {
	height: 100%;
	width: 100%;
	position: relative;
	top: 50%;
	transform: translate(0%, -50%);
}

#contact-form-fieldset {
	width: 100%;
	height: 100%;
	border: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.contact-form-left {
	width: 60%;
	height: 100%;
	display: flex;
  	justify-content: center;
  	align-content: center;
  	flex-direction: column;
	text-align: center;
	float: left;
}
.contact-form-left div {
	position: relative;
	display: flex;
  	justify-content: center;
  	align-content: center;
  	flex-direction: column;
	border-radius: 10px;
	height: 100%;
	width: 100%;
}
textarea {
	font-family: 'Raleway', sans-serif;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
	box-sizing: border-box;
	font-size: 110%;
	padding: 1em;
	resize: none;
	border: 3px solid #cccccc;
	border-radius: 10px;
	width: 95%;
	height: 90%;
}
.contact-form-right {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-content: stretch;
	height: 100%;
  	align-items: center;
	width: 40%;
	display: inline-block;
}
.contact-form-right div {
	position: relative;  
	box-sizing: border-box;
	display: flex;
  	justify-content: center;
  	align-content: center;
  	flex-direction: column;
	text-align: center;
	width: 95%;
	height: 25%;
}
.contact-form-right input {
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
	font-family: 'Raleway', sans-serif;
	box-sizing: border-box;
	font-size: 110%;
	padding-left: 1em;
	border: 3px solid #cccccc;
	border-radius: 7px;
	height: 60%;
	width: 90%;
	transition: background-color .25s ease;
}
#submit-button {
	cursor: pointer;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
	box-sizing: border-box;
	font-family: 'Raleway', sans-serif;
	font-size: 3vh;
	color: #ffffff;
	border: 0;
	background-color: #5544ee;
	border-radius: 1em;
	height: 55%;
	width: 90%;
	letter-spacing: 0.0625em;
	font-weight: 500;
	text-shadow: 0px 2px 2px #555;
	transition: width 0.25s ease,
				box-shadow 0.25s ease,
				text-shadow 0.25s ease,
				letter-spacing 0.25s ease, 
				background-color 0.25s ease;
}
#submit-button:hover {
	box-shadow: 0px 4px 9px 2px #555;
	width: 95%;
	text-shadow: none;
	letter-spacing: 0.125em;
	background-color: #9977dd; /*#bb55dd; #ffaa4a; #ee4455;*/
}
.contact-panel {
	position: relative;
	width: 33.333%;
	height: 100%;
	float: left;
	text-align: center;
}
.contact-method-container {
	position: absolute;
	height: auto;
	width: 100%;
	top: 40%;
}
/*
#contact-container {
	position: absolute;
	left: 50%;
	top: calc(50% + var(--header-height-small));
	transform: translate(-50%, calc(-50% - var(--header-height-small)/2));
	height: calc(90vh - var(--header-height-small));
	width: 90vw;
}
*/

.contact-panel a:hover {
	border-bottom: 2px solid #222;
}

.contact-img-container {
	position: relative;
	width: 100%;
	height: auto;
	float: left;
}

.contact-img {
	position: absolute;
	width: 50%;
	top: 5em;
	left: 50%;
	transform: translate(-50%, -50%);
	filter: drop-shadow(0px 0.2vw 0.2vw #222);
}

.contact-info {
	position: absolute;
	width: auto;
	left: 50%;
	top: calc(6em + 6vw);
	font-family: 'Muli', sans-serif;
	text-decoration: none;
	color: #222;
	white-space: nowrap;
	font-size: calc(0.5vw + 14px);
	font-weight: bold;
	transform: translate(-50%, 0%);
}
/*
.contact-img {
	position: absolute;
	width: 50%;
	top: 45%;
	left: 50%;
	/*top: calc(50% + var(--header-height-large)/2);*//*
	transform: translate(-50%, -50%);
}
*/
/*
.contact-image-container {
	position: relative;
	width: 100%;
	height: 60%;
	/*height: calc(60% + var(--header-height-large)/2);
	float: left;
}*/
/*
.contact-info-container {
	position: relative;
	width: 100%;
	height: auto;
	text-align: center;
	float: left;
}*/
/*
.contact-info {
	font-family: 'Muli', sans-serif;
	position: absolute;
	left: 50%;
	top: 70%;
	transform: translate(-50%, -50%);
	text-decoration: none;
	color: #222;
	white-space: nowrap;
	font-size: 125%;
	font-weight: bold;
	padding-bottom: 0.25em;
}
*/
/*
.contact-method-container {
	width: 65%;
	height: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
*/
#mailing-address {
	 transform:translate(-50%, -50%);
}

.social-media-container {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: auto;
	left: 50%;
	top: 90%;
	transform: translate(-50%, -50%);
	height: 3em;
}
#social-media-mobile-container {
	position: relative;
	white-space: nowrap;
	height: 100%;
	width: auto;
}
.social-media-link {
	text-decoration: none;
	height: 100%;
	width: auto;
}
.social-media-icon {
	margin-left: 0.75em;
	margin-right: 0.75em;
	height: 100%;
	box-shadow: 0px 2px 3px 2px #555;
	transition: all 0.15s ease;
}
.social-media-icon:hover {
	transform: translate(0%, -10%);
	box-shadow: 0px 4px 8px 2px #555;
}

#facebook-icon {
	border-radius: 4px;
}
#twitter-icon {
	border-radius: 8px;
}
#pinterest-icon {
	border-radius: 8px;
}
#youtube-icon {
	border-radius: 11px;
}
#instagram-icon {
	border-radius: 13px;
}
#linkedin-icon {
	border-radius: 7px;
}
#discord-icon {
	border-radius: 12px;
}
#twitch-icon {
	border-radius: 6px;
}

/* Window height breakpoints */
@media (max-height: 600px) {
	main section {
		height: 600px;
	}
	main div {
		height: 600px;
	}
	#about-img-container {
		height: calc(600px * 0.5);
		width: calc(600px * 0.667);
	}
	#about-blurb {
		width: calc(600px * 0.667);
	}
	.portfolio-container {
		height: calc(0.7 * 600px - var(--header-height-small));
	}
	.portfolio-slideshow {
		height: calc(0.85 * 600px);
		width: calc(0.85* 600px * (4/3));
	}
	#submit-button {
		font-size: 110%;
	}
	/*
	#contact-container {
		height: calc(600px - var(--header-height-small));
	}
	*/
}

/*Window width breakpoints */




@media (max-width: 1200px) {
	/* Header / navbar section */

	.title-border {
		top: calc(var(--header-height-small) + 15%);
	}
	/* "Intro" section */

	/* "About" section */

	/* "Services" section */
	.services-card-container {
		height: 57%;
	}
	.services-blurb-text {
		margin-top: 6px;
	}
	/* "Portfolio" section */

	/* "Contact" section */
	#contact-container {
		width: 70%; 
	}
	/* Footer Section */
}

@media (max-width: 992px) {
	/* Header / navbar section */
	.section-title {
		top: 10%;
	}
	.section-next {
		font-size: 21px;
	}
	.title-border {
		top: calc(var(--header-height-small) + 14%);
	}
	/* "Intro" section */

	#intro-statement h2 {
		font-size: calc(4vw + 12px);
		/*font-size: 350%;*/
		width: 14em;
		text-shadow: 0px 3px 7px #494949;
	}
	#intro-statement p {
		font-size: calc(2vw + 10px);
		font-weight: bold;
	}
	#intro-statement span:hover {
		font-weight: normal;
	}

	/* "About" section */
	#about-container {
		width: 80%;
		position: absolute;
		left: 50%;
		top: calc(var(--header-height-small) + 50%);
		height: auto;
		transform: translate(-50%, -50%);
	}
	#about-img-container {
		position: static;
		left: 0;
		float: left;
		width: 50%;
		height: calc(25vh * (4/3));
		top: 0;
		transform: translate(0%, 0%);
	}
	#about-img {
		top: 50%;
		transform: translate(-50%, -50%);
		width: 50vw;
		height: auto;
	}
	#about-blurb {
		position: static;
		margin-left: 0;
		margin-top: 0;
		left: 0;
		top: 0;
		transform: translate(0%, 0%);
		width: 100%;
	}
	#about-blurb p:first-child {
		margin-top: 0;
	}
	/* "Services" section */
	.services-card-container {
		height: 60%;
	}
	.services-container {
		width: 95%;
	}
	.services-logo {
		height: 150px;
		/*height: 75%;*/
		left: 25%;
	}
	.services-blurb {
		left: 50%;
	}
	.services-blurb-title {
		font-size: calc(0.4vw + 14px);
	}
	.services-blurb-text {
		margin-top: 10px;
		font-size: calc(0.4vw + 12px);
	}
	/* "Portfolio" section */

	/* "Contact" section */
	#contact-container {
		width: 85%;
	}
	/* Footer Section */
}

@media (max-width: 768px) {
	/* Header / navbar section */
	header {
		z-index: 20;
	}
	.title-border {
		top: calc(var(--header-height-small) + 11%);
	}
	.section-next {
		top: 93%;
		font-size: 20px;
	}
	/* "Intro" section */

	#intro-statement h2 {
		font-size: calc(5vw + 11px);
		width: 10em;
		text-shadow: 0px 3px 6px #444;
	}
	#intro-statement p {
		font-size: calc(2.5vw + 8px);
	}
	#intro-statement p:hover {
		letter-spacing: 0.03em;
		font-weight: normal;
	}

	/* "About" section */
	#about-container {
		top: calc(var(--header-height-small)*0.85 + 50%);
	}
	#about-img-container {
		display: inline-block;
		position: absolute;
		margin-right: 0;
		left: 0;
		width: 48%;
		top: 50%;
		transform: translate(0%, -50%);
	}
	#about-blurb {
		display: inline-block;
		position: absolute;
		width: 48%;
		top: 50%;
		margin-left: 1em;
		font-size: 100%;
		left: 100%;
		transform: translate(-100%, -50%);
	}
	/* "Services" section */
	.services-column {
		width: 100%;
		height: 33%;
		top: 20%;
	}
	.services-card-container {
		height: 100%;
		top: 50%;
	}
	.services-card {
	}
	.services-logo {
		height: 80%;
		left: 15%;
		top: 50%;
	}
	.services-blurb {
		width: 67%;
		left: 30%;
		top: 0;
		/*top: 50%;
		transform: translate(0%, -50%);*/
	}

	.services-blurb-title {
		margin-bottom: 3px;
	}
	.services-blurb-text {
		margin-top: 3px;
	}

	/* "Portfolio" section */
	.portfolio-container {
		display: none;
	}
	.portfolio-slideshow {
		height: auto;
		width: 100%;
		display: block;
		position: relative;
		top: calc(50% + var(--header-height-small)/2);
		/*transform: translate(-50%, -50%);*/
	}
	#slideshow-img-container {
	}
	.slideshow-img-backing {
		width: 100%;
		opacity: 1;
	}
	.slideshow-img {
		opacity: 1;
	}
	.slideshow-text {
		width: auto;
		font-size: 90%;
		left: 0;
		transform: translate(0%, -100%);
	}
	.slideshow-text:hover {
		opacity: 1;
	}
	.slideshow-title {
		margin-left: 5px;
		margin-right: 5px;
	}
	.slideshow-blurb {
		display: none;
	}
	.slideshow-text-toggle {
		cursor: pointer;
		display: flex;
		position: absolute;
		/*top: 100%;*/
		left: 100%;
		transform: translate(-100%, -100%);
		width: 3em;
		height: 1.5em;
		background-color: rgba(235, 235, 235, 0.7);
		align-items: center;
		justify-content: center;
		/* border-radius: 0.25em 0em 0em; */
		font-size: 90%;
		transition: all 0.25s ease;
	}
	/* Removed 01/28/2020 *//*
	.slideshow-text-toggle:hover {						
		background-color: rgba(25, 25, 25, 0.7);
		color: rgba(235, 235, 235, 1);
	}
	*/
	.slideshow-controls {
		font-weight: 600;
		top: 50%;
		font-size: 250%;
		display: inline-block;
		opacity: 1;
		text-shadow: 1px 0px 0px black,
					0px 1px 0px black,
					-1px 0px 0px black,
					0px -1px 0px black;
	}

	#slideshow-prev {
		opacity: 1;
		left: 3%;
	}

	#slideshow-prev:hover {							/* Rule added 01/28/2020 */
		padding-right: 0px;
		text-shadow: none;
	}

	#slideshow-next {			
		opacity: 1;
		left: 97%;
	}
	#slideshow-next:hover {							/* Rule added 01/28/2020 */
		padding-left: 0px;
		text-shadow: none;
	}

	/* "Contact" section */
	#contact-form-container {
		top: calc(30% + var(--header-height-small));
	}
	#form-overlay {
		height: 181.25%; /* .contact-form-left + .contact-form-right */
	}
	.contact-form-left {
		width: 100%;
		height: 93.75%;
	}
	.contact-form-right {
		width: 100%;
		height: 87.5%;
	}
	.contact-form-right div {
		width: 100%;
	}
	.contact-form-right input {
		width: 95%;
		height: 75%; /* 83.75% */
		padding-left: 0.5em;
	}
	#submit-button {
		margin-top: 2.5em;
		font-size: 100%;
		width: 50%;
		height: 75%; /* 81.25% */
	}
	#submit-button:hover {
		width: 98%;
	}
	.contact-panel-container {
		position: relative;
		top: calc(50% + var(--header-height-small) / 2);
		transform: translate(0%, -50%);
		height: 55%;
	}
	.contact-method-container {
		position: relative;
		top: 0;
		height: 100%;
		width: 100%;
	}

	.contact-panel {
		float: left;
		width: 100%;
		height: 33.33%;
		left: 0;
	}

	.contact-img-container {
		position: relative;
		top: 0;
		left: 21%;
		height: 100%;
	}

	.contact-img {
		position: absolute;
		top: 50%;
		left: 0;
		height: calc(35px + 8vh);								/* 80px */
		width: auto;
		transform: translate(-50%, -50%);
	}
	.contact-info {
		text-align: left;
		position: absolute;
		left: 40%;
		top: 50%;
		transform: translate(0%, -50%);
	}
	#mailing-address {
		position: absolute;
		transform: translate(0%, -90%);
	}
	.social-media-container {
		top: 92%;
	}
	.social-media-icon:hover {								/* Rule added 01/28/2020 */
		transform: none;
		box-shadow: 0px 2px 3px 2px #555;
	}
	.social-media-link:nth-child(n+7) {
		display: none;
	}


	/* Footer Section */
	@media (min-height: 0px) {
		main section {
			height: 475px;
		}
		main div {
			height: 475px;
		}
	}
	@media (min-height: 475px) {
		main section {
			height: 100vh;
		}
		main div {
			height: 100vh;
		}
	}
	@media (max-height: 475px) {
		.services-column {
			height: 33%;
		}
	}
	/*
	@media (min-aspect-ratio: 1/1) {
	 	#portfolio-slideshow {
	 		height: calc(100% - var(--header-height-small));
	 	}
  	}
  	*/
}

@media (max-width: 576px) {
	/* Header / navbar section */
	.nav-item {
		color: #888;
	}
	.navbar-toggler {
		display: inline-block;
		height: 30px;
		width: 30px;
	}
	.navbar-collapse {
		display: none;
	}
	.section-title {
		font-size: 150%;
		top: 11%;
		text-decoration: underline;
	}
	.section-next {
		top: 93%;
		font-size: 17px;
	}
	.title-border {
		display: none;/*
		top: 20%;
		border-width: 2px;*/
	}
	/* "Intro" section */
	#intro-border {
		border-width: 2px;
	}
	#intro-statement {
		top: 53%;
	}
	#intro-statement h2 {
		font-size: calc(7vw + 10px); /*10vw*/
		width: 9em;
		text-shadow: 0px 2px 4px #333;
	}
	#intro-statement p {
		font-size: calc(11px + 2vw);
	}

	/* "About" section */
	#about-container {
		width: 90%;
		top: 56%;
	}
	#about-img-container {
		display: inline;
		position: static;
		float: left;
		top: 0;
		left: 0;
		transform: translate(0%, 0%);
		height: 110px;
		width: 110px;
		margin-right: 0.75em;
	}
	#about-img {
		height: auto;
	}
	#about-blurb {
		display: inline;
		position: static;
		left: 0;
		top: 0;
		margin: 0;
		width: 100%;
		transform: translate(0%, 0%);
		font-size: calc(60% + 1vh);
	}
	#about-blurb p {
	}

	/* "Services" section */
	.services-column {
		height: 33%;
		top: 21%;
	}
	.services-logo{
		height: 65%;
		/*height: calc(33px + 7vw);*/
	}
	.services-blurb-title {
		white-space: nowrap;
	}
	.blurb-full {
		display: none;
	}
	.blurb-mobile {
		display: inline;
	}
	/* "Portfolio" section */

	/* "Contact" section */
	.contact-panel-container {
		position: relative;
		top: calc(46% + var(--header-height-small) / 2);
	}
	.contact-img-container {
		left: 15%;
	}
	.contact-img {
		height: calc(40px + 5vh);			/* Changed 01/28/2020 */
	}
	.contact-info {
		left: 35%;
	}
	.social-media-container {
		top: 95%;
		width: 100%;
	}
	#social-media-mobile-container {
		position: absolute;/*15.875em;*/
		left: 50%;
		transform: translate(-50%, 0%);
	}
	.social-media-link:nth-child(n+5) {
		display: none;
	}
	.social-media-icon {
		height: 90%;
		margin-left: 2vw;
		margin-right: 2vw;
	}

	/* Footer Section */
	footer {
		padding: 2em 1em;
	}
	#footer-copyright {
		font-size: 80%;
	}
	.footer-link {
		font-size: 80%;
	}

	/* Pop-Up Messages */
	#popup-message {
		left: 0.5em;
		font-size: 90%;
		width: calc(100vw - 2em);
	}
	#popup-message-text {
		flex: 1;
		text-align: center;
	}

	@media (max-height: 380px) {
		main section {
		height: 380px;
		}
		main div {
		height: 380px;
		}
		#intro-statement h2 {
			font-size: calc(5vw + 10px);
		}
		#about-blurb {
			font-size: 80%;
		}
	}
	@media (min-height: 380px) {
		main section {
		height: 100vh;
		}
		main div {
		height: 100vh;
		}
	}
}


