body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

html {
	overflow-y: scroll;
}

body {
  font-family: 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  color: #424242;
  border-bottom-color: #FAFAFA;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  /* Set "counter0" to 0 */
  counter-reset: counter0;
}

h1, h2, h3, h4, h5 {
  margin: 0; 
  display: -webkit-flex;
  display: flex;
}


h1 {
	font-weight: 900;

}

h3 {
	color: #00344A;
}

p, li {
	font-weight: 300;
	font-size: 17px;
	line-height: 1.4;
	margin-bottom: 0;
}

hr {
	height: 1px;
	margin-bottom: 1.5em;
	width: 100%;
	background-color: #EBEBEB;
	border-style: solid; 
}

.line_break {
	-webkit-display: flex;
	display: flex;
	width: 100%;
	margin: 40px 0;
	border-bottom-style: solid;
	border-bottom-color: #EBEBEB;
	border-bottom-width: 1px;
}

header {
	box-sizing: border-box;
}

.subheaders {
	margin: 0; 
	font-size: 16px;
}

br {
	line-height: 250%;
}

a {
	text-decoration: none;
	color: #FF473A;
	cursor: pointer;
}

a:hover {
	font-weight: bold;
	transition: color 0.3s ease;
}

ol, ul {
	list-style-type: none;
}

button:focus {
	outline:0;
}

#nav_container {
	padding: 0 1.5em;
	background: #FAFAFA;
	height: 80px; 
	width: 100%;
	position: fixed;
	top: 0px;
	display: -webkit-flex; /* for Safari */
	-webkit-flex-wrap: wrap; /* for Safari */
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	z-index: 1; /* ensures nav bar is always stacked above other elements*/
	box-shadow: 0 1px 10px 0.5px #ccc;
}

#logo {
	z-index: 0;
	font-family: 'Barlow', sans-serif;
	font-size: 32px;
	color: #fff;
    letter-spacing: 0rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
	align-self: center;
	cursor: pointer;
	background-color: #00344A;
	padding: 0.2em 0.4em;
}

#logo .emoji {
	font-style: normal;
	font-size: 28px;
}

#logo:hover {
	background-color: #FF473A;
    transition: background-color 0.3s ease;
}

ul#fullnav li a {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: flex-end;
	line-height: 75px;
}

/* show hamburger menu for screens smaller than 800px */
@media screen and (max-width: 799px) {
	
	.nav_menu {
		align-self: center;
	}

	#hamburger_container {
		width: 30px;
		height: 30px;
		cursor: pointer;
		display: -webkit-flex; /* for Safari */
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#hamburger {
		position: relative;
		width: 30px;
		height: 30px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		line-height: 0;
	}

	#hamburger span {
		display: inline-block;
		position: relative;
		z-index: 2;
		height: 3px;
		width: 25px;
		margin-top: 3px;
		margin-bottom: 3px;
		border-radius: 10px;
		background: #424242;

		transition: background-color 0.3s ease;
		transition: transform 0.3s ease;
	}

	#hamburger input {
		display: block;
		position: fixed;
		z-index: 3;
		cursor: pointer;
		height: 30px;
		width: 30px;
		margin: 0 0px;
		opacity: 0; /*make the checkbox invisible*/
		user-select: none;
		-webkit-user-select: none;
	}

	/*when the mini menu is open, transform the hamburger into an "x"*/
	#hamburger input:checked ~ #burgerstripe_1 {
		background: #424242;
		transform-origin: top left;
		width: 27px;
		transform: rotate(45deg);
		background-color: #FF473A;
	}

	#hamburger input:checked ~ #burgerstripe_2 {
		opacity: 0;
	}

	#hamburger input:checked ~ #burgerstripe_3 {
		background: #424242;
		transform-origin: bottom left;
		width: 27Px;
		transform: rotate(-45deg);
		background-color: #FF473A;
	}

	/*when you click on the checkbox, the menu slides out*/
	#hamburger input:checked ~ #mini_menu {
		transform: none;
	}
	
	/*formatting for the pop-up mini menu*/
	#mini_menu {
		position: fixed;
		z-index: 1;
		top: 80px;
		right: 0;

		height: 180px;
		width: 8em;
		margin: 0;
		cursor: default;
		background-color: #FAFAFA;
		
		transition: transform 0.3s;
		transform: translate(270px, 0);

		line-height: normal;
		font-size: 20px;

		display: -webkit-flex;
		display: flex;
		flex-wrap: wrap;
	}

	#mini_menu a {
		display: -webkit-flex;
		display: flex;
		justify-content: flex-end;

		width: 100%;
		transition: color 0.3s ease;
		transition: background-color 0.3s ease;
		cursor: pointer;

		font-size: 17px;
		font-weight: 400;
		letter-spacing: 0.2rem;
		text-transform: uppercase;

		padding: 0px 32px 0 10px;

		align-items: center;
	}
	
	#mini_menu a:hover {
		color:#FF473A;
		background-color: #efefef;
	}

	#mini_menu a:active {
		color:#FF473A;
		background-color: #efefef;
	}

	#fullnav_container {
		display: none;
	}
}

