@charset "UTF-8";
@import url("fonts/SFCompactDisplay-Thin.woff2");
@import url("fonts/SFMono-Medium.woff");
/* CSS Document */

/* Reset and base styles */
	

*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
}

body {
	color: white;
	height: auto;
}
html body {
	background-color: black;
}
h1{
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
    font-size: 0.1px;
    color: white;
	font-weight: normal;
	letter-spacing: 1px;
}
h2 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	font-weight: bold;
}
li a {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	font-style: italic;
	font-weight: 100;
}
.caption a {
	font-decoration:none;
}
/* Table-like layout*/
.responsive-table {
	display: flex;
	flex-wrap: wrap;
	max-height: 200px;
	width: auto;
	background-color: transparent;
}


/* Cells */
.cell{
	padding: 0px;
	background-color: transparent;
}


.logo-container {
	position: relative;
	height: 200px;
	width: 35%;
	background-color: transparent;
	overflow: hidden;
	
}
.logo-container video {
    position: absolute;
    top: 2%;
    left: 5%;
    width: 90%;
    height: 90%;
    object-fit: contain;
    z-index: 2; /*ON TOP of title*/
    transition: opacity 1.5s ease-in-out;
    opacity: 1;	/*transform: translate(-50%,-50%);*/
}
/*title styling */
.title {
	position: absolute;
	top: 40%;
	left: 32%;
	z-index: 1;/*UNDER the video*/
	text-align: center;
	opacity: 0; /*start hidden*/
	width: fit-content;
	max-width: 100%;
	overflow: hidden;
	transition: opacity 1.5s ease-in-out;
	pointer-events: none;
	transform: none;
	display: flex;
	flex-wrap: wrap;
	
}
.title h1 {
	white-space: nowrap;
	color: white;
	opacity: 1;
}
.logo-container.crossfade video {
	opacity:0;
	pointer-events: none;
}
.logo-container.crossfade .title {
	opacity: 1;
}
/*navbar styling*/
.nav-cell {
	height: 200px;
	width: 65%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.nav-container {
	width: 100%;
	text-align: center;
	padding: 10px 0; /*optionally vertical spacing*/
	flex: 1 1 65%;
}
.nav-bar {
	list-style: none;
	display: flex;
	justify-content: center;
	font-family: 'SFCompactDisplay-Thin';
	gap: 15px; /*space between items - reduce to bring closer*/
	padding: 0;
	margin-top: 7px;
	margin-left: 50px;
}
.nav-bar li a {
	text-decoration: none;
	font-family: 'SFCompactDisplay-Thin';
	color: white;
	text-align: center;
	padding: 2vw;
	font-size: clamp(14px, 2vw, 18px);
}
.nav-bar li a:hover {
	color: #333333
} 


/*hamburger menu styling*/
.hamburger {
	z-index: 10;
	}


/*hide nav-bar on small screens by default*/
.nav-toggle {
	display: none;
}


/*responsive video container*/
.video-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 500px;
	z-index: 0;
}
.video-wrapper video {
	width: 100%;
	height: 100;
	object-fit: cover;
	display: block;
	z-index: 1;
}
.caption {
	position: absolute;
	top: 50%;
	color: white;
	text-align: center;
	z-index: 2;
	width: 100%;
	font-family: 'SFCompactDisplay-Thin', 'Ariels';
}
/*initial state*/
.caption {
	opacity: 0;
	transform: translateY(40px);
	transition: all 1.2s ease-out;
}
/*visible when in view*/
.caption.visible{
	opacity: 1;
	transform: translateY(0);
}

@keyframes fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}



/*responsive photo container*/
.photo-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 500px;
}
.photo-wrapper img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}



/* unified styling for video and photo wrapper*/
.parallax-wrapper {
	position: relative;
	overflow: hidden;	/*crop the content inside*/
	height: 55vh;		/*fixed height for viewport cropping*/
	margin: 0;			/*remove any unwanted spacing*/
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
/*content that will scroll slower than the page*/
.parallax-content{
	position: absolute; /*absolute so it scrolls inside container*/
	top: 0;
	left: 0;
	width: 100%;
	height: 150%;
	transition: transform 0.1s ease-out;
	transform: translateY(0);
	will-change: transform;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	object-fit: cover;
	align-content: center;
}
/*make media larger than container to screate scroll depth*/
.parallax-content video,
.parallax-content img {
	height: 140%;		/*larger than .parallax wrapper height*/
	width: 140%;
	object-fit: cover;
	display: block;
	pointer-events: none; /*prevent interaction if not needed*/
	/*justify-content: center;*/
	/*align-content: center;*/
}
.parallax-content video {
	
}


/*videography page*/
h2 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	
}
.responsive-content-table {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	position: relative;
	z-index: 0;
}
.top-table {
	height: 150px;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	position: relative;
}
.top-table img {
	position: absolute;
	height: 50%;
	left: 25px;
	top: 25px;
	z-index: 2;
}

