@font-face {
	font-family: "DIN";
	src: url(../resources/fonts/D-DINExp.otf);
	font-weight: 300;
}

@font-face {
	font-family: "DIN";
	src: url(../resources/fonts/D-DINExp-Bold.otf);
	font-weight: 500;
}

@font-face {
	font-family: "Urbanist";
	src: url(../resources/fonts/Urbanist-ExtraBold.ttf);
	font-weight: 800;
}

:root {
	/* === design elements === */
	--rounding: 15px;
	--blur: 6px;
	--blur-on-cont: 3px;

	--winaero: linear-gradient(135deg,#fff5 70px,transparent 100px),linear-gradient(225deg,#fff5 70px,transparent 100px),linear-gradient(54deg,#0002 0 4%,#6661 6% 6%,#0002 8% 10%,#0002 15% 16%,#aaa1 17% 18%,#0002 23% 24%,#bbb2 25% 26%,#0002 31% 33%,#0002 34% 34.5%,#bbb2 36% 40%,#0002 41% 41.5%,#bbb2 44% 45%,#bbb2 46% 47%,#0002 48% 49%,#0002 50% 50.5%,#0002 56% 56.5%,#bbb2 57% 63%,#0002 67% 69%,#bbb2 69.5% 70%,#0002 73.5% 74%,#bbb2 74.5% 79%,#0002 80% 84%,#aaa2 85% 86%,#0002 87%,#bbb1 90%) left center/100vw 100vh no-repeat fixed;

	/* === text sizes === */
	font-size: 16px; /* === text size everything else is based off of === */

	--size-0: 0.875rem; /* 14px */
	--size-01: 0.9375rem; /* 15px */
	--size-1: 1rem; /* 16px */
	--size-2: 1.125rem; /* 18px */
	--size-3: 1.25rem; /* 20px */
	--size-4: 1.375rem; /* 22px */
	--size-5: 2.063rem; /* 33px */
	--size-6: 3.125rem; /* 50px */
	--size-sub-title: 2.375rem; /* 38px */ 
	--size-main-title: 6.25rem; /* 100px */
	--size-main-title-mobile: 3.75rem; /* 60px */ 
	--line-height-0: 1.375rem; /* 22px */
	--line-height-1: 1.65rem;  /* shrug */ 
	--line-height-2: 1.625rem;  /* 26px */ 
	--line-height-3: 1.75rem; /* 28px */ 
	--line-height-4: 1.625rem;  /* 26px */ 
	--line-height-5: 2.375rem;  /* 38px */ 
	--line-height-6: 3.75rem;  /* 60px */ 
	--line-height-sub-title: 2.375rem;  /* 38px */ 
	--line-height-main-title: 5.45rem;  /* 100px */ 
	--line-height-main-title-mobile: 2.3rem;  /* 60px */ 

	/* === fonts === */
	--font: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--title-font: "Urbanist", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	
}


@keyframes lizBounce { /* this is the animation that plays when you hover over liz */
	0% {
		bottom: 0px;
	}
	10% {
		bottom: 20px;
	}
	20%{
		bottom: 0px;
	}
	50%{
		bottom: 0px;
	}
	100% {
		bottom: -600px;
	}
}


@keyframes lizBounceBush { /* this is the animation that plays when you hover over liz, this one is for the bush */
	0% {
		bottom: 0px;
	}
	20%{
		bottom: 0px;
	}
	50%{
		bottom: 0px;
	}
	100% {
		bottom: -600px;
	}
}

html {
	scrollbar-color: var(--pebble-yellow) transparent;
	background-color: var(--bg-color);

	min-height:100%;/* make sure it is at least as tall as the viewport */
	position:relative;

	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
	}
}

body {
	overflow-x: hidden;
	min-height: 100vh;
	min-height:100%;
	margin: 0;
	-webkit-text-size-adjust: 100%;
	@media screen and (max-width: 850px) {
		width: 100vw;
	}
}

.sidebar-buttons a, .sidebar-buttons a:link, .sidebar-buttons a:visited, .sidebar-buttons a:hover, .sidebar-buttons a:active, div > a:link, div> a:visited, div > a:hover, div > a:active, nav > a:link, nav> a:visited, nav > a:hover, nav > a:active, article > a:link, article> a:visited, article > a:hover, article > a:active { 
	text-decoration: none !important;
	text-decoration-color: none !important;
	text-decoration-thickness: none !important;
	background: none;
}

p, li, h1, h2, h3, label {
	font-family: var(--font);
	font-weight: 300;
	font-size: var(--size-2);
	line-height: var(--line-height-2);
	
}

