/* ===GLOBAL=== */
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
	font-family: myriad-pro, sans-serif;
	font-style: normal;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	height: 100vh;
	width: 100%;
	overflow-x: hidden;
}

body {
	height: 100%;
	display: flex;
	flex-direction: column;
	color: #222;
	justify-content: space-between;
	width: 100%;
	/*TODO: uncomment this when you're sure nothing is overflowing*/
	/*overflow-x: hidden;*/
}

body::-webkit-scrollbar {
	width: 0;
}

body.fixed {
	position: fixed;
}

a {
	text-decoration: none;
	color: #222222;
}

ul {
	padding-left: 0;
}

li {
	list-style: none;
}

::selection {
	background: #b4bb46;
	text-shadow: none;
}

/* ===BUTTONS=== */
button {
	all: unset;
	color: #222222;
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
}

button[disabled] {
	background-color: #0000001f;
	color: #00000042;
}

.btn {
	display: inline-block;
	position: relative;
	background-color: transparent;
	padding: 14px 28px;
	cursor: pointer;
	text-align: center;
	align-self: center;
}

.btn-flat {
	display: inline-block;
	background-color: #d5dddb;
}

.btn-outline-wht {
	color: #ffffff;
	border-top: 2px solid white;
	border-bottom: 2px solid white;
}

.btn-outline-blk::before, .btn-outline-blk::after {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 1px;
	left: 0;
	background-color: #222;
	transition: transform 0.3s ease;
}

.btn-outline-blk::before {
	top: 0;
	transform: translateY(-1px);
}

.btn-outline-blk::after {
	bottom: 0;
	transform: translateY(1px);
}

.btn-outline-blk {
	color: #222222;
	border-top: 1px solid #222222;
	border-bottom: 1px solid #222222;
	font-family: "trajan-pro-3", serif;
	font-size: 1.2rem;
}

.btn-outline-wht:hover::before {
	transform: translateY(0px);
}

.btn-outline-blk:hover::before, .btn-outline-blk:hover::after {
	transform: translateY(0px);
}

.page-title {
	display: inline-block;
	font-family: "trajan-pro-3", serif;
	font-variant: small-caps;
	font-size: 2.5rem;
}

/* ===CARDS=== */
.card {
	display: flex;
	flex-direction: column;
	padding: 40px;
	margin: 0 auto 40px auto;
	background: #fff;
	border-radius: 8px;
	position: relative;
	box-shadow: 5px 7px 17px 5px rgba(0,0,0,0.4);
				/*0 1px 2px rgba(0, 0, 0, 0.24),*/
				/*0 1px 8px 1px rgba(0, 0, 0, 0.36);*/
	transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

dialog {
	border: none;
	border-radius: 8px;
	width: 40vw;
	max-width: 700px;
	padding: 30px;
}

dialog button {
	font-family: tablet-gothic-wide, sans-serif;
}

dialog::backdrop {
	background-color: #222222;
	opacity: .4;
}

.dialog-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dialog-text h3 {
	font-variant: small-caps;
	font-size: 1.5rem;
}

.dialog-text p {
	font-family: tablet-gothic-wide, sans-serif;
	font-size: 1.2rem;
}

.dialog-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 30px;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
}

textarea {
	resize: vertical;
}

/* ===NAV=== */
#mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	background-color: #ffffff;
	color: #222222;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	opacity: 0.99;
	z-index: 1;
	transform: translateY(-110vh);
	transition: 500ms transform;
	overflow: hidden;
}

#mobile-nav-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.mobile-nav-li a {
	font-size: 2rem;
	font-family: myriad-pro, sans-serif;
}

.mobile-nav-li:hover {
	cursor: pointer;
	transform: scale(1.02);
}

#mobile-nav-logo {
	margin-top: 3rem;
	width: 5rem;
}

#mobile-nav-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 5rem;
}