.top-table img:hover {
	height: 40%;
}
.cells {
	flex: 1 1 50%;
	min-width: 50%;
	height: 35%;
	position: relative;
	z-index: 0;
	padding: 10px;
	box-sizing: border-box;

	display: flex;
	justify-content: center; /*horizontal centering*/
	align-items: center; /* vertical centering*/
}
.content-container {
	position: relative;
	width: 100%;
	padding-top: 56.25%;; /* 16:9 aspect ratio (9/16 = 0.5625)*/
	overflow: hidden;
}
.content-container video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 70%;
	height: 70%;
	transform: translate(-50%,-50%);
	object-fit: cover;
}
.content-caption {
	position: absolute;
	top: 50%;
	color: white;
	text-align: center;
	z-index: 2;
	width: 100%;
	background-color: transparent;
}
/*initial*/
.content-caption {
	opacity: 0;
	transform: translateY(17px);
	transition: all 1.2s ease-out;
}
/*visible when in view*/
.content-caption.visible {
	opacity: 1;
	transform: translateY(0);
}


/*mobile styles*/
@media (max-width: 768px) {
*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
}
	.responsive-table{
		height: 165px;
	}
	.nav-cell .nav-container {
		position: relative;
		z-index: 9000;
	}
	.nav-bar {
		display: none; /*hide normal nav bar on mobile*/
		flex-direction: column;
		width: 100%;
		position: absolute;
		right:0px;
		top: 90px;
		z-index: 9500;
		background-color: black;
		opacity: 0.9;
	}
	.nav-bar li a {
		padding: 8px;
		display: block;
		font-size: 16px;
		position: relative;
		z-index: 9999;
	}
	/* unified styling for video and photo wrapper*/
	.parallax-wrapper {
		position: relative;
		overflow: hidden;	/*crop the content inside*/
		height: 40vh;		/*fixed height for viewport cropping*/
		margin: 0;			/*remove any unwanted spacing*/
		padding: 0;
}
	/*content that will scroll slower than the page*/
	.parallax-content{
		position: absolute; /*absolute so it scrolls inside container*/
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		transition: transform 0.1s ease-out;
		transform: translateY(0);
		will-change: transform;
		display: flex;
		align-items: center;
		justify-content: center;
		object-fit: cover;
		flex-wrap: wrap;
		
}
	/*make media larger than container to screate scroll depth*/
	.parallax-content video,
	.parallax-content img {
		height: 160%;		/*larger than .parallax wrapper height*/
		width: 160%;
		object-fit: cover;
		display: block;
		pointer-events: none; /*prevent interaction if not needed*/
		
}

	
	/*show menu when checkbox is checked*/
	.nav-toggle:checked + .hamburger + nav .nav-bar {
		display: flex;
	}
	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 30px;
		height: 21px;
		cursor: pointer;
		z-index: 10;
		position: absolute;
		top: 20px;
		right: 20px;
	}
	.hamburger span {
		background: #FFFFFF;
		height: 3px;
		width: 100%;
		background-color: white;
		border-radius: 2px;
		transition: all 0.3s ease;
	}
	
		
	/*animate to x when checked*/	
	.nav-toggle:checked + .hamburger span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px)
	}
	.nav-toggle:checked + .hamburger span:nth-child(2){
		opacity: 0;
	}
	.nav-toggle:checked + .hamburger span:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
	}
	.logo-container {
		position: relative;
		height: 200px;
		width: 80%;
		background-color: transparent;
		overflow: hidden;
      	display: flex;
      	flex-wrap: wrap;
	}
	.logo-container video {
		position: absolute;
		top:0;
		left: 0;
		width: 80%;
		height: 80%;
		object-fit: contain;
		z-index: 2; /*ON TOP of title*/
		transition: opacity 0.5s ease-in-out;
		opacity: 1;/**/
	}
	.title {
		position: absolute;
		top: 0;
		left: 0;
      	margin-top: 75px;
      	margin-left: 25%;
		z-index: 1;/*UNDER the video*/
		text-align: center;
		opacity: 0; /*start hidden*/
		width: fit-content;
		max-width: 100%;
		overflow: hidden;
		transition: opacity 1s ease-in-out;
		pointer-events: none;
	}
	.title h1 {
		white-space: nowrap;
		color: white;
		opacity: 1;
		font-size: 1.8rem;
	}
	.logo-container.crossfade video {
		opacity: 0;
		pointer-events: none;
	}
	.logo-container.crossfade .title {
		opacity: 1;
	}
	.caption h2 {
		font-size: 18px;
	}
}



