@charset "utf-8";


/* Nalani Nickles Project 1 - Brandon Sanderson Styles */

/* Google font 
font-family: 'Mate SC', serif;

background sand rgba(222,203,141,1.00)
orange text rgba(225,147,73,1.00)
blue header & footer rgba(26,56,112,1.00)
light blue rgba(197,231,226,1.00)
*/


/* Removing default margin & padding */
body {
	padding: 0;
	margin: 0;
	background-color: rgba(222,203,141,1.00);
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	color: rgba(26,56,112,1.00);
}

/* Styles any text needing to be bold */
.bold {
	font-weight: bold;
}

header {
    max-width: 100vw;
    margin: 0;
    top: 0;
    background-color: rgba(26,56,112,1.00);
}


/* website name */
h2 a{
    font-family: 'Mate SC', serif;
	color: rgba(225,147,73,1.00);
	text-decoration: none;
	text-shadow: -4px 3px 4px rgba(17,38,70,1.00);
}

h3 {
    font-size: 1.4em;
    text-align: center;
    margin-top: 0;
}

/* book titles */
h4 {
    margin: 0;
}
h4 a {
    text-decoration: none;
    color: rgba(26,56,112,1.00);
}

#welcome-msg {
    display: block;
    text-align: center;
    color: rgba(0,0,0,1.00);
    font-weight: bold;
    font-style: oblique;
    background: rgba(197,231,226,.48);
    border-radius: 28px;
}

#bio {
    background-color: rgba(197,231,226,.70);
    margin-top: 30px;
    color: rgba(0,0,0,1.00);
    font-size: 1.1em;
    border-radius: 8px;
}


/* Start of FORM styles */
/* Removes defaults of form */
form {
	min-width: 350px;
	margin: 0;
	padding: 0;
}
/* adds space between the form inputs */
input {
	margin-bottom: 5px;
}
form ul {
	list-style-type: none;
}
.personal {
    margin-left: -40px;
}
.personal li {
    margin-bottom: 3px;
}
.personal label {
    display: block;
    width: 135px;
    float: left;
    text-align: right;
    padding-right: 0.5em;
}
select, textarea {
    display: block;
    margin-bottom: 1em;
}
input[type="submit"] {
    padding: 10px 20px;
    margin-right: 20px;
    background-color: rgba(26,56,112,1.00);
    color: rgba(222,203,141,1.00);
    font-size: 1.2em;
    font-weight: bold;
    border: 2px solid rgba(222,203,141,1.00);
    border-radius: 10px;
}
input[type="submit"]:hover {
    background-color: rgba(255,225,165,1.00);
    color: rgba(26,56,112,1.00);
}
input[type="submit"]:active {
    background-color: rgba(255,225,165,1.00);
}
input[type="reset"] {
    padding: 10px 20px;
    background-color: rgba(25,25,25,1.00);
    color: rgba(255,240,226,1.00);
    font-size: 1.2em;
    border: 2px solid rgba(255,240,226,1.00);
    border-radius: 10px;
}
input[type="reset"]:hover {
    background-color: rgba(8,8,8,1.00);
    border: 2px solid rgba(26,56,112,1.00);
}
input[type="reset"]:active {
    background-color: rgba(8,8,8,1.00);
}
.full-form {
    border: 3px solid rgba(26,56,112,1.00);
    background-color: rgba(197,231,226,0.8);
    border-radius: 25px;
    max-width: 380px;
    margin: 280px 30px 0;
    padding: 23px;
}
/* End of FORM styles */


/* START of BOOKS styles */
.books-grid {
    display: grid;
    margin-top: 20px;
 }
.grid-item {
	justify-self: center;
	align-self: center;
	text-align: center;
 }
.grid-item a:hover {
    font-style: oblique;
    text-decoration: underline;
}
/* END of BOOKS styles */

/* START of each book styles */
.book {
	display: block;
	max-width: 28%;
	margin: 30px auto;
	-webkit-box-shadow: -3px 3px 5px rgba(33,29,15,0.70);
	box-shadow: -3px 3px 5px rgba(33,29,15,0.70);
}
.buy {
    width: 12.5em;
    margin: 20px auto;
    background-color: rgba(255,225,165,1.00);
    font-size: 1.1em;
    font-weight: bold;
    border: 3px solid rgba(26,56,112,1.00);
    border-radius: 30px;
    text-align: center;
}
.buy a {
    text-decoration: none;
    color: rgba(225,147,73,1.00);
    padding: 12px 30px;
}
.buy:hover {
    background-color: rgba(26,56,112,1.00);
}
.buy:active {
    background-color: rgba(26,56,112,1.00);
}


.social {
display: block;
position: fixed;
max-width: 50px;
margin-bottom: 5%;
padding-bottom: 3%;
padding-left: 2%;
bottom: 0; /* Added by MTGG */
}
.social-icon {
	max-width: 84%;
	padding-bottom: 8px;
}
.social-icon:hover {
    -webkit-filter: drop-shadow(0px 0px 14px rgba(222,203,141,0.70));
			 filter: drop-shadow(0px 0px 14px rgba(222,203,141,0.70));
}

