/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic (CALLED IN ANOTHER FILE)
	- Normalize
	- Box sizing
	- Media width
# Base
	- Typography
	- Elements
	- Links
# Layouts
# Components
	- Header
	- Main
	- Footer
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

h1 {
	line-height: 4rem;
}


/* Elements
--------------------------------------------- */

/* Links
--------------------------------------------- */


/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/



/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
.hero-container {
	height: 100vh;
	display: flex;
	flex-direction: column;
}

.hero-container h2 {
	font-family: 'sacramento';
	font-weight: normal;
	margin: 0 0 5rem 0;
	font-size: 5rem;
	color: #fffcf9;
	text-shadow: 1px 1px 1px #013567;
}

#hero {
	display: flex;
	flex-grow: 1;
	justify-content: center;
	align-items: center;
}

#hero video{
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -100;
	object-fit: cover;
}

@media screen and (min-width: 50rem)  {
	.hero-container h2 {
		font-size: 10rem;
	}
}


/* Main
--------------------------------------------- */
.home-main {
	background-color: #fffcf9;
	padding: 3rem 1rem;
}

.home-main section {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.home-img {
	position: relative;
}

.home-img img {
	height: 20rem;
	margin: 1rem;
	border-radius: 20px;
}

.home-img a {
	display: block;
}

.home-img:hover h2 {
	display: none;
}

.home-img h2 {
	display: initial;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 0;
	transform: translate(-50%, -50%);
	font-size: 3rem;
	font-family: 'montserrat', 'arial';
	font-weight: normal;
	color: #2e3544;
}

.home-img img {
	opacity: 50%;
}

.home-img:hover img {
	opacity: 100%;
}

figure {
	text-align: center;
	margin: 0 0 2rem 0;
}


/* Footer
--------------------------------------------- */

footer {
	margin-top: 0;
}