/* abril-fatface-regular - latin */
@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/abril-fatface-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Abril Fatface'), local('AbrilFatface-Regular'),
       url('./fonts/abril-fatface-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/abril-fatface-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/abril-fatface-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/abril-fatface-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/abril-fatface-v11-latin-regular.svg#AbrilFatface') format('svg'); /* Legacy iOS */
}

/* fjalla-one-regular - latin */
@font-face {
  font-family: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/fjalla-one-v7-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Fjalla One'), local('FjallaOne-Regular'),
       url('./fonts/fjalla-one-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/fjalla-one-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/fjalla-one-v7-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/fjalla-one-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/fjalla-one-v7-latin-regular.svg#FjallaOne') format('svg'); /* Legacy iOS */
}

/* playfair-display-900 - latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  src: url('./fonts/playfair-display-v20-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/playfair-display-v20-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/playfair-display-v20-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/playfair-display-v20-latin-900.woff') format('woff'), /* Modern Browsers */
       url('./fonts/playfair-display-v20-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/playfair-display-v20-latin-900.svg#PlayfairDisplay') format('svg'); /* Legacy iOS */
}

/* rubik-700 - latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/rubik-v9-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Rubik Bold'), local('Rubik-Bold'),
       url('./fonts/rubik-v9-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/rubik-v9-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/rubik-v9-latin-700.woff') format('woff'), /* Modern Browsers */
       url('./fonts/rubik-v9-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/rubik-v9-latin-700.svg#Rubik') format('svg'); /* Legacy iOS */
}

body {
	background-color: #141313;
}

.home-background {
	background-image: url('./img/background.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 40% 40%;
}

a, p, h3 {
	color: white;
}

/*__________NAVBAR__________*/

.main-nav {
	display: flex;
	list-style: none;
	background-color: black;
}

.title {
	font-family: Fjalla One;
	font-size: 3em;
	color: white;
	text-transform: uppercase;
	margin-left: 1em;
}

.link-align {
	font-family: 'Rubik';
	font-size: 2em;
	padding-top: 0.52em;
	padding-left: 3em;
}

.push {
	margin-left: auto;
}

.icon-align {
	padding-top: 1.3em;
}

.amazon-align {
	padding-left: 3em;
}

.bookbub-align {
	padding-top: 1.5em;
	padding-left: 3em;
	padding-right: 3em;
	height: 3em;
}

.link {
	transition: 0.3s;
}

.link-transition:hover {
	color: gray;
	transition: 0.3s;
	text-decoration: none;
}

.facebook-link:hover {
	transition: 0.3s;
}

.amazon-link:hover {
	color: gold;
	transition: 0.3s;
}

.bookbub-link:hover {
	filter: brightness(50%);
	transition: 0.3s;
}

.navbar-toggle {
	display: none;
	color: white;
}

#chkToggle {
	display: none;
}

/*__________HOME__________*/

.jumbotron {
	width: 20em;
	box-shadow: 0.2em 0.2em 1em #000000;
}

.jumbotron-align {
	margin-left: 65%;
	margin-top: 9%;
	margin-bottom: 15%;
	/*margin-top: 15%;
	margin-bottom: 15%;*/
}

.center {
	text-align: center;
}

.lead {
	color: black;
}

.italic {
	font-style: italic;
}

.bold {
	font-weight: bold;
}

.btn {
	background-color: black;
	border-color: white;
	transition: 0.3s;
}

.btn:hover {
	background-color: #302F2F;
	border-color: white;
	transition: 0.3s;
}

/*.btn:active {
	background-color: #302F2F;
	border-color: white;
}*/

/*__________BOOKS__________*/

.book-flex {
	display: flex;
	justify-content: center;
	align-items: center;
}

.series-heading {
	font-family: 'Rubik';
	margin-top: 2em;
	text-align: center;
	color: white;
}

.book-align {
	text-align: center;
}

.book-cover {
	margin-top: 5em;
	width: 80%;
	height: 80%;
	border-radius: 0.5em;
	box-shadow: 0.2em 0.2em 1em #000000;
	transition: all .5s;
}

.book-cover:hover {
	transform: scale(1.05);
}

.review-heading {
	font-family: 'Rubik';
	margin-top: 5em;
	margin-bottom: 1em;
	text-align: center;
	color: white;
}

.quote-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 7em;
	margin-top: 3em;
}

.quote-box {
	text-align: center;
	width: 15em;
	margin: 5em;
	margin-bottom: 0em;
	margin-top: 3em;
}

.synopsis {
	color: white;
	font-family: 'Rubik';
	text-align: center;
	margin-left: 8em;
	margin-right: 8em;
	margin-bottom: 3em;
	margin-top: 2em;
}

.jumbotron-flex {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 2em;
}

/*__________ABOUT__________*/

.flex {
	display: flex;
	justify-content: center;
	align-items: center;
}