@media (max-width: 768px){
	

/*videography page*/
	.cells {
		flex: 1 100%;
		height: 35%;
		width: 100%;
		position: relative;
		z-index: 0;
		padding: 10px;
		box-sizing: border-box;
		
		display: flex;
		justify-content: center; 
		align-content: center;
	}
	
	.content-container{
		position: relative;
		width: 100%;
		overflow: hidden;
	}
	.content-container video {
		position: absolute;
		width: 100%;
		height: 100%;
		object-fit: cover;
		z-index: 1;
	}
	
}

@media (max-width: 501px) {
		/* unified styling for video and photo wrapper*/
	.parallax-wrapper {
		position: relative;
		overflow: hidden;	/*crop the content inside*/
		height: 28vh;		/*fixed height for viewport cropping*/
		margin: 0;			/*remove any unwanted spacing*/
		padding: 0;
}
		/*content that will scroll slower than the page*/
	.parallax-content{
		position: absolute; /*absolute so it scrolls inside container*/
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		transition: transform 0.1s ease-out;
		transform: translateY(0);
		will-change: transform;
		display: flex;
		align-items: center;
		justify-content: center;
		object-fit: cover;
}
	/*make media larger than container to screate scroll depth*/
	.parallax-content video,
	.parallax-content img {
		height: 138%;		/*larger than .parallax wrapper height*/
		width: 120%;
		object-fit: cover;
		display: block;
		pointer-events: none; /*prevent interaction if not needed*/
	}
	h2 {
	font-family: 'SFMono-Medium', 'Ariel';
  }
.logo-container {
		position: relative;
		height: 200px;
		width: 80%;
		background-color: transparent;
		overflow: hidden;
	}
	.logo-container video {
		position: absolute;
		top: 0;
		left: 0;
		width: 80%;
		height: 80%;
		object-fit: contain;
		z-index: 2;
		transition: opacity 0.5s ease-in-out;
		opacity: 1;
	}
	.title {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
		text-align: center;
		opacity: 0;
		max-width: 100%;
		overflow: hidden;
		transition: opacity 1s ease-in-out;
		pointer-events: none;
		transform: translate(-10%);
	}
	.title h1 {
		white-space: nowrap;
		color: white;
		opacity: 1;
		transition: opacity 1s ease-in-out;
	}
	.logo-container.crossfade video {
		opacity: 0;
		pointer-events: none;
	}
	.logo-container.crossfade .title {
		opacity: 1;
  }
}

.page-fade-in {
  opacity: 1;
  animation: pageFadeIn 0.5s ease-in;
}
.page-fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


h2 {
	font-size: 18px;
}
.crumble-container {
	height: 600px;
	width: 870px;
	position: relative;
}
.crumble-container video {
	height: 75%;
	width: 75%;
	position: absolute;
	object-fit: cover;
	z-index: 0;
	margin-left: 90px;
	vertical-align: middle;
	margin-top: -180px;
		
}
.crumble-container {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}

.crumble-container.active {
	opacity: 1;
	transform: translateY(0);
}

.crumble {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
	
}

.crumble.active {
	opacity: 1;
	transform: translateY(0);
}

.skip-snow-container {
	height: 600px;
	width: 870px;
	position:relative;
}

.skip-snow-container video {
	height: 70%;
	width: 75%;
	position: absolute;
	object-fit: cover;
	z-index: 0;
	margin-top: -200px;
	margin-left: 90px;
	vertical-align: middle;
}
.skip-snow-container {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}
.skip-snow-container.active {
	opacity: 1;
	transform: translateY(0);
}
.skip-snow {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
	margin-top: -16px;
}

.skip-snow.active {
	opacity: 1;
	transform: translateY(0);
}

.skip-puppy-container {
	height: 600px;
	width: 870px;
	position: relative;
}

.skip-puppy-container video {
	height: 70%;
	width: 75%;
	position: absolute;
	object-fit: cover;
	z-index: 0;
	margin-top: -180px;
	margin-left: 90px;
}
.skip-puppy-container {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}
.skip-puppy-container.active {
	opacity: 1;
	transform: translateY(0);
}