@media screen and (min-width: 800px) {
	#hamburger_container {
		display: none;
	}
	
	.nav_menu {
		align-self: stretch;
	}

	#fullnav_container {
		height: 100%;
	}

	#fullnav {
		margin: 0px;
		height: 100%; 
	}

	.menu {
		display: inline-block;
		text-align: right;
		padding-left: 1em;
		padding-right: 1em;
		cursor: pointer;
		font-weight: 700;
		color: #848484;
		height: 100%;
		transition: color 0.3s ease;
	}

	.selected {
		font-weight: bolder;
		color: #424242;
	}

	.menu_text {
		position: relative;
		text-transform: uppercase;
		font-weight: 400;
		letter-spacing: 0.2rem;
	}
	
	.menu:hover {
		color: #FF473A;
		border-bottom: 2px solid #FF473A;
	}
}

.main_container {
	display: -webkit-flex; /* for Safari */
	-webkit-flex-wrap: wrap; /* for Safari */
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 50px;
}

.sub_container {
	display: -webkit-flex; /* for Safari */
	-webkit-flex-wrap: wrap; /* for Safari */
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	justify-content: center;
	box-sizing: border-box;
}

.headlines {
	font-weight: bold;
	text-align: left;
 }

 .headlines_small {
 	font-weight: bold;
 	text-align: left;
 }

/*

Footers
	

*/

footer {
	display: -webkit-flex; /* for Safari */
	-webkit-flex-wrap: wrap; /* for Safari */
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	align-content: flex-end;	
	justify-content: center;
	height: 240px; 
	width: 100%;
	box-shadow: 0 -5px 5px -5px #ccc;
	border-bottom: none;
	background-color: #262721;
	box-shadow: 0 50vh 0 50vh #262721;
	color: #fff;
}

footer .contact_container {
	display: -webkit-flex; /* for Safari */
	-webkit-flex-wrap: wrap; /* for Safari */
	display: flex;
	flex-wrap: wrap;
	width: 100%;
} 

footer h3 {
	display: -webkit-flex; /* for Safari */
	display: flex;
	width: 100%;
	justify-content: center;
	margin-bottom: 20px;
	color: #C8C8C8;
	font-size: 16px;
	font-weight: 900;
	text-transform: uppercase;
}

footer .icons_container {
	display: -webkit-flex; /* for Safari */
	-webkit-flex-wrap: wrap; /* for Safari */
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: center;
}

footer .icons_container img {
	margin: 0 10px;
}

footer .icons_container img:hover {
	cursor: pointer;
}

footer p {
	display: -webkit-flex; /* for Safari */
	display: flex;
	width: 100%;
	justify-content: center;
	font-size: 16px;
	margin: 1.5em 0 3em 0; 
}


/* 

Index page 


*/

#index_main_container {
	margin-bottom: 0;
	height: 100%;
}

#index_main_container .sub_container {
	background-image: url("assets/index/index_homeImage_smaller.gif");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	height: 100%;
	width: 100%;
	align-items: center;
	align-content: center;
}

