/* @Circular Std
================================================== */
@font-face {
    font-family: 'Circular Std';
    src: local('CircularStd-Book'),
        url('../fonts/CircularStd-Book.woff2') format('woff2'),
        url('../fonts/CircularStd-Book.woff') format('woff'),
        url('../fonts/CircularStd-Book.otf') format('opentype');
    font-display: fallback;
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: 'Circular Std';
    src: local('CircularStd-Medium'),
        url('../fonts/CircularStd-Medium.woff2') format('woff2'),
        url('../fonts/CircularStd-Medium.woff') format('woff'),
        url('../fonts/CircularStd-Medium.otf') format('opentype');
    font-display: fallback;
    font-style: normal;
    font-weight: 600;
}
@font-face {
    font-family: 'Circular Std';
    src: local('CircularStd-Bold'),
        url('../fonts/CircularStd-Bold.woff2') format('woff2'),
        url('../fonts/CircularStd-Bold.woff') format('woff'),
        url('../fonts/CircularStd-Bold.otf') format('opentype');
    font-display: fallback;
    font-style: normal;
    font-weight: 700;
}

html {
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: none;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px;
	line-height: 1.5;
	scroll-behavior: smooth;
	--minFontSize: 16px;
	--maxFontSize: 200px;
	--scaler: 0.8vw;
	font-size: clamp( var(--minFontSize), var(--scaler), var(--maxFontSize) );
}

body {
	height: 100dvh;
	width: 100vw;
	background: #000;
	color: #fff;
	overflow: hidden;
	font-family: "Circular Std",sans-serif;
	box-sizing: border-box;
}

body * {
	box-sizing: border-box;
	transition: all .4s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}

.l-container {
	position: relative;
	margin: 0 auto; 
	width: 100%;
	box-sizing: border-box;
	transition: none;
}

h3 {
	font-size: 1.313rem;
	letter-spacing: -2%;
	line-height: 100%;
	font-weight: 700;
}

ul, ol {
	margin-top: 0;
	padding-left: 1rem;
	margin-bottom: 2.25rem;
}

p + ul,
p + ol {
	margin-top: -0.75rem;
}


/* HEADER */
header {
	padding: 1.25rem;
	position: relative;
	z-index: 10;
}
header .l-container {
	height: 3.75rem;
	width: 100%;
	display: flex;
	align-items: center;
	align-content: center;
	background: #C10017;
	color: white;
	border-radius: 0.313rem;
	padding: 1.25rem;
}
.header-logo {
	margin-left: 0;
	margin-right: auto;
}
.header-message {
	text-align: center;
	font-size: 1.125rem;
	letter-spacing: 3%;
	font-weight: 700;
	margin: 0 auto;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
.header-social {
	margin-left: auto;
	margin-right: 0;
	display: flex;
	gap: 0.5rem;
}
.header-social a {
	display: inline-block;
	opacity: 1;
	transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
.header-social a:hover {
	opacity: 0.7;
}




/* MAIN */
main .l-container {
	max-width: calc(100vw - 2.5rem);
	max-height: calc(100vh - 6.25rem - 1.25rem);
	/* overflow: hidden; */
}

.pan-drag-container {
	position: relative;
	border-radius: 0.313rem;
	overflow: hidden;
	width: 100%;
	height: 100%;
	max-width: calc(100vw - 2.5rem);
	max-height: calc(100vh - 6.25rem - 1.25rem);
	background-color: #EEE;
	cursor: move;
	transition: filter .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
body.recipe-opened .pan-drag-container {
	filter: blur(10px);
}
#drag-info {
	position: fixed;
	height: 2.5rem;
	width: auto;
	bottom: 2.5rem;
	left: 50%;
	transform: translateX(-50%);
	border: 1px solid white;
	border-radius: 100rem;
	z-index: 5;
	opacity: 1;
	transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
#drag-info.hide {
	opacity: 0;
}
.alert-message {
	position: fixed;
	background-color: #C10017;
	border-radius: 0.313rem;
	border: 1px solid white;
	padding: 1rem;
	text-align: center;
	bottom: 2.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 12;
	opacity: 0;
	transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
.alert-message.active {
	opacity: 1;
}


#pan-image-mobile {
	display: none;
}
@media (max-width: 580px) {
	#pan-image {
		display: none;
	}
	#pan-image-mobile {
		display: block;
	}
}