.skip-puppy {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}

.skip-puppy.active {
	opacity: 1;
	transform: translateY(0);
}
.vhs-christmas-container {
	height: 600px;
	width: 870px;
	position: relative;
}

.vhs-christmas-container video {
	height: 75%;
	width: 75%;
	position: absolute;
	object-fit: cover;
	z-index: 0;
	margin-top: -190px;
	margin-left: 90px;
}
.vhs-christmas-container {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}
.vhs-christmas-container.active {
	opacity: 1;
	transform: translateY(0);
}

.vhs-christmas {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}

.vhs-christmas.active {
	opacity: 1;
	transform: translateY(0);
}

td {
	z-index: -1px
}

.rolloverbutton {
	height:91px;
	width:683px;
	position: relative;
	z-index: -1px;
}

.rolloverbutton a img{
	height: 100%;
	width: 10%;
	position: absolute;
	object-fit: cover;
	z-index: 0;
	margin-top: 10px;
	margin-left: 80px;
}
.digicam-autumn-container {
	height: 600px;
	width: 870px;
	position: relative;
}

.digicam-autumn-container video {
	height: 75%;
	width: 75%;
	position: absolute;
	object-fit: cover;
	z-index: 0;
	margin-top: -180px;
	margin-left: 90px;
}
.digicam-autumn-container {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}
.digicam-autumn-container.active {
	opacity: 1;
	transform: translateY(0);
}

.digicam-autumn {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}

.digicam-autumn.active {
	opacity: 1;
	transform: translateY(0);
}
.calm-sea-container {
	height: 600px;
	width: 870px;
	position:relative;
}
.calm-sea-container video {
	height: 75%;
	width: 75%;
	position:absolute;
	object-fit: cover;
	z-index: 0;
	margin-top: -180px;
	margin-left: 90px;
}
.calm-sea-container {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}
.calm-sea-container.active {
	opacity: 1;
	transform: translateY(0);
}

.calm-sea {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}

.calm-sea.active {
	opacity: 1;
	transform: translateY(0);
}
tbody {
	z-index: -2px;
}