/* sticky footer elements */
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.content {
  flex: 1 0 auto;
}
.footer {
  flex-shrink: 0;
}
/* end of sticky footer elements */ 
	
footer {
	width: 100vw;
	height: 40px;
	background-color: rgba(26,56,112,1.00);
	color: rgba(197,231,226,1.00);
	font-size: 0.8em;
	letter-spacing: .03em;
	padding-left: 3em;
	padding-bottom: 0.4em;
} 


	/* START of DESKTOP styles */
	/* Media query for DESKTOP targets screens with a minimum width of 1180px */
	@media only screen and (min-width: 1180px) {
	
		/* Hide the mobile and tablet classes */
		.mobile, .tablet {
			display: none;
		}

		header {
			display: flex;
			height: 65px;
		}

		/* website name */
		h2 {
			margin: 0;
			padding-left: 1.7em;
			padding-top: .5em;
		}
		
		h2 a {
			font-size: 1.3em;
			letter-spacing: 0.03em;
		}


	/* START of DESKTOP NAV styles */
		nav {
			position: absolute;
			right: 0;
			margin: 0 20px 0 0;
			padding: 5px 0;
			letter-spacing: 0.05em;
			text-align: center;
		}

		nav ul {
			display: flex; 
			flex-direction: row;
			justify-content: center;
			margin: 0px;
			padding: 0px;
			list-style-image: none;
			list-style-type: none;
		}

		nav li {
			width: 150px;
		}
		
		nav a {
			display: block;
			color: rgba(197,231,226,1.00);
			text-shadow: -4px 3px 4px rgba(17,38,70,1.00);
			font-size: 1.5em;
			text-align: center;
			padding: 14px 16px;
			text-decoration: none;
		}

		nav a:hover {
			font-weight: bold;
		}

		nav a:active {
			color: rgba(225,147,73,1.00);
		}
		
		.books-link {
			color: rgba(225,147,73,1.00);
		}
		
		.about-link {
			color: rgba(225,147,73,1.00);
		}
		
		.contact-link {
			color: rgba(225,147,73,1.00);
		}
    /* END of DESKTOP NAV styles */


    /* START of HOME background image styles */	
		#side-by-side {
			display: flex;
			flex-direction: row;
			align-items: stretch;
		}

		#homepage-author {
			max-height:90vh;
			margin: 0;
			padding: 0;
			top: 0;
			left: 0;
			z-index: -1;
		}

		#homepage-art {
			position: fixed;
			height: 100vh;
			margin: 0;
			padding: 0;
			top: 0;
			right: 0;
			z-index: -2;
		}
    /* END of HOME background image styles */
		
		
		.page-books {
			background-image: url("../images/desktop-books-left.png");
			background-attachment: fixed;
			background-size: contain;
			background-repeat: no-repeat;
			background-position: left bottom;
		}
		
		.page-about {
			background-image: url("../images/desktop-about-left.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: left top;
		}
		
		.page-contact {
			background-image: url("../images/desktop-contact-right.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: right top;
		}
        
        .books-grid {
			margin-left: 620px;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            grid-gap: 8px 3px;
         }
        .grid-item img {
            max-width: 80%;
        }
        

        .book-synopsis {
            position: absolute;
            max-width: 28%;
            right: 80px;
            top: 80px;
        }
        
        .full-form {
            margin: 300px auto 0;
        }

		#welcome-msg {
			max-width: 20%;
			margin-top: -17em;
			margin-left: auto;
			margin-right: auto;
			padding: 0.7em;
			font-size: 1.4em;
		}
		
		#bio {
			width: 42%;
			margin-left: 430px;
			padding: 2em;
		}
		
	}

	/* END of DESKTOP styles */


	/* START of TABLET styles */
	
	/* Media query for TABLET viewport targets screen size with a minimum width of 778 and a maximum width of 1179 */
	@media only screen and (min-width: 778px ) and (max-width: 1179px) {
	
		/* Hides the desktop and mobile classes in TABLET layout */
		.desktop, .mobile {
			display: none;
		}
		
		header {
            display: block;
            height: 60px;
		}
		
		.page-home {
			background-image: url("../images/mobile-home.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: right top;
		}
		
		.page-books {
			background-image: url("../images/mobile-books.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: left bottom;
		}
		
		.page-about {
			background-image: url("../images/desktop-about-left.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: left top;
		}
		
		.page-contact {
			background-image: url("../images/mobile-contact-right.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: right top;
		}
		
		/* website name */
		h2 {
			margin: 0 auto;
			padding: 0;
			text-align: center;
			padding-top: 0.5em;
		}
		
		h2 a {
			font-size: 1.2em;
			letter-spacing: 0.01em;			
		}

		
		/* START of TABLET NAV Styles */
		nav {
            position:absolute;
			z-index: 100;
			margin-top: -43px;
			padding-bottom: 8px;
		}

		#navigation:target {
			background-color:rgba(222,203,141,1.00);
			max-width: 9.5em;
		}

		#navigation:not( :target ) > a:first-of-type,
		#navigation:target > a:last-of-type {
			display: block;
		}

		#navigation > a {
			display: none;
			color: rgba(197,231,226,1.00);
			font-size: 1.5em;
			font-weight: 700;
			text-decoration: none;
			padding: 2px 0 0 20px;
			margin: 0;
		}

		#navigation:target > a {
			border: none;
			background-image: none;
		}

		#navigation ul {
			display: none;
		}

		#navigation:target ul {
			display: block;
		}

		#navigation li {
			list-style-type: none;
			padding-top: 1em;
			padding-bottom: 25px;
		}

		#navigation li a {
			font-size: 1.2em;
			font-weight: bold;
			color: rgba(26,56,112,1.00);
			text-decoration: none;
			text-align: left;
		}
        
        #navigation a:hover {
            color: rgba(225,147,73,1.00);
        }

	/* END of TABLET NAV */

		
		.mobile-homepage {
			position: fixed;
			max-height: 100vh;
			max-width: 100vw;
			margin: 0;
			padding: 0;
			right: 0;
			top: 0;
			z-index: -10;
		}
		
		#welcome-msg {
            position: absolute;
			max-width: 20%;
			margin: 32% 10%;
			padding: 0.9em;
			font-size: 1.4em;
		}
		
		#bio {
			width: 38%;
			margin-left: 400px;
			padding: 2em;
		}
        
        
        .books-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		    grid-gap: 3px 8px;
         }
        .grid-item img {
            max-width: 60%;
            margin: 0;
        }
		
        .book {
            position: absolute;
            left: 50px;
            max-width: 30%;
        }
		.book-synopsis {
            position: absolute;
            max-width: 50%;
            right: 50px;
            top: 80px;
        }
        .buy {
            position: absolute;
            bottom: 50px;
            left: 50px;
        }
        
}

	/* END of TABLET styles */

	
	/* START of MOBILE Styles */
	
	/* Media query for MOBILE targets screen size with a maximum width of 777 */
	@media only screen and (max-width: 777px) {
	
		/* Style to hide the desktop class in mobile layout */
		.desktop, .tablet {
			display: none;
		}
		
		header {
			display: block;
            height: 60px;
		}
		
		.page-home {
			background-image: url("../images/mobile-home.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: right top;
		}
		
		.page-books {
			background-image: url("../images/mobile-books.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: center bottom;
		}
		
		.page-about {
			background-image: url("../images/mobile-about.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: left top;
		}
		
		.page-contact {
			background-image: url("../images/mobile-contact-right.png");
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: right top;
		}
		
		/* website name */
		h2 {
			margin: 0 auto;
			padding: 0;
			text-align: center;
			padding-top: 0.5em;
		}
		
		h2 a {
			font-size: 1.1em;
			letter-spacing: 0.01em;
		}

		
		/* START of MOBILE NAV Styles */
		nav {
            position: absolute;
			z-index: 100;
			margin-top: -43px;
			padding-bottom: 8px;
		}

		#navigation:target {
			background-color:rgba(222,203,141,1.00);
			max-width: 9.5em;
            z-index: 100;
		}

		#navigation:not( :target ) > a:first-of-type,
		#navigation:target > a:last-of-type {
			display: block;
            z-index: 100;
		}

		#navigation > a {
			display: none;
			color: rgba(197,231,226,1.00);
			font-size: 1.5em;
			font-weight: 700;
			text-decoration: none;
			padding: 3px 0 0 20px;
			margin: 0;
		}

		#navigation:target > a {
			border: none;
			background-image: none;
		}

		#navigation ul {
			display: none;
		}

		#navigation:target ul {
			display: block;
		}

		#navigation li {
			list-style-type: none;
			padding-top: 1em;
			padding-bottom: 25px;
		}

		#navigation li a {
			font-size: 1.2em;
			font-weight: bold;
			color: rgba(26,56,112,1.00);
			text-decoration: none;
			text-align: left;
		}
        #navigation a:hover {
            color: rgba(225,147,73,1.00);
        }

	/* END of MOBILE NAV */

		
		.mobile-homepage {
			position: fixed;
			max-height: 100vh;
			max-width: 100vw;
			margin: 0;
			padding: 0;
			right: 0;
			top: 0;
			z-index: -10;
		}
		
		#welcome-msg {
			position: absolute;
			right: 0;
			max-width: 28%;
			margin-top: 15px;
			margin-right: 20px;
			padding: 0.7em;
			font-size: 0.9em;			
		}
        
		#bio {
			width: 42%;
			margin-left: 300px;
			padding: 1.7em;
		}
		
        .books-grid {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		    grid-gap: 2px 5px;
         }
        .grid-item img {
            max-width: 80%;
            margin: 0;
        }
        
        .book-synopsis {
            max-width: 80%;
            margin: 0 auto;
        }

	
	}

	/* END of MOBILE styles */

