/* Nav Styles */
.nav {
	padding: 2rem 0;
}
.nav__icon,
.nav__close,
.nav__bgOverlay {
	display: none;
}
.nav__wrapper {
	display: flex;
	justify-content: center;
	flex-direction: column-reverse;
	flex-wrap: nowrap;
}
.nav__list li {
	display: inline-block;
	margin: 0 1rem;
}
.nav__list .nav__link {
	font-size: 1.9rem;
	font-family: system-ui;
	color: #ffffff;
	padding: 0.7rem;
}
.nav__list li:hover .nav__link {
	color: darkred;
}
@media only screen and (max-width: 768px) {
	.nav {
		position: relative;
		/* overflow-x: scroll; */
		background-color: #000046;
		display: contents;
	}
	.nav__icon {
		display: block;
		color: whitesmoke;
	}
	.nav__icon svg,
	.nav__close svg {
		pointer-events: none;
		height: 30px;
		width: 30px;
	}
	.nav__close {
		display: block;
		position: absolute;
		color: #c7c7c7;
		top: 15px;
		cursor: pointer;
		left: 50%;
	}
	.nav__list {
		z-index: 1000;
		position: absolute;
		left: 100%;
		top: 0;
		height: 100vh;
		width: 100%;
		background: #000000;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		padding: 50px 0 0;
		transform: translate(0%);
		overflow: hidden;
		transition: 0.3s ease-in transform;
	}
	.nav__list.show {
		transform: translate(-100%);
	}
	.nav__list li {
		display: block;
		text-align: right;
		margin-bottom: 2rem;
	}
	.nav__list a {
		font-size: 1.6rem;
	}
	.nav__bgOverlay {
		position: absolute;
		left: 0;
		top: 0;
		z-index: 1000;
		height: 100vh;
		width: 100%;
		background: rgba(18, 24, 14, 0.808);
		display: none;
	}
	.nav__bgOverlay.active {
		display: block;
	}
}
/* End Nav Styles */
/* Global Button Styles */
.btn {
	color: #ffffffbd;
	font-family: system-ui;
	font-weight: 500;
	border-radius: 8px;
	font-size: 1.6rem;
	padding: 1.2rem 2rem;
	/* width: 100%; */
}
.primary-btn {
	color: #ffffff;
	background: #9d0000;
	text-align: center;
	margin-top: 10px;
}
@media only screen and (min-width: 700px) {
	.btn {
		padding: 1.3rem 2rem;
		font-size: 2rem;
	}
}
/* End Global Button Styles */

/* Store info section styles*/
.storeInfo__wrapper {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
}
.storeInfo__item {
	background-color: #e8e8e8;
	padding: 18px 16px;
	text-align: center;
	text-align: center;
	border-radius: 12px;
	width: 135px;
}
.storeInfo__icon {
	width: 60px;
	margin: 0 auto;
	margin-bottom: 1.5rem;
}
.storeInfo__title {
	font-size: 1.4rem;
	font-family: Poppins;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--black-1);
}
.storeInfo__text {
	font-size: 1.4rem;
	font-family: Raleway;
	color: var(--black-2);
}
@media only screen and (min-width: 768px) {
	.storeInfo__wrapper {
		gap: 2rem;
	}
	.storeInfo__item {
		min-width: 200px;
		padding: 40px 0;
	}
	.storeInfo__icon {
		width: 47px;
		margin-bottom: 2.5rem;
	}
	.storeInfo__title {
		font-size: 1.8rem;
		margin-bottom: 1rem;
	}
	.storeInfo__text {
		font-size: 1.6rem;
	}
}