#mobile-nav-contact p {
	font-size: 1.6rem;
	font-family: "trajan-pro-3", serif;
}

#mobile-nav-contact a {
	font-size: 1.4rem;
}

#menu-btn {
	display: none;
	position: absolute;
	left: calc(100vw - 100px);
	right: 30px;
	background: url(/assets/img/menu-icons.png) no-repeat -50px 0;
	width: 50px;
	height: 50px;
	cursor: pointer;
	mix-blend-mode: difference;
}

#menu-btn.open {
	background-position-x: 0;
	background-position-y: 0;
}

#top-nav:hover a {
	opacity: .5;
}

#top-nav:hover a:hover {
	opacity: 1.0;
}

#top-nav {
	display: flex;
	flex-direction: row;
	gap: 30px;
	justify-content: center;
	align-items: center;
	padding: 30px 30px;
}

#top-nav:only-child {
	align-self: end;
}

#top-nav-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	max-width: 70rem;
}

#top-nav-container :only-child {
	margin: auto;
}

.top-nav-links {
	display: flex;
	flex-direction: row;
	gap: 30px;
	font-family: "trajan-pro-3", serif;
	font-size: 1.2em;
	transition: opacity 150ms ease-in;
}

.top-nav-links a {
	transition: opacity 100ms ease-in;
}

#top-logo {
	height: 2.5rem;
}

/* ===FOOTER=== */
footer {
	background-color: #EEE3CD;
	display: flex;
	justify-content: center;
	padding: 3rem 0;
	font-size: 1.1rem;
}

#footer-contact {
	text-align: center;
	font-variant: small-caps;
	font-size: 1.3rem;
}

#footer-content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
}

#footer-hours {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	text-align: center;
	justify-content: center;
	font-variant: small-caps;
	font-size: 1.3rem;
}

#footer-hours p {
	margin: 0;
}

#footer-links {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	justify-content: center;
}

#footer-links a {
	text-decoration: none;
	color: #222222;
	transition: opacity 150ms ease-in;
}

#footer-links:hover a {
	opacity: .5;
}

#footer-links:hover a:hover {
	opacity: 1.0;
}

#footer-logo {
	width: 3rem;
}

#footer-restaurant {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem 0;
	font-size: 1.2rem;
	font-family: "trajan-pro-3", serif;
}

#footer-restaurant-logos {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	justify-content: center;
	align-items: flex-end;
}

.footer-restaurant-logo {
	width: 150px;
	height: auto;
}

/* ===MEDIA=== */
/*Small devices*/
@media only screen and (max-width: 767.98px) {
	#mobile-nav.open {
		transform: translateY(0);
	}

	.nav-items > li {
		list-style-type: none;
		margin-bottom: 10px;
		text-align: center;
	}

	nav > #menu-btn {
		display: inline-block;
		z-index: 10;
	}

	dialog {
		width: 90vw;
	}

	#top-nav {
		justify-content: center;
	}

	.top-nav-links {
		display: none;
	}

	#footer {
		grid-template-columns: none;
		grid-template-rows: 1fr 1px 1fr;
	}
}

/*Medium devices*/
@media only screen and (max-width: 991.98px) {

}


/*Large devices*/
@media (max-width: 1199.98px) {
	dialog {
		width: 75vw;
	}
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
	display: none !important;
}

.sr-only {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
	/* 1 */
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	white-space: inherit;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix::before,
.clearfix::after {
	content: " ";
	display: table;
}

.clearfix::after {
	clear: both;
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*::before,
	*::after {
		background: #fff !important;
		color: #000 !important;
		/* Black prints faster */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}

	abbr[title]::after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links that are fragment identifiers,
	 * or use the `javascript:` pseudo protocol
	 */
	a[href^="#"]::after,
	a[href^="javascript:"]::after {
		content: "";
	}

	pre {
		white-space: pre-wrap !important;
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	/*
	 * Printing Tables:
	 * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
	 */
	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}

