html {
    box-sizing: border-box;
    font-size: 62.5%;
}

body {
    font-family: "Libre Franklin", Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.flex {
	display: flex;
}

.flex-col {
	display: flex;
	flex-direction: column;
}

.flex-row {
	display: flex;
	flex-direction: row;
}

/* Header */
header section {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1020px;
	margin: 0 auto;
	padding: 1rem;
}

header section.site-id {
	padding-bottom: 2.4rem;
}

header section.header-banner {
	display: flex;
	max-width: 1020px;
	margin: 0 auto;
	flex-direction: column;
	padding: 0;
	margin-bottom: 7.2rem;
}

.banner-para,
div.article-one {
	padding: 1rem;
}

.banner-para,
.banner-para p {
	padding-bottom: 2.4rem;
}

header section a img {
	width: 7rem;
	height: 7rem;
	border-radius: 100px;
}

header>div {
    background: url(/img/hero-banner-sweet-potato-1467.webp) center / cover no-repeat;
    display: flex;
    justify-content: center;
    height: 90vh;
}

.header-banner {
	padding-bottom: 1rem;
}

.header-banner div,
.article-one div {
	flex: 1 1 auto;
}

.header-banner img,
.article-one img {
	flex: 0 1 auto;
}

.squiggle-line {
	padding-bottom: 2.4rem;
}

/* Header Typography */
h2 {
	font-family: "Domine", serif;
	font-size: 2.986rem;
	padding-bottom: 1.6rem;
}

/* Navigation Styles */
.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #694646;
    overflow-x: hidden;
    transition: 0s;
    padding-top: 3.4rem;
}

.open-side-nav {
	width: 18rem;
}

.side-nav a {
    text-decoration: none;
    font-size: 1.6rem;
    color: #e9e9e9;
    display: block;
    transition: 0.1s;
}

/* Link Styles */
ul a {
    color: #817a7a;
    display: block;
    padding: 1rem;
}

ul a:hover {
    color: #b8b8b8;
}

ul a:active {
    color: #dd8e8e;
}

/* Header Button styling */
.tog-btn {
    background-color: white;
    border: none;
    outline: none;
}

.tog-btn:hover {
    cursor: pointer;
}

rect {
	fill: #694646;
}

.banner-para .btn {
	background-color: #936464;
    color: white;
    transition: background-color 0.4s ease;
    border-radius: 4px;
    font-size: 2.4rem;
	padding: 1rem;
}

.banner-para .btn:hover {
	background-color: #98a851;
	color: white;
}

/* article-one styling */
main div.article-one {
	background-color: #B9D1B2;
	align-items: center;
	margin-bottom: 7.2rem;
}

main div.article-one {
	padding: 4.8rem 1rem;
}

div.article-one-content section,
aside {
	max-width: 700px;
	margin: 0 auto;
}

h3 {
	font-family: "Domine", serif;
	font-size: 2.074rem;
	padding-bottom: 1.6rem;
	text-align: center;
}

div.article-one img {
	width: 50%;
	margin: 0 auto;
	padding-bottom: 2.4rem;
}

/* articles styling */
div.article-two,
div.article-three,
div.article-four,
div.article-five,
div.article-six,
div.article-seven,
aside {
	margin-bottom: 7.2rem;
}

div.article-two img,
div.article-three img,
div.article-four img,
div.article-five img {
	border-radius: 500px;
	width: 50%;
	margin: 0 auto;
}

div.article-two-content section,
div.article-three-content section,
div.article-four-content section,
div.article-five-content section,
div.article-six-content section,
div.article-seven-content section {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	max-width: 1024px;
	margin: 0 auto;
	align-items: center;
	padding: 1rem;
}


div.article-six-content section p,
div.article-seven-content section p,
div.recipe-one section p,
div.recipe-one section h4,
section.recipe-two-content h5 {
	padding-bottom: 1rem;
}

.square-banner {
	max-width: 250px;
	margin: 0 auto;
	margin-bottom: 4rem;
}

/* Reciprocal link */
.savoury-british-chips-url,
.hash-tag {
	font-weight: bold;
	text-decoration: underline;
}

#fry-hack {
	font-weight: bold;
	text-decoration: underline;
}

/* Footer */
footer {
	background-color: #d6b6a0;
}

footer div a img {
	width: 20rem;
	height: 20rem;
	border-radius: 100px;
	margin: 0 auto;
	margin-bottom: 2.4rem;
}

footer div {
	max-width: 1020px;
	margin: 0 auto;
	padding: 1rem;
}

.footer-nav {
	text-align: center;
}

.footer-nav a {
	font-weight: bold;
}

/* footer nav-links */
footer ul a {
    color: #6f411b;
    display: block;
    padding: 1rem;
}

footer ul a:hover {
    color: #fff;
}

ul a:active {
    color: #dd8e8e;
}

/* Recipe Page */
.recipe-one div.recipe-intro-message section,
section.recipe-one-content,
.recipe-two div.recipe-intro-message section,
section.recipe-two-content {
	padding: 1rem;
}

