@charset "utf-8";
/* CSS Document */

html, body {
    max-width:1600px;
    overflow-x:hidden;
    margin:0;
    font-family: 'Spartan', sans-serif;
}

html {
    margin:auto;
}

body {
    position: relative;
}

h1, h2, a {
    font-family:'Gloria Hallelujah', serif;
}

h1 {
    font-size:3vw;
    font-weight:normal;
    margin:2.5% 0;
    line-height:5vw;
}

h2 {
    font-size:2.5vw;
}

h3 {
    color:#1B4079;
    font-size:2.25vw;
    margin:1% 2.5% 0;
}

h4 {
    font-size:13.5px;
    margin:0;
}

p, .footer-nav a {
    font-size:1.5vw;
}

header h3 {
    text-align:right;
}

/* start navigation */
#toggleNav {
	display: none;
	/*background:#bf2036;*/
	width: 0%;
	height: 0%;
}

#toggleNav a{
	color:black;
	font-size:20px;
}

#toggleNav img {
    width:25px;
    height:25px;
    background:white;
    padding:15px;
    border-radius:20px;
}

#nav{
	max-width:1600px;
	z-index:10;
	float:right;
	font-size:15px;
	height:100%;
}

#nav > a{
	display: none;
}

#nav li{
	position: relative;
	list-style-position:inside;
	list-style-type:none;
}
#nav li a{
    /*color:black;*/
	/*display: block;*/
	text-decoration:none;
}

/* first level */

#nav > ul{
}
#nav > ul > li{
	padding:4px 8px;
	height: 100%;
	display:inline-block;
}
#nav > ul > li > a{
	/*height: 100%;*/
	text-align: center;
}
#nav > ul > li:not( :last-child ) > a{
	
}

#nav > ul > li:hover > a,
#nav > ul:not( :hover ) > li.active > a{
	
}

	/* second level */

#nav li ul{
	background-color:#ccc;
	display: none;
	position: absolute;
	top: 100%;
	margin-left:0 !important;
	padding-left:0 !important;
	width:170px;
	text-align:left;
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
}
#nav li:hover ul{
	display: block;
	left: 0;
	right: 0;
}
#nav li:not( :first-child ):hover ul{
	left: -1px;
}
#nav li ul a{
	color:#000;
	padding: 0.75em; /* 15 (20) */
}
/* end navigation */

.banner {
    width:100%;
    position:relative;
    height:42.5vw;
    background-size:100%;
    background-repeat:no-repeat;
    background-image:url('../images/hero-1.jpg');
    margin-top:5%;
}

.banner > div {
    margin-left:5%;
}

.banner div a {
    text-decoration:none;
}

.banner h1 {
    margin:0;
}

.button {
    padding-bottom: 0.5%;
    color:white !important;
    border-radius:5vw;
    border:3px solid white;
    box-shadow:0 3px 6px #888;
    margin:0 auto;
    white-space:nowrap;
    width:12.5vw;
    height:35px;
    display:inline-flex;
    justify-content:center;
    align-content:center;
    font-size:125%;
    transition:250ms;
}

.green {
    color:#92BD26;
}

.green-button {
    background:#92BD26;
}

.brown-button {
    background:#9C774E;
}

.green-button:hover, .brown-button:hover {
    background:#FED91C;
}

.float {
    position:absolute;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    right:32%;
    bottom:18%;
    color:white;
}

.float h2 {
    margin-bottom:0;
}

main {
    padding:0 5%;
}

.grid {
    display:grid;
}

.three-column-grid {
    grid-template-columns:1fr 2fr 1fr;
    align-items:flex-end;
}

.book-grid {
    display:-ms-grid;
    display:grid;
    -ms-grid-columns:1fr 4fr;
    grid-template-columns:1fr 4fr;
}

#home {
    grid-template-areas: "max-flour main-content max-eggs";
}

.grid a {
    font-size:20px;
}

.grid img {
    width:100%;
}

.grid div {
    padding:0 2.5%;
    text-align:center;
    line-height:200%;
}

footer {
    margin-top:2.5%;
    padding:2.5%;
    background-color:#E3F5FD;
    display:flex;
    flex-direction:column;
    text-decoration:none;
}

.footer-nav {
    display:flex;
    justify-content:center;
}

.footer-nav a {
    color:#24709A;
    padding:0 3.5%;
    width:fit-content;
    font-size:17.5px;
    text-decoration:none;
}

.copyright {
    margin-top:5%;
    text-align:center;
    font-size:12.5px;
    font-family:'Spartan', sans-serif;
}

.copyright a {
    text-decoration:none;
    color:black;
    font-family:'Spartan', sans-serif;
}

.mobile-only {
    display:none;
}

.grid-two-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    justify-items:center;
}

.preview-button{
    background-color:#92BD26;
    color:#fff;
    padding:2% 6%;
    border-radius:20px;
}

.buy-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
}

