@charset "UTF-8";


/* ------------------------------
   GLOBAL
------------------------------ */

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background-color: #111111;
	color: #111111;

	font-family: "Courier New", Courier, monospace;
}


/* ------------------------------
   MENU PAPER
------------------------------ */

.menu_page {
	padding: 28px;
}

.menu_sheet {
	width: min(1200px, 100%);
	margin: 0 auto;

	background-color: #EFE9DE;
	background-image: url("assets/paper-texture.png");
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;

	padding: 38px;

	border: 2px solid #111111;
}


/* ------------------------------
   MENU HEADER
------------------------------ */

.menu_header {
	position: relative;
	display: block;

	padding-bottom: 14px;

	border-bottom: 3px solid #111111;
}

.menu_brand {
	width: 100%;
	min-width: 0;
}

.menu_logo_stack {
	position: relative;

	width: min(520px, 70%);
	margin: 0 auto;
}

.menu_logo_layer {
	display: block;

	width: 100%;
	height: auto;
}

.menu_logo_mask,
.menu_logo_mustache {
	position: absolute;

	top: 0;
	left: 0;
}

.menu_logo_base {
	position: relative;
	z-index: 1;
}

.menu_logo_mask {
	z-index: 2;
}

.menu_logo_mustache {
	z-index: 3;
}

.menu_brand p {
	margin: 8px 0 0;

	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.menu_meta {
	position: absolute;

	right: 0;
	bottom: 14px;

	text-align: right;
}

.menu_meta p {
	margin: 0;

	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
}


/* ------------------------------
   QUESTION
------------------------------ */

.menu_intro {
	padding: 30px 0 24px;
}

.menu_intro h2 {
	margin: 0;

	font-size: clamp(25px, 4vw, 48px);
	letter-spacing: 0.06em;
}


/* ------------------------------
   LAYOUT
------------------------------ */

.menu_layout {
	display: grid;

	grid-template-columns:
		minmax(0, 1.8fr)
		minmax(280px, 0.8fr);

	gap: 38px;
}


/* ------------------------------
   SECTION LABELS
------------------------------ */

.track_list h3,
.order_panel h3 {
	display: inline-block;

	margin: 0 0 14px;
	padding: 6px 12px;

	background-color: #111111;
	color: #EFE9DE;

	font-size: 19px;
	letter-spacing: 0.08em;
}


/* ------------------------------
   SONG
------------------------------ */

.track {
	display: grid;

	grid-template-columns: 64px minmax(0, 1fr);

	column-gap: 18px;

	padding: 14px 0 20px;

	border-bottom: 2px solid #111111;
}

.track_art {
	width: 54px;
	height: 54px;

	object-fit: cover;
	align-self: start;
}

.track_content {
	min-width: 0;
	width: 100%;
}

.track_top {
	display: flex;
	align-items: baseline;

	gap: 8px;
}

.track_name {
	font-size: 27px;
	font-weight: 900;
}

.track_dots {
	flex: 1;

	border-bottom: 3px dotted #111111;

	transform: translateY(-5px);
}

.track_time {
	font-size: 21px;
	font-weight: 900;
}

.track_meta {
	margin: 5px 0 0;

	font-size: 14px;
	font-weight: 700;
}


/* ------------------------------
   TRACK BUTTONS
------------------------------ */

.track_actions {
	display: flex;
	justify-content: flex-end;

	gap: 9px;

	margin-top: 12px;
}

.sample_button,
.add_button {
	min-height: 40px;

	padding: 7px 12px;

	background: transparent;

	font-weight: 900;

	cursor: pointer;
}

.sample_button {
	border: 2px solid #111111;
	color: #111111;
}

.add_button {
	border: 2px solid #E6392F;
	color: #E6392F;
}

.add_button.added {
	background-color: #E6392F;
	color: #FFF8F2;
}


/* ------------------------------
   ORDER
------------------------------ */

.order_panel {
	align-self: start;

	padding: 22px;

	border: 2px solid #111111;
}

.order_items {
	width: 100%;
}

.order_empty {
	margin: 0;

	padding: 26px 0;

	border-bottom: 2px dashed #111111;

	opacity: 0.55;
}

.order_item {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 12px;

	padding: 10px 0;

	border-bottom: 1px dashed #111111;

	font-weight: 700;
}

.remove_item {
	border: 0;

	background: transparent;
	color: #111111;

	font-size: 22px;
	font-weight: 900;

	cursor: pointer;
}

.order_total {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 20px;

	padding: 18px 0;

	font-size: 13px;
	font-weight: 700;
}

.order_total strong {
	font-size: 27px;
}

.view_order_button {
	width: 100%;

	padding: 16px;

	border: 0;

	background-color: #E6392F;
	color: #FFF8F2;

	font-size: 17px;
	font-weight: 900;
	letter-spacing: 0.08em;

	cursor: pointer;
}
.checkout_button {
	display: none;
}
}


/* ------------------------------
   NOW PLAYING
------------------------------ */

.now_playing {
	grid-column: 1 / -1;

	display: none;

	grid-template-columns:
		54px
		minmax(140px, auto)
		42px1fr auto;

	align-items: center;

	gap: 14px;

	margin-top: 6px;
	padding: 12px;

	border: 2px solid #111111;

	background: rgba(239, 233, 222, 0.92);
}

.now_playing.active {
	display: grid;
}

.now_playing_art {
	width: 54px;
	height: 54px;

	object-fit: cover;
}