div.recipe-one span:not(.italic-text),
section.recipe-two-content span {
	font-weight: bold;
}

section.recipe-one-content,
div.recipe-intro-message section,
section.recipe-two-content  {
	max-width: 800px;
	margin: 0 auto;
}

div.recipe-intro-message section {
	padding: 2rem 0;
	margin-bottom: 6rem;
}

div.recipe-intro-message img.squiggle-line {
	max-width: 325px;
	margin: 0 auto;
}

div.recipe-one h4,
div.recipe-two h4,
section.recipe-two-content h5 {
	font-family: "Domine", serif;
	font-size: 1.728rem;
	text-align: center;
}

div.recipe-intro-message {
	background-color: #B9D1B2;
	max-width: none;
}

body.recipe-page span.italic-text {
	font-style: italic;
}

div.recipe-one {
	margin-bottom: 6rem;
}

section.recipe-two-content h4,
section.recipe-two-content p {
	padding-bottom: 2rem;
}

section.recipe-two-content div {
	padding-left: 4rem;
}

/* article reveiw */
.article-review {
	border: 1px solid #965c2c;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 1px 1px 10px rgba(150, 90, 44, 0.5);
}

.article-review .article-title {
	font-family: 'Domine', serif;
	font-weight: bold;
	color: #965c2c;
}

.article-review img {
	max-width: 450px;
	margin: 0 auto;
	margin-bottom: 2rem;
}

.article-review p {
	margin-bottom: 1rem;
}

/* whats new section */
.whats-new,
.picnic-area {
	max-width: 1000px;
	margin: 0 auto;
	padding: 1rem;
}

.picnic-area {
	margin-bottom: 2.4rem;
}

.whats-new-images {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2.4rem;
}

.whats-new-images img {
	border-radius: 6px;
}

.picnic-area h4 {
	font-family: 'Domine', serif;
	color: #694646;
}

/* Media Queries */
@media screen and (min-width: 700px) {
    header section,
	footer div {
        display: flex;
        gap: 1rem;
    }

	footer div {
		justify-content: space-between;
		align-items: center;
	}

	header section.header-banner {
		padding: 1rem;
	}

    nav ul.flex-container {
        display: flex;
    }

    .side-nav {
        height: auto;
        width: auto;
        position: static;
        z-index: auto;
        top: auto;
        left: auto;
        overflow-x: visible;
        padding-top: 0;
        background-color: white;
    }

    .tog-btn {
        display: none;
    }

    .side-nav a {
        color: #756e6e;
    }

    ul a:hover {
        text-decoration: underline;
        color: #756e6e;
    }

    ul a:active {
        color: #dd8e8e;
    }

	div.article-one img {
		max-width: 325px;
		margin: 0 auto;
	}

	main div.article-one {
		padding: 4.8rem 4.8rem;
	}

	div.article-two-content section,
	div.article-three-content section,
	div.article-four-content section,
	div.article-five-content section,
	div.article-six-content section,
	div.article-seven-content section,
	.whats-new-images,
	.picnic-area {
		display: flex;
		flex-direction: row;
	}

	div.article-two h3,
	div.article-three h3,
	div.article-four h3,
	div.article-five h3,
	div.article-six h3,
	div.article-seven h3 {
		text-align: left;
	}

	div.article-six-content section img,
	div.article-seven-content section img,
	div.recipe-one section img {
		max-width: 500px;
	}

	div.recipe-one section img {
		margin: 0 auto;
	}

}

@media screen and (min-width: 900px) {
	header section.header-banner {
		flex-direction: row;
		padding-top: 0;
	}

	.header-banner img {
		max-width: 550px;
	}

	.banner-para {
		padding: 0;
	}

	div.article-three-content section img,
	div.article-five-content section img {
		order: 2;
	}

	div.article-three-content section div,
	div.article-five-content section div {
		order: 1;
	}
}

/* 
Aside styling (for when you do <aside> content) 
1. highlight the URL link 
2. highlight the hashtags to make it stand out more. 
*/

aside a:link,
aside a:visited {
	color: #694646;
}

aside a:hover,
aside a:active {
	color: #98a851;
}

#cookiePopup {
	background-color: #ffffff;
	position: absolute;
	left: 5%;
	bottom: 0;
	font-size: 14px;
	width: 90%;
	box-shadow: 0 0 2em rgba(5, 0, 31, 0.15);
	font-family: "Poppins", sans-serif;
	text-align: justify;
	line-height: 1.8em;
	margin: 0 auto;
	padding: 2em 1.4em;
	border-radius: 6px;
	transition: all 0.5s ease-in-out;
  }
  
  #cookiePopup p {
	text-align: center;
	margin: 1.4em 0;
  }
  #cookiePopup button {
	background-color: #6859fe;
	border: none;
	color: #ffffff;
	font-size: 1.2em;
	padding: 1em 1.4em;
	display: block;
	position: relative;
	margin: auto;
	border-radius: 5px;
  }
  #cookiePopup a {
	color: #6859fe;
  }
  
  .hide {
	visibility: hidden;
	
  }
  .show {
	visibility: visible;
   
  }