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

body {
	background-color: #F2E8DF;
}
header {
	width: 100%;
	padding: 12px 0;
}

#header-content {
	width: 75%;
	margin: auto;
	position: relative;
}

nav {
	width: 76.0416666667%; /* 730px / 960px */
	position: absolute;
	bottom: 16px;
	right: 0;
	font-size: 25px;
} nav ul {
	display: block;
	text-align: right;
} nav li {
	display: inline;
	padding: 0 16px;
}

nav a:link {
	color: brown;
	text-decoration: none;
	font-weight: bold;
} nav a:visited {
	color: brown;
} nav a:hover {
	color: rosybrown;
	border-bottom: medium solid rosybrown;
}  nav a:active {
	color: darkblue;
}


.banner {
	background-color: #402227;
	width: 100%;
	margin: 0 auto;
    position: relative;
    text-align: center;
}


.wrapper-cookie {
	display: flex;
	width: 50%;
	margin: auto;
	padding-top: 20px;
	align-content: center;
	text-align: left;
} #cookie {
	width: 100%;
}
section {
	width: 60.41666667%; /* 580px / 960px */
    position: relative;
} section img {
	opacity: 1;
    transition: 1s ease;
} section img:hover {
	transform: scale(1.25);
}

aside {
	width: 39.5833333333%; /* 380px / 960px */
	position: relative;
} aside h1 {
    color: #522403;
	font-family: 'Jost', sans-serif;
    font-weight: 700;
	font-size: 40px;
	margin-bottom: 16px;
    text-transform: uppercase;
} aside p {
	font-size: 22px;
	line-height: 150%;
	font-family: 'Jost', sans-serif;
    font-weight: 300;
	margin-top: .625em; /* 10 / 16 */
	margin-bottom: 0;
}


#wrapper-items {
	padding: 3.75em 0; /* 60 / 16 */
	margin-top: 1.25em; /* 20 / 16 */
	background-color: #D9A689;
}
#item-content {
	width: 70%;
	margin: auto;
}
.product {
	width: 33%;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}
div.product img {
	opacity: 1;
    transition: 1s ease;
} div.product img:hover {
	transform: scale(1.25);
} #wrapper-items h2 {
	text-decoration: underline;
} #wrapper-items a {
	text-align: center;
	font-size: 2em;
} #wrapper-items a:link {
	color: #402227;
	text-decoration: none;
	font-weight: bold;
} #wrapper-items a:visited {
	color: #402227;
} #wrapper-items a:hover {
	color: #0B0F26;
	border-bottom: medium solid #0B0F26;
} #wrapper-items a:active {
	color: white;
}
.product h2 {
	padding-top: 1em;
	font-size: 1.75em;
}

#footer-content {
    display: flex;
	width: 70%;
	margin: auto;
    justify-content: space-between;
	color: #F2E8DF;
	background-color: #0B0F26;
	padding: 1em;
}

/*About*/
.wrapper-about {
	color: #F2E8DF;
	font-size: 1.5em;
	line-height: 150%;
	width: 50%;
	padding: 10px;
	background-color: #402227;
	font-family: 'Jost', sans-serif;
}
#locations {
	position: relative;
	bottom: 14em;
	left: 50%;
	padding-bottom: 5em;
}

#image-about {
	width: 100%;
	height: 600px;
	background: url("brew-devils-supplemental/images/scones.jpg");
	background-repeat: no-repeat;
	background-size: cover;
    position: relative;
	bottom: 12em;
}

#contact-info {
	text-align: center;
	background-color: #D9A689;
	line-height: 300%;
	padding: 30px 0;
} #contact-info li {
	list-style-type: none;
}

.discount-message {
       position: relative; 
       top: 15px;
       left: 2000px;
}
.message-anim {
       animation: discount-message 25s ease-out;
       animation-delay: 1s;
}
@keyframes discount-message {
       from {right: -300px;}
       to {left: -2000px;}
}




form {
	text-align: center;
	padding: 50px 0;
} table {
	margin: 0 auto;
} table td {
	padding: 10px 0;
}


@media only screen and (max-width: 1024px) {
	.wrapper-cookie {
		padding: 5em 0;
	} .wrapper-cookie section{
		position: relative;
		right: 8em;
	} .wrapper-cookie aside {
		position: relative;
		left: 8em;
	}
	
	.product {
		padding: 3.5em;
		transform: scale(.7);
	}
	
	/*About*/
	#locations {
		position: relative;
		bottom: 18em;
		padding-bottom: 6.4em;
	} #image-about {
		height: 800px;
		position: relative;
		bottom: 22em;
	}
}

@media only screen and (max-width: 480px) {
	#header-content {
		top:0;
		position: relative;
	} #header-content img {
		transform: scale(.75);
		position: relative;
		right:6em;
	}
	nav {
		position: relative;
		display:block;
		left:6em;
		bottom:6.5em;
		text-align: center;
	}
	
	.wrapper-about {
		position: relative;
		width: 100%;
	} #locations {
		position: relative;
		width: 100%;
		top:0;
		left:0;
	} #image-about {
		top:0;
		height: 250px;
	}
	
	.wrapper-cookie {
		display: block;
		text-align: center;
		width:100%;
	}
	section {
		position: relative;
		left:4em;
	} aside {
		width: 50%;
	}
	
	.product {
		position: relative;
		right:4em;
		transform: scale(1);
	} .product h2 {
		position: relative;
		left: 4.5em;
		bottom:1em;
	}
}





