@charset "utf-8";

/* Nalani Nickles - Project 2 - Pant Tree */

/* Google font 
font-family: 'Averia Libre', cursive;
font-family: 'Qwigley', cursive;

dark green: #114413 rgba(17,68,19,1.0)
light green: #2DB511 rgba(45,181,17,1.00)
dark brown: #402503 rgba(64,37,3,1.0)
beige: #E1CA9C rgba(225,202,156,1.0)
gold (cart): #FFCC66 rgba(255,204,102,1.0)
light blue: #9CD1FF rgba(156,209,255,1.0)

*/

body {
	margin: 0 auto;
	padding: 0;
	background-image: url("../images/leaf-background.gif");
	background-repeat: repeat;
	text-align: center;
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	color: rgba(0,0,0,1.00);
}

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


header {
	display: block;
	position: fixed;
	z-index: 200;
	margin: 0;
	padding: 0;
	background-color: rgba(17,68,19,1.0);
}

/* company logo - all viewports */
.header-logo {
	-webkit-filter: drop-shadow(0px 0px 9px rgba(204,255,153,.3));
			 filter: drop-shadow(0px 0px 9px rgba(204,255,153,.3));
}	
.header-logo:hover {
	-webkit-filter: drop-shadow(0px 0px 14px rgba(204,255,153,.3));
			 filter: drop-shadow(0px 0px 14px rgba(204,255,153,.3));
}


/* NAV - all viewports */
nav {
	font-family: 'Averia Libre', cursive;
	letter-spacing: 0.04em;
	width: 100%;
}
nav ul {
	justify-content: center;
	list-style-image: none;
	list-style-type: none;
    margin-left: 1.8em;
}
nav a {
	color:rgba(254,231,185,1.0);
	text-decoration: none;
}
nav a:active {
	color: rgba(225,147,73,1.00);
}


/* shopping cart - all viewports */
.shopping-cart:hover {
	-webkit-filter: drop-shadow(0px 0px 14px rgba(204,255,153,.3));
			 filter: drop-shadow(0px 0px 14px rgba(204,255,153,.3));
}




/* page topic - all viewports */
h3 {
	font-family: 'Qwigley', cursive;
	color: rgba(17,68,19,1.0);
	letter-spacing: 0.05em;
}

/* product name */
h4 {
    font-family: 'Averia Libre', cursive;
    margin: 0;
    padding: 0;
}
h4 a {
	color: rgba(64,37,3,1.0);
    text-decoration: none;
}
h4 a:hover {
	color: rgba(17,68,19,1.0);
    text-decoration: underline;
}

/* subhead or tagline */
h5 {
    color: rgba(64,37,3,1.0);
    font-family: 'Averia Libre', cursive;
}

/* buying option name */
h6 {
    font-family: 'Averia Libre', cursive;
    color: rgba(17,68,19,1.0);
    margin: 0;
    padding: 0;
}


/* video container */
.video {
	text-align: center;
	padding: 2%;
}

/* video */
video {
	border: 0.2em solid rgba(17,68,19,1.0);
	height: auto;
}


.character-button {
	font-family: 'Averia Libre', cursive;
	text-align: center;
	font-weight: bold;
	color:rgba(255,255,255,1.00);
	text-decoration: none;
	background-color: rgba(17,68,19,1.0);
	border-bottom-left-radius: 45px;
	border-top-right-radius: 45px;
	padding: 0.8em 1.2em;
}

.character-button:hover {
	background-color: rgba(45,181,17,1.00);
}


.product-grid {
    display: grid;
 }
.grid-item {
	justify-self: center;
	align-self: center;
	text-align: center;
 }


 .put-in-cart {
    background-color: rgba(255,204,102,1.0);
    text-decoration: none;
    color:rgba(0,0,0,1.00);
}

.put-in-cart:hover {
    background-color: rgba(45,181,17,1.00);
    color: rgba(255,255,255,1.00);
}


