/* Created by http://freehtml5templates.com */

body {
	background: url(../img/fire-bg.jpg);
	background-size: cover;
	background-repeat: none;
	background-position: bottom;
	background-attachment: fixed;
}

/* layout */

.wrapper {
	width: 60%;
	margin: 0 auto;
	margin-top: 5px;
	margin-bottom: 5px;
}

nav {
	line-height: 70px;
}

nav a {
	color: #f9f1e6;
	font-weight: 400;
}

header,
main,
footer {
	display: flex;
	flex-wrap: wrap;
}

header {
	padding: 40px;
	flex-direction: column;
	text-align: center;
}

main {
	justify-content: space-around;
	padding: 20px;
	background-color: rgba(0, 0, 0, 0.6);
	line-height: 1.5;
}

.image-container {
	width: 100%;
}

.content {
	width: 75%;
	padding: 20px 0;
}

.sidebar1 {
	width: 25%;
	padding: 20px 0;
}

/* basics */

h1,
h2,
h3,
h4 {
	color: #f9f1e6;
	font-family: 'Josefin Slab', serif;
}

p {
	color: #130101;
}

h1 {
	margin: 20px 0;
}

article p {
	margin-bottom: 18px;
}

/* nav */

nav .menu {
	font-size: 16px;
	font-weight: bold;
}

nav .menu ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

nav .menu a {
	display: block;
	margin-right: 10px;
	padding: 0px 15px;
	font-family: 'Josefin Slab', serif;
}

nav .menu a:hover {
	color: #ecd4b2;
}

/** HEADER */

header {
	justify-content: flex-start;
}

header h1 {
	font-size: 60px;
}

header h1 a {
	color: #f9f1e6;
	font-family: 'Bebas Neue', cursive;
	font-size: 100px;
}

header h1 a:hover {
	color: #ecd4b2;
}

header h2 {
	font-size: 24px;
	color: #f9f1e6;
}

/** ARTICLES **/

.image-container {
	width: 100%;
	text-align: center;
}

article:not(:first-of-type) {
	margin-top: 50px;
}

article img {
	margin-bottom: 24px;
}

article h2 a {
	font-size: 36px;
	color: #eee2b8;
}

.content p,
label {
	margin-bottom: 24px;
	color: #f5f1e3;
	font-family: 'Open Sans', sans-serif;
}

.content h2 {
	font-size: 36px;
	color: #eee2b8;
	margin: 0 0 20px 0;
}

.content h3 {
	font-size: 24px;
	color: #eee2b8;
	margin: 0 0 20px 0;
}

.quote {
	width: 70%;
	text-align: center;
	margin: 0 auto;
}

.quote p:first-of-type {
	font-size: 24px;
	font-style: italic;
}

/* sidebar and footer widget blocks */

.asidebox {
	width: 80%;
	border: 3px solid #eee2b8;
	border-radius: 8px;
	margin-bottom: 30px;
	padding: 10px;
}

.asidebox a {
	color: #f5f1e3;
	font-family: 'Open Sans', sans-serif;
}

.asidebox h3,
article h3 {
	font-size: 24px;
	color: #eee2b8;
}

.asidebox li {
	margin-bottom: 10px;
}

.asidebox img {
	display: block;
	margin: 0 auto;
}

/**ADS**/

.ads {
	text-align: center;
	margin-top: 50px;
}

/**BUTTON**/
.button,
.ingredButton {
	background-color: #ff5733;
	border-radius: 5px;
	width: 30%;
	text-align: center;
	margin: 0 auto;
}

div.sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	margin: 10px;
	display: flex;
	justify-content: flex-end;
}

.stickyButton {
	background-color: #ff5733;
	border-radius: 5px;
	width: 200px;
	border: none;
}

.ingredButton:hover {
	cursor: pointer;
}

.ingredient {
	text-align: center;
	padding: 10px;
}

.stickyButton a {
	color: black;
	font-family: 'Open Sans', sans-serif;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.button a,
.ingredButton {
	color: black;
	font-family: 'Open Sans', sans-serif;
	padding: 10px;
	display: block;
}

.button:hover,
.ingredButton:hover,
.stickyButton:hover {
	background-color: #e54826;
}

svg {
	height: 30px;
	margin-right: 10px;
}

.banner {
	max-width: 728px;
}

.square-banner {
	max-width: 250px;
}

/** GALLERY **/

.gallery {
	width: 100%;
	display: flex;
	gap: 1rem;
	padding-top: 2rem;
	justify-content: center;
}

/** LOGIN **/
.loginForm {
	width: 100%;
}

.loginForm div {
	width: 100%;
	display: flex;
	flex-direction: column;
}

input,
button[type='submit'] {
	text-decoration: none;
	border: none;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 20px;
}

.acct a {
	text-align: center;
	color: #e54826;
}

label {
	margin-bottom: 10px;
}

footer {
	padding: 20px 0;
	justify-content: space-around;
	line-height: 1.5;
}

.footer-segment {
	width: 20%;
}

footer h4 {
	color: #777;
	font-size: 16px;
	color: #f5f1e3;
}

footer a:link,
footer a:visited {
	color: #577695;
	color: #f5f1e3;
}

footer a:hover {
	text-decoration: underline;
}

footer p {
	width: 100%;
	color: #333;
	text-align: center;
	margin: 20px 0;
}

@media only screen and (max-device-width: 700px) {
	.wrapper {
		width: 100%;
	}

	.gallery {
		display: block;
	}

	.sidebar1 {
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 100%;
		order: 2;
		border: 3px solid #eee2b8;
	}

	.asidebox {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
		border: none;
	}

	.asidebox h3 {
		font-size: 50px;
	}

	.menu a,
	header h2 {
		font-size: 50px;
	}

	.content {
		order: 1;
		width: 100%;
	}

	footer {
		flex-direction: column;
		padding: 20px;
	}

	.footer-segment {
		margin-bottom: 20px;
	}
}