/* Photography page*/
.photog-toptable {
	height: 150px;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	position: relative;
}
.photog-toptable img {
	position: absolute;
	height: 50%;
	left: 25px;
	top: 25px;
	z-index: 2;
}
.photog-toptable img:hover {
	height: 60%;
}
.slideshow {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
}
.slideshow .slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	z-index: 1;
}
.slideshow .slide.active {
	opacity: 1;
	z-index: 2;
}
#popup-gallery {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(50,50,50,0.80);
}
#popup-gallery {
	opacity: 0;
	transition: opacity 0.3s ease;
}
#popup-gallery.show {
	display: flex;
	opacity: 1;
}
#portrait-gallery {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(50,50,50,0.80);
}
#portrait-gallery {
	opacity: 0;
	transition: opacity 0.3s ease;
}
#portrait-gallery.show{
	display: flex;
	opacity: 1;
}
#dusk-gallery {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(50,50,50,0.80);
}
#dusk-gallery {
	opacity: 0;
	transition: opacity 0.3s ease;
}
#dusk-gallery.show {
	display: flex;
	opacity: 1;
}
#reflections-gallery {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(50,50,50,0.80)
}
#reflections-gallery{
	opacity: 0;
	transition: opacity 0.3s ease;
}
#reflections-gallery.show {
	display: flex;
	opacity: 1;
}
#filmbookone-gallery {
	position: fixed;
	top: 0;
	left:0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content:center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(50,50,50,0.80);
}
#filmbookone-gallery {
	opacity: 0;
	transition: opacity 0.3s ease;
}
#filmbookone-gallery.show {
	display: flex;
	opacity: 1;
}
#oldthings-gallery {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(50,50,50,0.80)
}
#oldthings-gallery {
	opacity: 0;
	transition: opacity 0.3s ease;
}
#oldthings-gallery.show {
	display: flex;
	opacity: 1;
}
.popup-content {
	position: relative;
	background-color: black;
	padding: 10px;
	width: 100%;
	max-width: 1000px;
	max-height: 100%;
	overflow-y: auto;
	border-radius: 12px;
	box-sizing: border-box;
	color: white;
}
.gallery-grid {
	display:contents;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 15px;
}
.gallery-grid img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
	transition: transform 0.3s ease;
}
.gallery-grid img:hover {
	transform: scale(1.05);
}
.close-btn {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 32px;
	color: white;
	cursor: pointer;
	z-index: 10;
}
.site-footer {
	text-align: center;
	background-color: #111111;
	color: #fff;
	font-size: 0.7em;
	position: relative;
	bottom: 0;
	width: 100%;
	align-items: center;
	height: 170px;
	line-height: 170px;
	display: flex;
	flex: wrap;
	align-content: center;
	justify-content: center;

}
.form-wrapper {
	justify-content: center;
	align-items: center;
	padding: none;
	display: flex;
	flex-wrap: nowrap;
	padding-bottom: 18vh;
}
.form-container {
	background: #000;
	padding: 20px 30px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	width:100%;
	max-width: 500px;
	object-fit: cover;
}
.form-container h2 {
	text-align: center;
	margin-bottom: 20px;
	color: #ffffff;
	font-size: 11px;
}
.emailwrap {
	display: flex;
	justify-content: center;
	width: 100%
}
.emailwrap h2 {
	text-align: center;
	font-style: italic;
	text-decoration: underline;
	font-size: 10px;
	
}
input, textarea {
	width: 100%;
	margin-bottom: 15px;
	padding: 12px;
	background-color: #1A1A1A;
	border: 1px solid #555;
	border-radius: 4px;
	color: #fff;
}
textarea{
	min-height: 120px;
}
input::placeholder, textarea::placeholder{
	color: #aaa;
	font-style: italic;
}
button{
	width: 18%;
	padding: 12px;
	background-color: #2C2C2C;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
	display: inline-block;
	transition: background-color 0.3s;
	justify-content: center;
}
button:hover {
	background-color: #fff;
	color: #000000;
}
#response-message {
	margin-top: 10px;
	text-align: center;
}
#popup-message {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #333;
	color: white;
	padding: 15px 25px;
	border-radius: 8px;
	display: none;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.4s ease;
}
#popup-message.show {
	display: block;
	opacity: 1;
}
@media (max-width:501px) {
	.form-wrapper {
		width: 100%;
	}
	.emailwrap {
		justify-content: center;
		width: 100%;
	}
	.emailwrap a h2 {
		text-align: center;
		font-style: italic;
		text-decoration: none;
		font-size: 8px;
		color: white;
	}
	
	input, textarea {
		width: 100%;
		margin-top: 10px;
		padding: 8px;
		background-color: #1a1a1a;
		border: 1px solid #555;
		border-radius: 2px;
		color: #fff;
	}
	textarea {
		min-height: 10vh;
	}
	input::placeholder, textarea::placeholder{
		color: #aaa;
		font-style: italic;
	}
	button{
		width: 18%;
		padding: 12px;
		background-color: #2c2c2c;
		color: #fff;
		border: none;
		border-radius: 2px;
		font-weight: bold;
		cursor: pointer;
		display: inline-block;
		transition: background-color 0.3s;
		justify-content: center;
	}
	#response-message {
		margin-top: 10px;
		text-align: center;
}
	#popup-message {
		position: fixed;
		top: 20px;
		left: 50%;
		transform: translateX(-50%);
		background-color: #333;
		color: white;
		padding: 15px 25px;
		border-radius: 8px;
		display: none;
		z-index: 9999;
		opacity: 0;
		transition: opacity 0.4s ease;
}
	#popup-message.show {
		display: block;
		opacity: 1;
	}
}
.social-icons {
	display: flex;
	justify-content: center;
	gap: 30px;
	padding: 40px 0;
	padding-top: 25vh;
}
.social-icon {
	opacity: 0;
	transform: translateX(-100px) rotate(0deg);
	transition: all 1s ease;
}
/*roll-in animation triggered*/
.social-icons.animate .social-icon {
	opacity: 1;
	transform: translateX(0) rotate(720deg);
}
/*.staggered*/
.social-icons.animate .social-icon:nth-child(1) {transition-delay: 0.1s;}
.social-icons.animate .social-icon:nth-child(2) {transition-delay: 0.3s;}
.social-icons.animate .social-icon:nth-child(3) {transition-delay: 0.5s;}
.social-icons.animate .social-icon:nth-child(4) {transition-delay: 0.7s;}

/*slideshow container*/
.icon-slideshow {
	position: relative;
	width: 48px;
	height: 48px;
}
.icon-slideshow img {
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 48px;
	opacity: 0;
	animation: fadeLoop 4s infinite;
}
.icon-slideshow img:nth-child(1) {
	animation-delay: 0s;
}
.icon-slideshow img:nth-child(2) {
	animation-delay: 2s;
}

@keyframes fadeLoop {
	0%, 100% {opacity: 1;}
	50% { opacity: 0; }
}