p, li {
	color: var(--text-color);
}

h1, h2, h3 {
	color: var(--text-color-white);
}

p a, li a, h2 a, p a:visited, li a:visited, h2 a:visited {
	color: var(--color-em);
	
	text-decoration-thickness: 1.3px;
	text-decoration-color: var(--color-em);
	text-underline-offset: auto;

	background: linear-gradient(90deg,var(--color-em) 0%, var(--color-em) 100%) no-repeat 0% 25px;

	transition: .3s;
}

@media (hover: hover) {
	p a:hover, li a:hover,h2 a:hover, p a:active, li a:active, h2 a:active {
		color: var(--block-color);

		background: linear-gradient(90deg,var(--color-em) 0%, var(--color-em) 100%) no-repeat 0px 100%;
		
	}
}

button, input[type="submit"], input[type="reset"] {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: none;
}

/* //////////////////// */

:root {
	/* === Text variables === */
	--color-main: #2f462f;
	--color-faded: #4E744E;
	--color-em: #1C822F;
	--color-link: #0000AA;
	--main-font: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--title-font:"Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--size-title: 2rem;       /* 32px */
	--size-top-bar: 1.25rem;   /* 24px */
	--size-0: 1rem;           /* 16px */
	--size-1: 1.125rem;       /* 18px */
	--size-2: 1.25rem;        /* 20px */
	--size-3: 1.375rem;       /* 22px */
	--size-4: 1.75rem;        /* 28px */
	--size-5: 2rem;           /* 32px */
  
	/* === Aesthetic Elements === */
	--rounding: 12px;
  
	--block-color: #f7ffdb;
	--top-bar-gradient: linear-gradient(to right,#9de89c, #c3e790); 
}
  
  /* === Font stuff === */
h1, h2, h3, h4, h5, h6, ul, p, span {
	font-family: var(--main-font);
	font-size: var(--size-1);
	color: var(--color-main);
	margin: 0;
}
  
h1 {
	font-size: var(--size-title);
	color: var(--color-em);
}
  
h2 {
	font-size: var(--size-4);
	color: var(--color-em);
}
  
strong {
	font-weight: 600;
}
  
.sidebar li {
	/* border: red solid 1px; */
	list-style: none;
}
  
p {
	margin-bottom: 10px;
}
  
p:last-of-type {
	margin-bottom: 0px;
}
  
.main-column li {
	margin-left: 25px;
	padding: 5px 0;
}
  
h2 small {
	font-weight: normal;
	font-size: var(--size-2);
	color: var(--color-main);
}
  
  /* === Page Layout === */
* {
	padding: 0;
	box-sizing: border-box;
}
  
.page-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 100%;
	min-height: 100%;
}
  
.everything-bagel {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 15px;
	margin-top: 30px;
}

.sidebar-container { /* contains the sidebar */
	min-height: 100dvh; /* sets minimum height of container to screen height */
	height: auto; /* makes actual height adjust to content */
	display: flex;
	width: 320px; /* sets sidebar width */
	transition: .3s;

	/* these below set sidebar width based on viewport size */
	@media screen and (max-width: 899px) {
		width: 320px;
		height: 100dvh;
		position: fixed;
		left: -100%;
		top: 0;
		background-color: var(--block-color);
		justify-content: center;
		overflow: auto; /* makes sidebar scrollable */
		box-shadow: 0px 10px 20px rgba(0,0,0,0.3); /* adds a shadow to the sidebar on mobile */
	
	}

	@media screen and (max-width: 1199px) and (min-width: 900px) {
		width: 250px;
	}

}
  
.sidebar {
	width: 100%;
	height: auto;
	position: sticky; /* makes sidebar scroll with page*/
	top: 30px; /* makes sidebar not go up to top of viewport when scrolling*/
	align-self: flex-start;

	@media screen and (max-width: 899px) {
		max-width: 320px; /* sets maximum sidebar width on mobile */
		top: 0px;
	}
}

.sidebar-curtain { /* prevents content from appearing behind the sidebar header on mobile when scrolling */
	width: 100%;
	height: 49px;
	background-color: var(--block-color);
	position: sticky;
	top: 0px;
	margin-top: -5px;
	padding-top: 5px;
	border-radius: var(--rounding) var(--rounding) 0 0;
}

.sidebar .window-top-bar { /* formatting fixes for the sidebar header on mobile that affect overscroll visuals */
	@media screen and (max-width: 899px) {
		width: calc(100% - 100px);
		border-radius: var(--rounding) 0 0 0;
	}
}
  
