@font-face {
	font-family: 'Roboto';
	src: url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
}

::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: #C4C4C4; 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

::-webkit-scrollbar-track {
    background: none; 
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
	min-width: 320px;
	font-size: 13px;
	font-weight: 400;
	font-style: normal;
	color: #1D1D1D;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	color: #1D1D1D;
}

.container {
	box-sizing: border-box;
	width: 100%;
	padding: 0 8px;
	max-width: 1216px;
}

.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 72px;
}

header {
	font-weight: 500;
}

.header-right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.header-right a {
	padding-right: 8px;
	padding-left: 15px;
}

.header-right a[hidden] {
	display: none;
}

.enter {
	border: 1px solid #E0E0E0;
	border-radius: 2px;
	width: 78px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.enter:hover {
	background: #F2F2F2;
}

.rest-header {
	background-image: url(img/food-head.png);
	background-size: contain;
	background-size: cover;
	background-position: center center
}

.rest-card {
	background: #FFFFFF;
	box-shadow: 0px 0px 16px rgba(117, 117, 117, 0.2);
	border-radius: 2px;
	box-sizing: border-box;
	height: 180px;
	padding: 24px 0;
	margin: 131px 0 -55px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

main h1 {
	font-size: 24px;
	line-height: 28px;
	margin: 0;
	font-weight: 400;
}

main h6 {
	font-size: 14px;
	line-height: 16px;
	font-weight: normal;
	color: #626262;
	margin: 0;
}

.time {
	color: #FFFFFF;
	background: #262626;
	border-radius: 16px;
	font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 98px;
	height: 32px;
	margin: 16px auto 0;
}

.nav-menu {
	display: none;
	border-bottom: 1px solid rgba(117, 117, 117, 0.2);
}

.nav-menu nav {
	height: 80px;
	display: flex;
	align-items: center;
	font-size: 16px;
	line-height: 19px;
}

.nav-menu ul {
	list-style: none;
	padding: 0;
}

.nav-menu li {
	display: inline-block;
	padding-right: 40px;
}

.nav-menu a {
	color: #626262;
}

.nav-menu li:first-of-type a {
	color: #327430;
}

.menu {
	margin-top: 55px;
	margin-bottom: -8px;
	padding-top: 56px;
}

.menu h2 {
	text-align: center;
	font-size: 22px;
	line-height: 34px;
	font-weight: 400;
	margin: 0;
}

.menu hr {
	width: 50px;
	height: 1px;
	border: none;
	background: #757575;
	margin: 12px auto 0;
}

.menu .row {
	margin-top: 27px;
}

.menu figure {
	margin: 16px 0 0;
	height: 102px;
	box-sizing: border-box;
	border-bottom: 1px solid rgba(117, 117, 117, 0.2);
}

.menu img {
	float: right;
	width: 102px; 
	height: 102px;
	border-radius: 2px;
	margin: -1px;
}

.menu figcaption {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-right: 18px;
}

.menu figcaption h4, h5, p {
	margin: 0;
}

.menu figcaption h4 {
	font-size: 14px;
	line-height: 24px;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.menu figcaption p {
	margin-top: 4px;
	font-size: 13px;
	line-height: 21px;
	color: #626262;
}

.menu figcaption h5 {
	margin-bottom: 15px;
	font-size: 15px;
	line-height: 21px;
	font-weight: 500;
}

footer {
	background: #262626;
	color: #FFFFFF;
	margin-top: 48px;
}

.footer-logo {
	padding: 56px 0 40px;
}

footer hr {
	opacity: 0.4;
	border: none;
	height: 1px;
	background: #FFFFFF;
}

footer a {
	color: #FFFFFF;
}

.footer-main {
	padding: 32px 0 25px;
}

select {
	height: 40px;
	width: 173px;
	color: #FFFFFF;
	background: #3B3B3B;
	border: thin solid #3B3B3B;
	border-radius: 2px;
	padding-left: 48px;
	appearance: none;
	background-image: url(img/arrow.svg), url(img/halfglobe.svg);
	background-repeat: no-repeat, no-repeat;
	background-position: 96% center, 8% center;
}

.sn-links {
	width: 96px;
	height: 59px;
	box-sizing: border-box;
	margin: 32px 0;
	font-size: 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.icons {
	display: flex;
	justify-content: space-between;
}

.icons a {
	height: 24px;
}

.green {
	color: #49A144;
}

footer p {
	margin: 0;
}

.links p {
	padding: 7px 0 15px;
}

.footer-stores {
	height: 84px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-stores img {
	height: 36px;
	padding-right: 24px;
}

.footer-end {
	padding: 40px 0 16px;
}

.footer-end p {
	padding-bottom: 24px;
}

.square {
	position: fixed;
	width: 64px;
	height: 64px;
	right: 16px;
	bottom: 24px;
	background: #59BD5A;
	border-radius: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 25px;
	box-sizing: border-box;
}

.square:hover {
	border: 3px solid #49A144;
}

.square p {
	color: #FFFFFF;
}

@media screen and (min-width: 768px) {
	.header-right a[hidden] {
		display: inline-block;
	}

	.rest-card {
		align-items: flex-start;
		height: 204px;
		padding: 38px 52px 38px 48px;
		margin: 80px 0;
		min-width: 390px;
	}

	main h1 {
		font-size: 36px;
		line-height: 42px;
	}

	.price-time {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.time {
		width: 94px;
		margin: 0;
	}

	.nav-menu {
		display: block;
	}

	.menu {
		margin-top: 0;
		margin-bottom: 0;
	}

	.menu h2 {
		text-align: left;
	}

	.menu hr {
		display: none;
	}

	.menu .row {
		margin-top: 0;
	}

	.menu figure {
		border: 1px solid rgba(117, 117, 117, 0.2);
		border-radius: 2px;
		margin-top: 32px;
		height: 160px;
	}

	.menu figure:hover {
		background: #7575750a;
	}

	.menu img {
		width: 200px; 
		height: 160px;
	}

	.menu figcaption {
		padding: 16px 24px;
	}

	.menu figcaption h4 {
		font-size: 16px;
	}

	.menu figcaption h5 {
		margin-bottom: 0;
	}

	.footer-main {
		padding: 32px 0 33px;
	}

	.footer-stores {
		height: 120px;
	}

	.footer-stores img {
		height: 40px;
		padding-right: 40px;
	}

	select {
		width: 176px;
	}

	.square {
		width: 80px;
		height: 80px;
	}
}

@media screen and (min-width: 992px) {
	.container {
		max-width: 1216px;
		padding: 0 81px;
	}

	.rest-card {		
		padding: 38px 29px 38px 48px;
	}

	.time {
		width: 100px;
	}

	.menu .row {
		margin-top: -17px;
	}

	.menu figure {
		margin-top: 49px;
	}

	.menu img {
		width: 170px; 
	}

	.menu figcaption {
		padding: 16px 16px;
	}

	footer {
		margin-top: 80px;
	}

	select {
		width: 227px;
		background-image: url(img/arrow.svg), url(img/globe.svg);
		background-repeat: no-repeat, no-repeat;
		background-position: 96% center, 8% center;
	}
}