#index_main_container .sub_container h1 {
	text-align: center;
	color: #FFF;
}

/* 

Cooking page 


*/

#cooking_main_container {
	position: relative;
	align-items: flex-start;
	align-content: flex-start;
	clear: both;
}

.cooking_section {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 50px;
}

.cooking_headlines_container {
	width: 100%;
	justify-content: flex-start;
	margin-bottom: 20px;
}

.cooking_headlines_container h1 {
	width: 100%;
	font-size: 36px;
}

.cooking_headlines_container h2 {
	width: 100%;
	margin-top: 0.2em;
	font-size: 17px;
	font-weight: 300;
}

.recipe_container {
	width: 100%;
	justify-content: space-between;
}

.recipe {
	align-items: flex-start;
}

.recipe:hover {
	cursor: pointer;
}

.recipe img {
	border-radius: 3px;
	margin-bottom: 5px;
	width: 100%;
}

.cuisine_label {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	color: #999;
}

.recipe h2 {
	margin: 5px 0;
	font-size: 20px;
	font-weight: bold;
	color: #424242;
}

.recipe p {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 5px;
	font-size: 16px;
	font-weight: 300;
}

.recipe .prep_time {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	color:  #00344A;
}

@media screen and (max-width: 699px) {
	#cooking_main_container {
		margin: 100px 1em 0 1em; 
	}

	.recipe {
		width: 100%;
		margin-bottom: 1.5em;
	}
}

@media screen and (min-width: 700px) and (max-width: 949px) {
	#cooking_main_container {
		margin: 100px 2em 0 2em; 
	}

	.recipe {
		width: 49%;
		margin-bottom: 1.5em;
	}
}

@media screen and (min-width: 950px) {
	#cooking_main_container {
		margin: 100px 3em 0 3em; 
	}

    .cooking_headlines_container {
        padding-right: 1%;
        padding-left: 1%;
    }
    
	.recipe_container {
		justify-content: flex-start;
	}

	.recipe {
		width: 23%;
        padding-right: 1%;
        padding-left: 1%;
		margin-bottom: 2em;
	}
}

/* 

About me page 


*/
#about_main_container {
	max-width: 1300px;
}

.about_title_spacer {
	width: 40%;
}

.about_title_container {
	width: 60%;
	justify-content: flex-start;
}

.about_title_container h1 {
	font-size: 36px;
	margin-bottom: 17px;
}

.about_image_container {
	justify-content: flex-end;
}

.about_content_container {
	margin-bottom: 4em;
}

.about_content_container h1, h2, p {
	width: 100%;
}

.about_content_container h2 {
	margin-bottom: 17px;
}

.about_content_container p {
	margin: 0 0 17px 0;
}

.about_content_container .bullet_list {
	margin-bottom: 0;
}

.em_about {
	font-weight: bold;
}

.contact_method_list {
    padding-left: 0;
    margin: 0;
}

.contact_method_list li{
	display: -webkit-flex; /* for Safari */
	display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 10px;
}

.contact_button {
	width: 40px;
	cursor: pointer;
}

.contact_link {
	padding-left: 10px;
	color: #FF473A;
}

.contact_method_list li:hover {
	font-weight: 700;
}

.contact_method_list li:visited {
	color: #5332a8;
}

.thing {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	flex-wrap: -webkit-flex-wrap;
}

.thing .image_container {
	width: 40%;
	padding: 0 1em;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
}

.thing img {
	width: 100%;
	height: auto;
}

.thing .content_container {
	width: 60%;
	align-content: center;
	box-sizing: border-box;
	margin-bottom: 15px;
}

.thing h3 {
	font-size: 17px;
	margin-bottom: 1em;
	text-transform: uppercase;
}

.thing h4 {
	font-weight: 300;
	font-size: 23px;
	line-height: 1.6;
	margin-bottom: 1em;
}

.thing a {
	font-size: 17px;
}

#book_list {
	padding: 0;
}

.book {
	color: #FF473A;
	line-height: 150%;

}

.book:hover {
	font-weight: 700;
}

.book:visited {
	color: #5332a8;
}