.now_playing_info {
	display: flex;
	flex-direction: column;

	gap: 2px;
}

.now_playing_label {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.12em;
}

#nowPlayingTitle {
	font-size: 16px;
}

#nowPlayingAlbum {
	font-size: 11px;
}

.player_button {
	width: 40px;
	height: 40px;

	border: 2px solid #111111;

	background: transparent;
	color: #111111;

	font-weight: 900;

	cursor: pointer;
}

.player_progress {
	height: 5px;

	background: #B8B3AC;

	overflow: hidden;

	cursor: pointer;
}

.player_progress_fill {
	width: 0%;
	height: 100%;

	background: #E6392F;
}

.player_time {
	font-size: 12px;
	font-weight: 900;
}


/* ------------------------------
   FOOTER
------------------------------ */

.menu_footer {
	margin-top: 34px;

	padding-top: 12px;

	border-top: 2px solid #111111;

	font-size: 12px;
	font-weight: 700;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 760px) {

	body.mobile_order_visible .menu_page {
		padding-bottom: 120px;
	}


	/* PAPER */

	.menu_page {
		padding: 8px;

		transition: padding-bottom 200ms ease;
	}

	.menu_sheet {
		width: 100%;

		padding: 20px 14px;
	}


	/* HEADER */

	.menu_logo_stack {
		width: min(400px, 86%);
	}

	.menu_brand p {
	margin-top: 10px;
	font-size: 10px;
	text-align: center;
}

.menu_meta {
	position: static;
	margin-top: 4px;
	text-align: center;
}

.menu_meta p {
	font-size: 10px;
}


	/* QUESTION */

	.menu_intro {
		padding: 24px 0 16px;
	}

	.menu_intro h2 {
		font-size: clamp(23px, 7vw, 32px);
	}


	/* ONE COLUMN */

	.menu_layout {
		display: block;
	}


	/* TRACKS */

	.track {
		grid-template-columns: 48px minmax(0, 1fr);

		column-gap: 11px;

		padding: 14px 0 18px;
	}

	.track_art {
		width: 46px;
		height: 46px;
	}

	.track_name {
		font-size: 20px;
	}

	.track_time {
		font-size: 17px;
	}

	.track_meta {
		font-size: 11px;
	}

	.track_dots {
		border-bottom-width: 2px;
	}

	.track_actions {
		justify-content: flex-start;

		margin-top: 10px;
	}

	.sample_button,
	.add_button {
		min-height: 42px;

		padding: 8px 11px;
	}


	/* --------------------------
	   MOBILE ORDER BAR
	-------------------------- */

	.order_panel {
		display: none;

		position: fixed;

		left: 8px;
		right: 8px;
		bottom: 8px;

		z-index: 100;

		margin: 0;
		padding: 10px 12px;

		background-color: #EFE9DE;

		border: 2px solid #111111;

		box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.22);
	}

	.order_panel.has_items {
		display: grid;

		grid-template-columns: 1fr auto;
		align-items: center;

		gap: 4px 12px;
	}

	.order_panel h3 {
		margin: 0;
		padding: 5px 8px;

		font-size: 13px;
	}

	.order_panel .order_items {
		display: none;
	}

	.order_panel .order_total {
		padding: 0;

		gap: 7px;
	}

	.order_panel .order_total span {
		display: none;
	}

	.order_panel .order_total strong {
		font-size: 20px;
	}

	.order_panel .view_order_button {
		grid-column: 1 / -1;

		padding: 8px;

		font-size: 12px;
	}


	/* --------------------------
	   EXPANDED ORDER DRAWER
	-------------------------- */

	.order_panel.expanded {
		display: block;

		top: auto;

		max-height: 75vh;

		padding: 18px;

		overflow-y: auto;
	}

	.order_panel.expanded h3 {
		margin-bottom: 12px;

		font-size: 17px;
	}

	.order_panel.expanded .order_items {
		display: block;

		max-height: 45vh;

		overflow-y: auto;
	}

	.order_panel.expanded .order_total {
		display: flex;

		padding: 16px 0;
	}

	.order_panel.expanded .order_total span {
		display: inline;
	}

	.order_panel.expanded .order_total strong {
		font-size: 26px;
	}

	.order_panel.expanded .view_order_button {
		width: 100%;

		padding: 13px;

		font-size: 14px;
	}
	
	.order_panel.expanded .checkout_button {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 13px;
	border: 2px solid #111111;
	background-color: #111111;
	color: #EFE9DE;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.08em;
	cursor: pointer;

}


	/* --------------------------
	   MOBILE NOW PLAYING
	-------------------------- */

	.now_playing {
		grid-column: auto;

		grid-template-columns:
			46px
			minmax(0, 1fr)
			40px;

		gap: 10px;

		margin-top: 22px;
		padding: 10px;
	}

	.now_playing_art {
		width: 46px;
		height: 46px;
	}

	.now_playing_info {
		min-width: 0;
	}

	#nowPlayingTitle,
	#nowPlayingAlbum {
		overflow: hidden;

		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.player_progress {
		grid-column: 1 / 3;

		width: 100%;
	}

	.player_time {
		grid-column: 3;

		text-align: right;
	}

}


/* ==========================================================
   SHIESTY DROP
========================================================== */

.menu_logo_mask {
	animation: shiestyDrop 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shiestyDrop {

	0% {
		transform: translateY(-90px);
	}

	100% {
		transform: translateY(0);
	}

}