.main-column {
	display: flex;
	flex-direction: column;
	gap: 15px; /*adds a gap between windows without needing a margin */
	width: 1000px; /* default width of content*/
	height: auto;

	/* these below set the main column width based on viewport size */

	@media screen and (max-width: 899px) {
		width: 100dvw;
		margin-top: 20px; /* offsets the main column to make room for the mobile menu */
	}

	@media screen and (max-width: 1199px) and (min-width: 900px) {
		width: 600px;
	}
	@media screen and (max-width: 1400px) and (min-width: 1200px) {
		width: 800px;
	}
}
  
.window {
	padding: 5px;
  
	color: var(--text-color);
	border-radius: var(--rounding);
	background-color: var(--block-color);
}
  
.window-top-bar {
	padding: 7px 15px; /* vertical | Horizontal */
	margin: 0;
	display: block;
	height: fit-content;
	width: 100%;
  
	background-image: var(--top-bar-gradient);
	border-radius: var(--rounding) var(--rounding) 0 0;
  
	font-size: var(--size-top-bar);
	font-weight: 600;
}
  
.box-content {
	margin: 20px;
	display: inline;
	float: left;
	overflow: visible;
	@media screen and (max-width: 899px) { /* reduces content margin on mobile */
		margin: 20px 10px;
	}
}
  
.burger-ingredient {
	float: inline-start; /* Makes it so the segments properly stack on top of each other */
	margin-top: 10px;
}
  
  /* === Animations === */
.sidebar-buttons img {
	width: 100%;
	height: auto;
	z-index: 10;
	transition: all 0.2s;
}
  
.sidebar-buttons img:hover {
	transform: scale(1.1);
}
  
  /* === Image Handling === */
  
.sidebar-img {
	border-radius: var(--rounding);
	width: 100%;
	height: auto;
	margin-bottom: 10px;
}
  
.content-img-left {
	border-radius: var(--rounding);
	width: 250px;
	height: auto;
	float: left;
	clear:both;
	margin-right: 20px;
	margin-bottom: 5px;
}
  
.splash {
	position: fixed;
	bottom: 0;
	right: 0;

	/* makes splash not appear on smaller screen sizes */
	@media screen and (max-width: 899px) {
	}

}
  
.splash-grass {
	border-radius: inherit;
	position: inherit;
	bottom: 0;
	right: inherit;
  
	min-width: 50%;
	max-width: 70%;
	max-height: auto;

	animation: lizBounceBush 2s forwards; /* liz bounce away animation that plays when she leaves */
	animation-play-state: paused; /* makes it paused by default */

	@media screen and (max-width: 899px) { /* liz grass sizing on mobile */
		min-width: inherit;
		max-width: inherit;
		width: 750px;
		height: auto;
	}
}

.splash-text {
	position: fixed;
	bottom: 5px;
	right: 10px;
	color: var(--block-color);
	z-index: 10;

	@media screen and (max-width: 899px) { /* hide the splash text on mobile */
		display: none;
	}
}
  
.splash-main {
	border-radius: inherit;
	position: inherit;
	bottom: 0;
	right: inherit;
	height: auto;
	
	min-width: 23%;
	max-width: 33%;
	max-height: auto;

	animation: lizBounce 2s forwards; /* liz bounce away animation that plays when she leaves */
	animation-play-state: paused; /* makes it paused by default */

	@media screen and (max-width: 899px) { /* liz sizing on mobile */
		min-width: inherit;
		max-width: inherit;
		width: 300px;
		height: auto;
	}
}
  
.bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	
	background-image: 
		linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
		url(../resources/images/blue-flowers.jpg);
	background-size: cover;
	z-index: -999;
}
  
.filler {
	width: var(--sidebar-width);
}

/* === mobile menu styling ===*/

.mobile-menu-button { /* styling for the menu button */
	width: 100%;
	height: 100%;
	position: fixed;
	top: 5px;
	left: 5px;
	height: 39px;

	width: 100px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	
	border-radius: var(--rounding);
	background-image: var(--top-bar-gradient);
	box-shadow: 0px 10px 20px rgba(0,0,0,0.3);

	border-left-style: solid;
	border-left-width: 0px;
	border-left-color: var(--block-color);
	
	transition: .3s;
	z-index: 11; /*puts the button on top of everything*/

	@media screen and (min-width: 900px) { /* hides the mobile menu button on desktop */
		display: none;
	}
}

.mobile-menu-button p {
	font-weight: 600 !important;
}

.mobile-menu-button svg {
	width: 18px;
	height: auto;
	margin-right: 6px;
	fill: var(--color-main)
}

#hamburger-cross { /* this hides the mobile menu X button when it's not supposed to be shown */
	display: none;
}