/* Small devices (landscape phones, 576px and up) */

.frontPage {
	margin: none;
	align-content: center;
	text-align: center;
	overflow: hidden;
}

h1,
h2 {
	/* justify: center; */
	font-family: "Alegreya Sans SC";
	color: rgb(255, 255, 255);
	text-shadow: 50px 10px 50px rgb(0, 153, 224);
	font-weight: 900;
	font-size: 3em;
	letter-spacing: 15px;
	z-index: 1;
}

.greeting {
	font-size: 6em;
}
.nomad {
	text-shadow: 5px 5px 50px navy;
	text-shadow: 30px 5px 5px 50px black;
	color: white;
	font-size: 6em;
}

#header2 {
	justify-items: center;
	height: 300px;
	/* background-position: center; */
	opacity: 0.5;
	background-image: url("../images/nomadhero.jpg");
	background-size: 100%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	/* height: 100%; */
	position: relative;
}

#header1 {
	justify-items: center;
	/* height: 500px; */
	/* opacity: 0.5; */
	background-image: url("../images/nomadhero.jpg");
	/* background-size: 100%; */
	background-repeat: no-repeat;
	background-attachment: fixed;
	/* height: 100%; */
	position: relative;
	z-index: 0;
}

.jumbotron1 {
	justify-content: center;
	position: absolute;
	height: 100%;
	width: 100%;
	/* opacity: 0.1; */
	/* background-color: transparent; */
	background-color: rgba(0, 0, 200, 0.109);
	vertical-align: center;
	z-index: -1;
}

.heady,
.heady-home {
	display: flex;
	justify: center;
	flex-direction: column;
	align-items: center;
	width: 100%;
	/* height: 100%; */
	/* z-index: 1; */
}

.form-group,
.card label {
	/* line-height: 1; */
	font-size: 1.5em;
	font-family: "alegreya sans";
}

.card-header {
	font-family: "alegreya sans SC";
	font-size: 2em;
}

/* Turn the links purple when clicked */
a:link {
	text-decoration: none;
}

a:visited {
	color: darkmagenta;
}

.scrollStyle {
	max-height: 905px;
	overflow-y: scroll;
}

/* squeezing in the form and results */
.container {
	width: 80%;
}

.modal {
	overflow: auto;
}

.close-modal {
	top: -3.5px!important;
    right: -3.5px!important;
}

/* ________FOR SURE FRONT PAGE STUFF. ABOVE NEEDS SESSING OUT________ */

.frontvid-container2 {
	position: absolute;
	display: flex;
	flex-direction: column;
	text-align: center;
	/* padding-top: 100px; */
	/* left: 40%; */
}

.frontvid-button {
	/* z-index: 1; */
	display: inline-block;
	text-align: center;
	/* position: absolute; */
	font-family: "alegreya sans SC";
	font-size: 2em;
	text-shadow: 0px 1px 10px white;
	border: none;
	background-color: transparent;
}

.buttonWrapper {
	background: transparent;
	text-align: center;
}

.get-started {
	border: 2px solid black;
	/* border-radius: 30px; */
	height: 80px;
	width: 180px;
	/* box-shadow: 0px 0px 1px 1px white; */
	/* width: 0px; */
	text-align: center;
	/* height: 0px; */
}

.frontvid {
	position: absolute;
	top: 0px;
	text-align: center;
	left: 0px;
	right: 0px;
}

.frontvid-container1 {
	/* display: flex;
	flex-direction: column; */
	height: 110%;
	width: 100%;
	max-width: 100%;
	justify: center;
}

#vid-itself {
	height: 100%;
	min-width: 100%;
	max-width: 160%;
}

/* ________SET FOR PHONE-FIRST CONVERSION ________ */
@media screen and (min-width: 994px) {
	#header1,
	.heady,
	#headerOverlay,
	.jumbotron1 {
		display: none;
	}
}

/* ________TABLET________ */
@media only screen and (max-width: 994px) {
	.frontvid {
		/* height: 140%; */
		min-width: 100%;
		/* display: inline-block; */
		position: relative;
		align-self: center;
		top: 0;
	}
	/* #firebaseui-auth-container {
		margin-top: 250px;
	} */

	#vidOverlay,
	.frontvid,
	.overlay {
		display: none;
	}
}

/* ________PHONE-SCREEN -- CHANGE SO THIS IS DEFAULT AND DESKTOP IS QUERRIED________ */
@media only screen and (max-width: 748px) {
	#vidOverlay,
	.frontvid {
		display: none;
	}
}

/* ________OVERLAYS________ */
.overlay {
	min-height: 100%;
	max-height: 100%;
	min-width: 100%;
	max-width: 100%;
	position: absolute;
}

#headerOverlay,
#headerOverlay-home {
	background-color: rgba(19, 19, 95, 0.438);
}

/* possibly change color */
#vidOverlay {
	background-color: rgba(224, 224, 224, 0.459);
}

#firebaseui-auth-container {
	/* position: absolute; */
	/* padding: 400px; */
	margin-top: 450px;
	align: center;
	margin-left: 25%;
	margin-right: 25%;
}

.firebaseui-idp-list > li,
.firebaseui-card-footer {
	/* #firebaseui-auth-container { */
	/* visibility: none; */
	/* opacity: 0; */
	margin-top: 30px;
	-webkit-transition: height auto 4s, opacity 1, visibility visible,
		padding-top 50px;
	transition-duration: 3s;
	transition-timing-function: ease;
}

.firebaseui-idp-list > li.reveal,
.firebaseui-card-footer.reveal {
	/* #firebaseui-auth-container { */
	height: auto;
	opacity: 1;
	visibility: visible;
	margin-top: 450px;
	padding-top: 50px;
}

/* ________Saving this for the Nomad animation whereby it swoops in as "Now" but the w flips as the "a" and "d" are added_________ */
/* @keyframe revealSignIn {

} */
/* } */