/* recipe pins */
#recipe-pins {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	opacity: 0;
	transition: opacity .4s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
#recipe-pins.reveal {
	opacity: 1;
}

@keyframes pulse-animation {
	0% {
		box-shadow: 0 0 0 0rem rgba(255, 255, 255, 0.5);
	}
	100% {
		box-shadow: 0 0 0 0.625rem rgba(255, 255, 255, 0);
	}
}
.recipe-pin {
	width: 1.875rem;
	height: 1.875rem;
	max-height: 10%;
	display: block;
	position: absolute;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	background-image: url('../images/icon-expand.svg');
	border-radius: 0.313rem;
	animation: pulse-animation 2s infinite;
}

/* each pin */
#truffle-mashed-potatoes.recipe-pin {
	top: 45%;
	left: 81%;
}
@media (max-width: 580px) {
	#truffle-mashed-potatoes.recipe-pin {
		top: 82%;
		left: 41%;
	}
}
#herb-biscuits.recipe-pin {
	top: 22%;
	left: 81.5%;
}
@media (max-width: 580px) {
	#herb-biscuits.recipe-pin {
		top: 84%;
		left: 84.5%;
	}
}
#UMYUM-charred-broccolini.recipe-pin {
	top: 57%;
	left: 31.5%;
}
@media (max-width: 580px) {
	#UMYUM-charred-broccolini.recipe-pin {
		top: 41%;
		left: 40.5%;
	}
}
#stollen-wreath.recipe-pin {
	top: 27%;
	left: 48.5%;
}
@media (max-width: 580px) {
	#stollen-wreath.recipe-pin {
		top: 57%;
		left: 70.5%;
	}
}
#garlic-butter-green-beans.recipe-pin {
	top: 56%;
	left: 72%;
}
@media (max-width: 580px) {
	#garlic-butter-green-beans.recipe-pin {
		top: 69%;
		left: 39%;
	}
}
#garlic-bread.recipe-pin {
	top: 80.5%;
	left: 93.5%;
}
@media (max-width: 580px) {
	#garlic-bread.recipe-pin {
		top: 86.5%;
		left: 10.5%;
	}
}
#UMYUM-nut-roast.recipe-pin {
	top: 36.5%;
	left: 18.5%;
}
@media (max-width: 580px) {
	#UMYUM-nut-roast.recipe-pin {
		top: 29.5%;
		left: 65.5%;
	}
}
#monroe-pear-phyllo-bake.recipe-pin {
	top: 65%;
	left: 46%;
}
@media (max-width: 580px) {
	#monroe-pear-phyllo-bake.recipe-pin {
		top: 58%;
		left: 29%;
	}
}
#crispy-garlic-roast-potatoes.recipe-pin {
	top: 77%;
	left: 18%;
}
@media (max-width: 580px) {
	#crispy-garlic-roast-potatoes.recipe-pin {
		top: 25%;
		left: 14%;
	}
}
#creamy-spinach.recipe-pin {
	top: 25.5%;
	left: 5.5%;
}
@media (max-width: 580px) {
	#creamy-spinach.recipe-pin {
		top: 11.5%;
		left: 74.5%;
	}
}
#one-bite-yam-pesto-canapes.recipe-pin {
	top: 69%;
	left: 4.5%;
}
@media (max-width: 580px) {
	#one-bite-yam-pesto-canapes.recipe-pin {
		top: 5%;
		left: 27.5%;
	}
}
#triple-soy-crispy-tofu.recipe-pin {
	top: 29.5%;
	left: 67.5%;
}
@media (max-width: 580px) {
	#triple-soy-crispy-tofu.recipe-pin {
		top: 74%;
		left: 69.5%;
	}
}