.buy-grid img{
    max-width:100% !important;
    width:auto;
}

.buy-grid p{
    margin:1.8em 0;
    font-size:22px;
}

.price{
    font-size:25px;
}
.listing{
    text-align:center !important;
}

.buy-button{
    background-color:#0074d4;
    color:#fff;
    padding:3% 20%;
    border-radius:20px;
    font-family: 'Spartan', sans-serif;
    font-size:20px;
}

@media only screen and (min-width:1600px) {
    h1 {
        font-size:45px;
        line-height:65px;
    }
    
    h2 {
        font-size:40px;
    }
    
    h3 {
        font-size:35px;
    }
    
    .banner {
        height:675px;
	    background-image: url('../images/hero.jpg');
    }
    
    .button {
        width:175px;
        height:45px;
        font-size:25px;
    }
    
    .float {
        right:32.5%;
        bottom:18.5%;
    }
    
    .grid div {
        line-height:45px;
    }
    
    p, .footer-nav a {
        font-size:25px;
    }
    
    .grid a {
        font-size:35px;
    }
    
    .copyright {
        font-size:15px;
    }
}

@media only screen and (max-width:800px) {
    .mobile-only {
        display:block;
    }
    
    .desktop-only {
        display:none;
    }
    
    header {
        display:block;
        position:relative;
        text-align:left;
        margin:2.5%;
    }
    
    header h3 {
        font-size:4vw;
    }

    /* -------------------- Start Navigation -------------------- */
	#toggleNav{
		position:fixed;
		width:95%;
		height:3%;
		display:flex;
		z-index:2;
		justify-content:flex-end;
		left:2%;
		top:15px;
	}
	
	#nav{
        position: fixed;
        display:none;
        margin:auto;
        right:13.5%;
        width:60%;
        top:0;
    }
    
	#nav:not( :target ) > a:first-of-type,
	#nav:target > a:last-of-type{
		display: block;
		width:100%;
		text-align:center;
		color:#000;
		text-decoration:none;
		font-size:20px;
		padding:5px 0px;
	}
	
	#nav a{
		font-size:18px;	
	}
 
    /* first level */
 
    #nav > ul{
        position: absolute;
        left: 0;
        right: 0;
        /*height:200px;*/
		background-color:inherit;
		/*margin-top:25px !important;*/
		padding:10px;
		flex-direction:column;
		border-radius:10px;
		background:#030;
    }
    #nav > ul > p {
        display:none;
    }
	#nav:target > ul{
		display: block;
	}
	#nav > ul > li{
		width: 100%;
		float: none;
		height:initial;
		margin:0px !important;
		padding:4px 0px !important;
	}
	#nav > ul > li > a {
	    width:100%;
	    color:white;
	}
	#nav > ul > li > img {
	    display:none;
	}

    /* second level */
 
    #nav li ul{
        position: static;
		width:98%;
		margin:0 !important;
		text-align:center;
		padding:0 !important;
		flex-direction:column;
    }
	#nav li ul a{
		padding:0;
		margin:0.25em 0;
	}
	/*End Navigation*/
	
	#home {
	    grid-template-areas: "greetings"
	                         "max-flour-button"
	                         "main-content"
	                         "max-eggs";
	}
	
	.book-grid {
        -ms-grid-columns:1fr;
        grid-template-columns:1fr;
    }
	
	.two-column-grid {
	    display:grid;
	    grid-template-columns:1fr;
	    align-items:center;
	    justify-content:center;
	}
	
	.grid-two-columns{
	    -ms-grid-columns:1fr;
	    grid-template-columns:1fr;
	}
	
	.banner h1 {
	    position:absolute;
	    bottom:-22.5vw;
	    text-align:center;
	    right:29vw;
	    line-height:7.5vw;
	}
    
    .float {
        right:25%;
        bottom:10%;
    }
    
    .float h2 {
        display:none;
    }
    
    h1 {
        font-size:5vw;
        padding-bottom:2.5%;
    }
    
    h2 {
        font-size:4vw;
    }
    
    p {
        font-size:3vw;
        line-height:normal;
    }
    
    .grid {
        grid-template-columns:1fr;
        text-align:center;
    }
    
    .grid a {
        font-size:3vw;
    }
    
    .grid img {
        width:50%;
        margin:auto;
    }
    
    .green {
        font-size:4vw !important;
    }
    
    .button {
        padding-bottom:0;
        padding-top:0.5%;
        width:25vw;
        height:35px;
        text-decoration:none;
    }
    
    .mobile-only img {
        margin-top:5%;
        order:1;
    }
    
    .footer-nav {
        flex-direction:column;
        position:relative;
        width:100%;
        text-align:center;
    }
    
    .footer-nav a {
        padding:0;
        margin:auto;
        font-size:5vw;
    }
    
    .copyright {
        position:relative;
        text-align:center;
        margin-top:5%;
        right:0;
        bottom:0;
    }
}