.portrait {
	width: 25%;
	height: 25%;
	margin-left: 15em;
	border-radius: 1em;
}

.about-text {
	color: white;
	font-family: 'Rubik';
	font-size: 1.4em;
	margin: 1em;
	padding: 5em;
}

.email-heading {
	font-family: 'Rubik';
	margin-top: 1em;
	text-align: center;
	color: white;
}

.email-flex {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 2em;
	margin-bottom: 3em;
}

.form {
	width: 40em;
	padding: 2em;
}

.form-textbox {
	background-color: black;
	color: white;
}

.form-textbox:focus {
	background-color: black;
	color: white;
}

.form-submit-btn {
	margin-top: 1em;
}

/*__________PRIVACY POLICY__________*/

.privacy-flex {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.privacy-header {
	font-family: 'Rubik';
	font-size: 3em;
	text-align: center;
	width: 60%;
	margin-top: 1em;
}

.privacy-paragraph {
	font-family: 'Rubik';
	text-align: center;
	width: 60%;
	margin-top: 1em;
}

/*__________TERMS AND CONDITIONS__________*/

.terms-flex {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.terms-header {
	font-family: 'Rubik';
	font-size: 3em;
	text-align: center;
	width: 60%;
	margin-top: 1em;
}

.terms-paragraph {
	font-family: 'Rubik';
	font-size: 1.5em;
	text-align: center;
	width: 50%;
	margin-top: 1em;
}

.terms-footer {
	background-color: black;
	height: 5em;
	font-family: 'Rubik';
	position: fixed;
	bottom: 0;
	width: 100%;
}

/*__________FOOTER__________*/

.footer {
	background-color: black;
	height: 5em;
	font-family: 'Rubik';
}

.footer-flex {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.footer-link {
	color: #212528;
	font-size: 0.9em;
	transition: 0.3s;
}

.footer-link:hover {
	text-decoration: none;
	color: gray;
	transition: 0.3s;
}

.webmaster-link {
	color: #212528;
	transition: 0.3s;
}

.webmaster-link:hover {
	text-decoration: none;
	color: gray;
	transition: 0.3s;
}

/***********MEDIA QUERIES***********/

/*_____Mobile_____*/
@media only screen and (max-device-width: 420px) and (min-device-width: 320px) {
	

	/*----------HOME, NAVBAR, JUMBOTRON, FOOTER----------*/

	body {
		height: 100vh;
	}

	.home-background {
		background-image: url('./img/mobile-background.jpg');
		background-size: cover;
		background-repeat: no-repeat;
	}

	.main-nav {
		justify-content: space-between;
		align-items: center;
		flex-direction: column;
	}

	.title {
		font-size: 5em;
		margin-left: 0em;
	}

	.navbar-toggle {
		display: block;
		position: absolute;
		top: 1em;
		right: 3em;
	}

	.link-align {
		padding-left: 0em;
	}

	.push {
		margin-left: 0em;
	}

	.amazon-align {
		padding-left: 0em;
	}

	.bookbub-align {
		margin-bottom: 2em;
	}

	.mobile-collapse {
		display: none;
	}

	#chkToggle:checked ~ * .mobile-collapse {
		display: block;
	}

	.jumbotron {
		width: 50em;
	}

	.jumbotron-align {
		margin-left: 10%;
		margin-top: 40%;
		margin-bottom: 15%;
	}

	.lead {
		font-size: 3em;
	}

	.btn {
		font-size: 3em;
	}

	.footer {
		height: 6%;
		position: fixed;
		bottom: 0;
		width: 100%;
	}

	/*----------BOOKS----------*/

	.series-heading {
		font-size: 5em;
	}

	.book-flex {
		flex-wrap: wrap;
	}

	.review-heading {
		font-size: 4em;
	}

	.quote-box {
		font-size: 3em;
	}

	.synopsis {
		font-size: 3em;
		margin: 0 auto;
		padding: 2em;
	}

	/*----------ABOUT----------*/

	.flex {
		flex-wrap: wrap;
	}

	.portrait {
		margin-left: 0em;
		width: 50%;
		height: 50%;
	}

	.about-text {
		font-size: 3em;
		margin: 0em;
		padding: 1em;
	}

	.email-heading {
		font-size: 4em;
	}

	.form-textbox {
		font-size: 3em;
	}

	/*----------PRIVACY POLICY----------*/

	.privacy-header {
		font-size: 4em;
	}

	.privacy-paragraph {
		font-size: 3em;
		width: 80%;
		padding-bottom: 3em;
	}

	/*----------TERMS & CONDITIONS----------*/

	.terms-header {
		font-size: 4em;
	}

	.terms-paragraph {
		font-size: 3em;
		width: 80%;
	}
}

/*_____iPad_____*/
@media only screen and (max-device-width: 768px) and (min-device-width: 420px) {

}

/*_____iPhone 5/SE_____*/

@media only screen and (max-device-width: 320px) {

}