/* Dishes Grid */
.dishGrid__title {
	font-size: 1.8rem;
	margin-bottom: 2rem;
	font-weight: 600;
	color: #e3e3e3;
}
.dishGrid__wrapper {
	display: grid;
	/* grid-template-columns: repeat(autofit, minmax(140px, 1fr)); */
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
}
.dishGrid__item {
	/* display: flex; */
	background-color: #ffffff;
	padding: 0.5rem;
	border-radius: 8px;
	gap: 0.5rem;
	flex-wrap: nowrap;
	align-content: flex-end;
	justify-content: space-around;
	align-items: baseline;
	flex-direction: column-reverse;
	width: fit-content;
	border: solid 1px lightgray;
}
.dishGrid__item__img {
	flex: 4;
}
.dishGrid__item__info {
	flex: 3;
	text-align: center;
}
.dishGrid__item__img img {
	object-fit: cover;
	border-radius: 12px;
	height: 175.88px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
.dishGrid__item__title {
	font-size: 1.4rem;
	line-height: 1.3em;
	font-weight: 700;
	color: black;
}
.dishGrid__item__price {
	font-size: 1.4rem;
	color: #cb101a;
	font-weight: 600;
}
.dishGrid__item__stars {
	max-height: 15px;
	width: max-content;
	/* padding-right: 8px; */
	margin-right: auto;
	margin-left: auto;
}
@media only screen and (min-width: 768px) {
	.dishGrid__title {
		font-size: 3rem;
		text-align: center;
		font-family: system-ui;
	}
	.dishGrid__wrapper {
		grid-template-columns: repeat(auto-fit, minmax(169px, 1fr));
		gap: 3rem;
	}
	.dishGrid__item {
		flex-direction: row;
		border-radius: 12px;
		gap: 1rem;
	}
	.dishGrid__item__title {
		font-size: 2rem;
	}
	.dishGrid__item__price {
		font-size: 2rem;
	}
}
/* Dishes Grid */

/* Footer Styles */
footer {
	background: #000000;
	padding-top: 5rem;
	padding-bottom: 2rem;
}
.footer__wrapper {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}
.footer__logo {
	width: 150px;
	margin-bottom: 2rem;
}
.footer__desc {
	font-size: 1.4rem;
	color: #d0d0d0;
	margin-bottom: 2rem;
}
.footer__socials__title {
	font-size: 1.8rem;
	color: #d0d0d0;
	margin-bottom: 1rem;
}
.footer__socials li {
	display: inline-block;
	margin-right: 0.5rem;
}
.footer__socials a {
	padding: 0.5rem 0.8rem;
	background-color: var(--white-1);
	border: 1px solid var(--green-2);
	border-radius: 8px;
}
.footer__socials svg {
	width: 20px;
	color: var(--black-2);
}
.footer__text__title {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: #d0d0d0;
	font-weight: 600;
}
.footer__text a {
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
	color: #d0d0d0;
	font-family: Raleway;
	font-weight: 500;
	line-height: 1.4em;
}
@media only screen and (min-width: 768px) {
	footer {
		padding-top: 8rem;
		padding-bottom: 4rem;
	}
	.footer__wrapper {
		flex-direction: row;
	}
	.footer__col1 {
		flex: 4;
	}
	.footer__col2,
	.footer__col3,
	.footer__col4 {
		flex: 2;
	}
	.footer__desc {
		max-width: 300px;
		font-size: 1.8rem;
		margin-bottom: 2.5rem;
	}
	.footer__socials__title {
		font-size: 2rem;
		margin-bottom: 1.5rem;
	}
	.footer__text__title {
		font-size: 2rem;
		margin-bottom: 2rem;
	}
	.footer__text a {
		font-size: 1.8rem;
		margin-bottom: 1rem;
	}
}
#copyright {
	padding: 1rem 0;
}
.copyright__text {
	font-size: 1.4rem;
	text-align: center;
}
@media only screen and (min-width: 768px) {
	.copyright__text {
		font-size: 1.6rem;
		text-align: left;
		color: white;
	}
}
/* End Footer Styles */

/* Form Styles */
#form {
	padding: 5rem 0;
}
.form__title {
	font-size: 1.8rem;
	color: #e3e3e3;
	font-weight: 600;
}
.form__wrapper {
	padding: 3rem 0;
}
.form__wrapper form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
.form__group label {
	font-size: 1.6rem;
	font-family: Poppins;
	color: #dedede;
	font-weight: 500;
}
.form__group input,
.form__group textarea,
.form__group select {
	width: 100%;
	border: none;
	background-color: var(--lightGreen-1);
	font-size: 1.4rem;
	font-family: Raleway;
	font-weight: 600;
	padding: 1.5rem;
	border-radius: 8px;
	margin-top: 0.5rem;
	color: var(--black-2);
}
.form__group textarea {
	resize: vertical;
}
.form__wrapper button[type='submit'] {
	width: max-content;
	border: none;
	padding: 1rem 4rem;
	font-weight: 500;
	letter-spacing: 0.1rem;
}
@media only screen and (min-width: 768px) {
	.form__title {
		font-size: 3.6rem;
	}
	.form__wrapper {
		padding: 5rem 0;
	}
	.form__wrapper form {
		grid-template-columns: 1fr 1fr;
	}
	.form__group__full {
		grid-column: 1/3;
	}
	.form__group label {
		font-size: 1.8rem;
	}
	.form__group input,
	.form__group textarea,
	.form__group select {
		font-size: 1.8rem;
		padding: 2rem;
		margin-top: 1.5rem;
	}
}

@media only screen and (max-width: 450px) {

	.dishGrid__item {
	/* display: flex; */
	background-color: #ffffff;
	padding: 0.5rem;
	border-radius: 8px;
	gap: 0.5rem;
	flex-wrap: nowrap;
	align-content: flex-end;
	justify-content: space-around;
	align-items: baseline;
	flex-direction: column-reverse;
	width: 158px;
	border: solid 1px lightgray;
}
}




@media only screen and (min-width: 768px) {
	.nav {
		position: relative;
		/* overflow-x: scroll; */
		/* background-color: #000046; */
		display: contents;
	}

	/* Modal */
#wrapper {
  margin-top: -79px;
}

}