/* lightbox recipe */
#recipe-mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 8;
	background-color: black;
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
#recipe-mask.active {
	opacity: 0.7;
}
.recipe-lightbox {
	position: fixed;
	z-index: 9;
	top: 50%;
	left: 50%;
	width: 64rem;
	max-width: calc(100vw - 2.5rem);
	height: 40rem;
	max-height: calc(100vh - 6.25rem - 1.25rem - 1.25rem);
	opacity: 0;
	border-radius: 0.313rem;
	transform: translate(-50%, -50%);
	overflow: hidden;
	pointer-events: none;
	transition: opacity .4s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
.recipe-lightbox.active {
	pointer-events: visible;
	opacity: 1;
}
.recipe-lightbox__container {
	overflow: hidden;
	height: 100%;
	background: #C10017;
	border-radius: 0.313rem;
	padding: 2rem;
	display: flex;
	gap: 1.875rem;
}
.recipe-lightbox__container:after {
	content: '';
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 6rem;
	background: #C10017;
	background: linear-gradient(0deg, rgba(193, 0, 23, 1) 0%, rgba(193, 0, 23, 0) 100%);
}

.close-lightbox {
	position: absolute;
	z-index: 4;
	top: 2rem;
	right: 2rem;
	width: 1.875rem;
	height: 1.875rem;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	background-color: transparent;
	background-image: url('../images/icon-close.svg');
	box-shadow: none;
	border: 0;
}
.recipe-lightbox__image {
	max-width: 25rem;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: sticky;
	z-index: 3;
	top: 0;
	border-radius: 0.313rem;
}
.recipe-lightbox__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.recipe-lightbox__content {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	width: 100%;
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow: scroll;
}
.recipe-lightbox__content::-webkit-scrollbar { 
	display: none;
}
.recipe-lightbox__content__header {
	position: sticky;
	top: 0;
	background: #C10017;
	z-index: 3;
	width: 100%;
}
h2.recipe-lightbox__content__title {
	font-size: 3rem;
	line-height: 90%;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: -3%;
	margin: 0;
}

.instruction-title {
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.instruction-content {
	margin-top: 0;
	margin-bottom: 2.25rem;
}

/* content tabs */
.content-tabs {
	margin: 1rem 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	gap: 0.938rem;
}
.content-tab,
.content-tab--action {
	background-color: C10017;
	color: white;
	box-shadow: none;
	border: 1px solid white;
	text-align: center;
	padding: 0.5rem;
	font-size: 1rem;
	letter-spacing: -3%;
	line-height: 90%;
	font-weight: 600;
	cursor: pointer;
	transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
.content-tab--active,
.content-tab:hover,
.content-tab--action:hover {
	background-color: white;
	color: #C10017;
}

/* content panels */
.content-panels {
	position: relative;
}
.content-panel {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 1;
	display: none;
	padding-bottom: 3rem;
	font-size: 1.125rem;
	letter-spacing: -2%;
	line-height: 100%;
	transition: opacity .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
.recipe-lightbox.active .content-panel--active {
	opacity: 1;
	pointer-events: visible;
}
.content-panel--active {
	display: block;
	position: relative;
}


@media (max-width: 57.5em) {
	.close-lightbox {
		top: 1.25rem;
		right: 1.25rem;
		width: 1.5rem;
		height: 1.5rem;
	}
	.recipe-lightbox {
		height: calc(100vh - 9rem);
		top: 6.5rem;
		transform: translate(-50%, 0%);
	}
	.recipe-lightbox__container {
		flex-wrap: wrap;
		padding: 4.25rem 1.25rem 1.25rem 1.25rem;
		overflow: scroll;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.recipe-lightbox__container::-webkit-scrollbar { 
		display: none;
	}
	.recipe-lightbox__image {
		max-width: 100%;
		height: 21.25rem;
		max-height: 25vh;
		position: relative;
	}
	h2.recipe-lightbox__content__title {
		font-size: 2.5rem;
	}
	.alert-message {
		padding: 0.5rem 0.75rem;
		font-size: 0.8rem;
		bottom: 4.5rem;
	}
}
@media (max-height: 55em) {
	.recipe-lightbox {
		top: 6.5rem;
		transform: translate(-50%, 0%);
	}
}
@media (max-width: 36.25em) {
	.header-message {
		display: none;
	}
	.recipe-lightbox {
		height: calc(100vh - 3rem);
		top: 1.25rem;
		transform: translate(-50%, 0%);
		max-height: calc(100vh - 3rem);
		z-index: 11;
	}
	.recipe-lightbox__container {
		padding: 5rem 1rem 1.25rem 1rem;
	}
	.close-lightbox {
		right: 1rem;
	}
	h2.recipe-lightbox__content__title {
		font-size: 2rem;
	}
	.content-tabs {
		gap: 0.5rem;
	}
	.content-tab, 
	.content-tab--action {
		font-size: 0.9rem;
	}
}