/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* Body*/

body {
	background-color: rgb(249, 249, 251);
	font-family: "Open Sans", Tahoma, Geneva, sans-serif;
}

/* Nav */
#nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	background-color: #fff;
	z-index: 10;
}

.nav-scrolled {
	opacity: 0.97;
}

.nav-scrolled #logo {
	padding: 0;
}

.nav-scrolled img {
	transform: scale(0.7);
	transition: all .2s ease-in;
}

#logo {
	display: flex;
	justify-content: center;
	width: 20%;
	padding: 1.2rem 0;
	cursor: pointer;
}

#logo img {
	border-radius: 50px;
	cursor: pointer;
	transition: all .2s ease-in;
}

.nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 2.5rem;
}

.nav-links a {
	padding: 1rem;
	cursor: pointer;
}

.nav-links a:hover {
	opacity: 0.8;
	border-bottom: .1rem solid blue;
}


/* Top Header */
#header-top {
	position: relative;
	margin-top: 5rem;
	overflow: hidden;
}

#header-top img {
	width: 100%;
	max-height: 33vw;
}

.header-text-wrap {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.header-text {
	padding: 0 2rem 1rem 2rem;
	font-size: 5rem;
	color: #fff;
	border-bottom: .2rem solid #fff;
}

/* Content Main */
#content-main {
	max-width: 1200px;
	margin: 0 auto;
}


/* About */
#about {
	max-width: 900px;
	margin: 1rem auto 0 auto;
	padding: 2rem;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.5rem;
	text-align: center;
}

/* Divider */
#divider {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

#divider div {
	height: 2px;
	width: 140px;
	background-color: rgb(219, 184, 63);
}


/* Dynamically Generated Elements */
.row {
	display: grid;
}

.cols-2 {
	grid-template-columns: 1fr 1fr;
}

.cols-3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.card {
	margin: 1rem;
	padding: 2rem;
	text-align: center;
}

.card-img {
	width: 100%;
}

.card-1 .card-img {
	max-width: 33vw;
}

.card-2 .card-img {
	max-width: 18vw;
}

.card-3 .card-img {
	max-width: 16vw;
}

.card-1, 
.card-2,
.card-3 {
	font-size: 1.5rem;
}

.circle {
	border-radius: 20rem;
}

.border {
	margin: 1rem;
	box-shadow: rgb(209, 209, 213) 0px 0px 4px;
}

.card-title {
	padding: 1rem 1rem 1rem 1rem;
	text-align: center; 
	font-weight: 700;
}

.card-text {
	font-size: 1rem;
	text-align: center; 
}

.pic-half {
	padding-left: 3rem;
}

.pic-half .card-img {
	width: 100%;
}

.text-half {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 6rem;
}

.hybrid-title {
	padding: 1rem 1rem 1rem 0;
	text-align: left;
	font-weight: 700;
}

.hybrid-text {
	font-size: 1rem;
	text-align: left;
}



/* Animations */
.slideLeft,
.slideRight {
	position: relative;
	animation: slide 1s forwards;
}

.slideLeft {
	left: -9999px;
}

.slideRight {
	left: 9999px;
}

.fadeIn,
.enlarge,
.rotate {
  animation-duration: 1.5s;
  animation-fill-mode: both;
}

.fadeIn {
	animation-name: fadeIn;
}

.enlarge {
	animation-name: enlarge;
}

.rotate {
	animation-duration: 1s;
	animation-name: rotate;
}

@keyframes slide {
	100% {left: 0;}
}

@keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

@keyframes enlarge {
  0% {transform: scale(0)}
  100% {transform: scale(1);}
}

@keyframes rotate {
  0% {transform: rotate(300deg);}
  100% {transform: rotate(360deg);}
}


/* Media Queries */
@media (max-width: 800px) {
	#nav {
		justify-content: center;
	}

	.nav-links {
		display: none;
	}

	#header-top img {
		max-height: 30vh;
	}

	.header-text {
		font-size: 2.2rem
	}

	#about {
		margin-top: 0; 
		font-size: 1.1rem;
		line-height: 1.5rem;
	}

	.cols-2 {
		grid-template-columns: 1fr;
	}
	
	.cols-3 {
		grid-template-columns: 1fr;
	}

	.card-1 .card-img,
	.card-2 .card-img, 
	.card-3 .card-img {
		width: 100%;
		max-width: 50vw;
	}
	
	.card-1, .card-2 {
		font-size: 1.5rem;
	}
	
	.card-3, .card-text, .hybrid-text {
		font-size: 1rem;
	}

	.card-title {
		font-size: 1.5rem;
	}

	.text-half {
		padding-right: 0;
	}

	.hybrid-title, .hybrid-text {
		padding: 1rem;
		text-align: center;
	}

	.hybrid-title {
		padding-top: 0;
	}

}