@media screen and (max-width: 599px) {
	#about_main_container {
		position: relative;
		margin: 100px 1.5em 0 1.5em; 
	}
	.about_title_spacer {
		display: none;
	}
	.about_title_container {
		width: 100%;
	}
	.about_image_container {
		justify-content: center;
	}
	.about_image_container img {
		width: 100%;
	}
	.thing .image_container {
		width: 100%;
	}
	.thing .content_container {
		width: 100%;
	}
}

@media screen and (min-width: 600px) and (max-width: 949px) {
	#about_main_container {
		margin: 100px 3em 0 3em; 
	}
	.about_image_container img {
	max-width: 330px;
	}
	.thing .image_container {
		width: 50%;
		align-items:flex-start;
	}
	.thing .content_container {
		width: 50%;
	}
}

@media screen and (min-width: 950px) {
	#about_main_container {
		margin: 140px 3em 0 3em; 
	}
	.about_image_container img {
	max-width: 330px;
	}
}

/* 

Recipe page 


*/
#recipe_main_container {
	position: relative;
	align-items: flex-start;
	align-content: flex-start;
	clear: both;
	max-width: 1300px;
}

.left_image_container img {
	width: 100%;
	border-radius: 5px;
}

.right_content_container section {
	width: 100%;
	justify-content: left;
}

.right_header_container h1 {
	font-size: 32px;
	width: 100%;
	margin-bottom: 24px;
}

.recipe_header_container h3 {
	font-size: 12px;
	text-transform: uppercase;
	width: 100%;
}

.recipe_infobar_container div {
	display: -webkit-flex;
	display: flex;
}

.recipe_infobar_container img {
	height: 20px;
	width: 20px;
}

.recipe_infobar_container h3 {
	line-height: 20px;
	margin-left: 0.5em;
	color: #424242;
	font-weight: 400;
	font-size: 17px;
	text-transform: none;
}

.recipe_ingredients_container {
	background-color: #F8F7F3;
	padding: 15px;
}

.recipe_ingredients_container h3 {
	width: 100%;
}

.bullet_list {
	padding-left: 30px;
	margin-top: 0;
}

.recipe_ingredients_list {
	margin-top: 10px;
}

.recipe_ingredients_list p{
	margin: 0;
}

.bullet_list li::before {
	content: "\2022";
  	color: #ABCDD7;
  	font-weight: bold;
  	display: inline-block; 
  	width: 1em;
  	margin-left: -1em;
}

.recipe_instructions {
	flex-wrap: nowrap;
    padding-inline-start: 0px;
}

.recipe_instructions li p{
	display: -webkit-flex;
	display: flex;
}

.recipe_instructions li p::before {
	counter-increment: counter0;
	content: counter(counter0,decimal-leading-zero);
	font-size: 24px;
	font-weight: 900;
	color: #ABCDD7;
	margin-right: 1em;
}

@media screen and (max-width: 699px) {
	#recipe_main_container {
		margin: 100px 1em 40px 1em; 
	}

	.left_image_container {
		width: 100%;
		margin-bottom: 15px;
	}

	.right_content_container {
		width: 100%;
	}

	.recipe_infobar_container div {
		width: 50%;
		margin-bottom: 1em;
	}
}

@media screen and (min-width: 700px) and (max-width: 1199px) {
	#recipe_main_container {
		margin: 140px 2em 40px 2em;
	}

	.left_image_container {
		width: 40%;
		padding-right: 3vw;
	}

	.right_content_container {
		width: 60%;
	}
	
	.recipe_header_container h1 {
		font-size: 46px;
	}

	.recipe_infobar_container div {
		width: 100%;
		margin-bottom: 1em;
	}
}

@media screen and (min-width: 1200px){
	#recipe_main_container {
		margin: 140px 3em 50px 3em; 
	}

	.left_image_container {
		width: 40%;
		padding-right: 3vw;
	}

	.right_content_container {
		width: 60%;
	}
	
	.recipe_header_container h1 {
		font-size: 46px;
	}

	.recipe_infobar_container div {
		width: 100%;
		margin-bottom: 1em;
	}