/* 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(17,68,19,1.0);
    color: rgba(255,204,102,1.0);
    font-size: 1.2em;
    font-weight: bold;
    border: 2px solid rgba(255,204,102,1.0);
    border-radius: 10px;
}
input[type="submit"]:hover {
    background-color: rgba(255,204,102,1.0);
    color: rgba(17,68,19,1.0);
}
input[type="submit"]:active {
    background-color: rgba(255,204,102,1.0);
}
input[type="reset"] {
    padding: 10px 20px;
    background-color: rgba(25,25,25,1.00);
    color: rgba(255,204,102,1.0);
    font-size: 1.2em;
    border: 2px solid rgba(255,204,102,1.0);
    border-radius: 10px;
}
input[type="reset"]:hover {
    background-color: rgba(64,37,3,1.0);
    border: 2px solid rgba(255,204,102,1.0);
}
input[type="reset"]:active {
    background-color: rgba(64,37,3,1.0);
}
.full-form {
    border: 3px solid rgba(17,68,19,1.0);
    background-color: rgba(197,231,226,0.8);
    border-radius: 25px;
    max-width: 380px;
    margin: 80px auto 0;
    padding: 23px;
}
/* End of FORM styles */


/* 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 {
	color:rgba(0,0,0,1.00);
	font-size: 0.8em;
	letter-spacing: .02em;
	text-align: left;
}
	
	
	/* Start of DESKTOP styles */
	/* Media query for DESKTOP and large TABLET viewport targets screens with a minimum width of 1061px */
	@media only screen and (min-width: 1061px) {

		/* Hide the mobile class */
		.mobile {
			display: none;
		}

		header {
			left: 0;
			width: 250px;
			min-height: 100vh;
			top: 0;
			border-bottom-right-radius: 120px;
			border-top-right-radius: 120px;
		}

		/* company logo */
		.header-logo {
			max-width: 84%;
			margin: 25% auto 12%;
		}

	/* START of DESKTOP NAV styles */
		nav {
			position: absolute;
			right: 5%;
		}

		nav ul {
			display: flex;
			flex-direction: column;
		}

		nav li {
			height: 5em;
			width: 10em;
		}
		
		nav a {
			display: block;
			text-shadow: -4px 3px 4px rgba(17,38,70,1.00);
			font-size: 1.7em;
			text-align: left;
			margin: .2em;		
		}
		nav a:hover {
			color: rgba(255,204,102,1.0);
			font-size: 1.75em;
		}
		
		/* END of NAV styles */
		
		.shopping-cart {
			margin-top: 17em;
		}
		
        
        section p {
            margin: 20px 300px;
            text-align: left;
        }
		
		/* page topic */
		h3 {
			text-align: left;
			margin: 30px auto 20px 300px;
			padding: 0;
			font-size: 3.4em;
		}
        
        /* product name */
        h4 {
			font-size: 1.2em;
		}
        
        /* subhead or tagline */
        h5 {
            font-size: 1.2em;
			margin: 0;
			padding: 20 auto 3;
        }
        
        /* buying option name */
        h6 {
            font-size: 1.5em;
        }

				
		/* video container */
		.video {
			margin: 8 50 20 550;
		}
		
		video {
			max-width: 54%;
		}
		
		
		.character-button {
			font-size: 1.1em;
			max-width: 14%;
			position: absolute;
			right: 50px;
			top: 212px;
		}

		.character-home {
			position: absolute;
			right: 50px;
			top: 280px;
			max-height: 100%;
		}
        
        .character-shop {
			max-height: 15%;
            position: absolute;
            top: 30px;
            right: 40px;
		}
		
		.product-grid {
			margin-left: 256px;
            grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
            grid-gap: 30px 15px;
         }
        
        .grid-item img {
            max-width: 90%;
        }
        
        /* image of product on its page */
        .product-info {
            max-width: 100%;
            float: left;
            margin-left: 254px;
            margin-right: 3px;
            padding: 3px;
            
        }
        
        /* section with 3 purchase options */
        .purchase-options {
            margin: 14px;
            padding: 2px;
        }
        
        .purchase-options p {
            margin: 10px;
        }
        
        .fruit-bearing,.sapling,.seedling {
            display: block;
            padding: 2em;
            border-top: thick dotted rgba(17,68,19,0.4);
        }
        
        /* button */
        .put-in-cart {
            margin: 1px;
            padding: 8px 24px;
            border-radius: 16px;
        }
        
        
		        
		footer {
			height: 40px;
			padding-left: 20em;
			padding-bottom: 0.7em;
		} 


	}

	/* End of DESKTOP styles */


	/* Start of MOBILE styles */
	/* Media query for MOBILE viewport (and small tablet) targets screen size with a maximum width of 1060 */
	@media only screen and (max-width: 1060px) {
	
		/* Style to hide the desktop class in mobile layout */
		.desktop {
			display: none;
		}
				
		header {
			width: 100%;
			height: 150px;
			border-bottom-right-radius: 80px;
			border-bottom-left-radius: 80px;
		}

		/* company logo */
		.header-logo {
			width: 150px;
			margin: 0 auto;
			padding: 3px 5px 2px;
		}

		

	/* START of MOBILE NAV styles */
		nav {
			display: block;
			position: absolute;
			margin: 0px auto;
		}

		nav ul {
			display: flex;
			width: 100%;
			padding: 0;
            margin: 0 auto;
		}

		nav li {
			height: 3em;
			width: 7em;
		}
		
		nav a {
			display: block;
			text-shadow: -3px 2px 3px rgba(17,38,70,1.00);
			font-size: 1.3em;
			text-align: center;
			margin: .2em;
		}
		
		nav a:hover {
			color: rgba(255,204,102,1.0);
			font-size: 1.4em;
		}

		/* END of MOBILE NAV styles */
		
		
		.shopping-cart {
			width: 60px;
			position: absolute;
			right: 60px;
			margin-top: 20px;
		}
		
		
		article {
			margin-top: 70px;
		}
        
        section p {
            margin: 0 20px;
            text-align: left;
        }
		
		/* page topic */
		h3 {
			text-align: center;
			margin-top: 150px;
            margin-bottom: 8px;
			padding: 3px 5px;
			font-size: 2.7em;
		}
        
        /* product name */
        h4 {
			font-size: 1.2em;
            padding: 0 0 8 0;
		}
        
        /* subhead or tagline */
        h5 {
            font-size: 1.2em;
            margin-top: 0px;
			padding: 0;
        }
        
        h6 {
            font-size: 1.3em;
            margin: 5px auto;
        }

				
		/* video container */
		.video {
			margin: -20px auto 2px;
		}

		/* video */
		video {
			max-width: 84%;
		}
		
		
		.character-button {
			font-size: 1.4em;
			max-width: 60%;
			position: absolute;
		}
		
		.character-home {
			margin-left: 230px;
		}
        
        .character-shop {
			max-height: 16%;
            position: absolute;
            top: 180px;
            right: 20px;
		}
        
        
        .product-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		    grid-gap: 5px 15px;
         }
        
        .grid-item img {
            max-width: 60%;
            margin: 0;
        }
        
        
        .product-info {
            max-height: 500px;
        }
        
        .purchase-options {
            margin: 0;
        }
        
        .fruit-bearing,.sapling,.seedling {
            display: block;
            padding-top: 10px;
            padding-bottom: 24px;
            border-bottom: thick dotted rgba(17,68,19,0.4);
        }
        
        /* button */
        .put-in-cart {
            margin: 1px;
            padding: 8px 26px;
            border-radius: 14px;
        }


		
		footer {
			height: 30px;
			margin: 2px 30px 18px;
        } 


}


