@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600");
@import url("https://fonts.googleapis.com/css?family=Playfair+Display:700,700i");

* {
	box-sizing: border-box
}

body {
	font-family: var(--font_text);
	color: rgba(44, 48, 55, 0.8);
	line-height: 1.5;
	font-size: 14px;
	margin: 0;
	padding: 0
}

a {
	color: var(--color_primary);
	font-weight: 400;
	text-decoration: none;
	overflow: hidden;
	transition: all 0.2s ease-in-out;
}

ul.unstyled {
	padding: 0;
	margin: 0;
}

ul.unstyled li {
	list-style: none;
}

h1,
.no-logo {
	color: var(--color_primary);
	font-size: 22px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.btn {
	display: inline-block;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	line-height: normal;
	border: none;
	border-radius: 2px;
	padding: 14px 22px;
	margin: 0 5px;
	cursor: pointer;
	transition: background-color 0.4s ease-in-out
}

.btn-circle {
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 36px;
	font-size: 18px;
	border-radius: 50%;
	transition: all 0.2s ease-in-out;
}

.btn--std {
	color: #fff;
	background: var(--color_primary);
	box-shadow: 0 0 16px var(--color_primary-40);
}

.btn--std:hover {
	color: #FFF;
	background-color: var(--color_primary-darken);
}

.btn--ghost {
	color: rgba(44, 48, 55, 0.8);
}

.btn--ghost:hover {
	color: var(--color_primary);
	background-color: #F8F8F9;
}

/* ------------------------------------------
    FORM
------------------------------------------ */
input,
textarea {
	font-family: var(--font_text);
	font-size: 14px;
	border: 1px solid rgba(44, 48, 55, 0.15);
	color: rgba(44, 48, 55, 0.8);
	border-radius: 2px;
}

input:focus,
textarea:focus {
	border-color: var(--color_primary-40);
}

input::placeholder,
textarea::placeholder {
	color: rgba(44, 48, 55, 0.5)
}

body {
	display: flex;
	height: 100vh
}

#contentWrapper {
	display: flex;
	flex: 1;
}

.container {
	flex-basis: 50%;
	flex-grow: 1
}

header {
	position: relative;
	z-index: 8;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 24px
}

.social-media-wrap {
	position: relative;
	z-index: 24;
	display: flex;
	align-content: center;
}

.social-media-wrap li {
	display: flex;
	justify-content: center;
	align-items: center;
}

.social-media-wrap li:after {
	content: '';
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--color_primary);
	margin: 0 8px
}

.social-media-wrap li:last-child:after {
	display: none
}

.drodown-wrap--lang {
	position: relative;
	z-index: 24;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #FFF;
	padding: 0 8px;
	height: 32px;
	font-size: 16px;
	border-radius: 2px;
	margin: 0;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(44, 48, 55, 0.15);
}

.drodown-wrap--lang span {
	display: flex;
	justify-content: space-around;
	align-items: center;
	color: rgba(44, 48, 55, 0.5);
	font-size: 14px;
}

.drodown-wrap--lang .flag {
	width: 16px;
	height: 11px;
	margin-right: 5px;
	aspect-ratio: 16/11; /* Ensure consistent aspect ratio */
}

.drodown-wrap--lang i {
	color: var(--color_primary);
	font-size: 14px;
	margin-left: 5px;
	transition: transform 0.2s ease-in-out;
}

.drodown-wrap--lang .dropdown {
	position: absolute;
	display: flex;
	flex-direction: column;
	text-align: center;
	top: 37px;
	right: 0;
	width: 66px;
	max-height: 250px;
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	border-radius: 2px;
	background-color: #FFF;
	box-shadow: 0 2px 16px 0 rgba(44, 48, 55, 0.08);
	transform: translateY(-10px);
	transition: all 0.2s ease-in-out;
}

.drodown-wrap--lang .dropdown a {
	justify-content: center;
	color: rgba(44, 48, 55, 0.5);
	font-size: 14px;
	font-weight: 600;
}

.drodown-wrap--lang .dropdown a:hover {
	background-color: #F8F8F9;
}

.restaurant__picture {
	background-size: cover;
	background-position: center
}

.restaurant__content {
	height: 100vh;
	display: flex;
	flex-direction: column;
	text-align: center;
	background: #FFF;
	box-shadow: -2px 0 16px rgba(44, 48, 55, 0.15)
}

section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	max-width: 700px;
	width: calc(100% - 128px);
	margin: auto;
}

.restaurant__info {
	opacity: 0
}

.restaurant__info.show {
	-webkit-animation: 0.6s animTop ease-in-out forwards 0.4s;
	-moz-animation: 0.6s animTop ease-in-out forwards 0.4s;
	-ms-animation: 0.6s animTop ease-in-out forwards 0.4s;
	-o-transition: 0.6s animTop ease-in-out forwards 0.4s;
	animation: 0.6s animTop ease-in-out forwards 0.4s
}

.logo {
	max-width: 200px;
	width: auto;
	max-height: 200px;
	height: auto
}

h2 {
	font-family: var(--font_title);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 8px auto 16px
}

div.info__description {
	word-break: break-word;
	margin: 0
}

.restaurant__opening {
	opacity: 0;
	display: inline-block;
	margin: 40px auto
}

.restaurant__opening.show {
	-webkit-animation: 0.6s animTop ease-in-out forwards 1s;
	-moz-animation: 0.6s animTop ease-in-out forwards 1s;
	-ms-animation: 0.6s animTop ease-in-out forwards 1s;
	-o-transition: 0.6s animTop ease-in-out forwards 1s;
	animation: 0.6s animTop ease-in-out forwards 1s
}

.restaurant__opening:last-child {
	margin-bottom: 0
}

.opening {
	position: relative;
	border: 1px solid rgba(44, 48, 55, 0.15);
	padding: 44px 48px 48px;
	border-radius: 2px;
	margin: 0 -10px;
}

.opening:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	border: 1px solid rgba(44, 48, 55, 0.15);
	border-radius: 2px;
	width: calc(100% + 14px);
	height: calc(100% - 12px);
	transform: translate(-7px, 6px);
}

.opening p.opening__date {
	font-family: var(--font_title);
	font-size: 32px;
	font-style: italic;
	margin: 0 10px 0
}

.opening p.opening__adress {
	margin: 0
}

.buttons-wrap {
	position: relative;
	z-index: 5;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	max-width: 450px;
	margin: -30px auto 0;
}

.buttons-wrap .btn {
	margin: 5px;
	width: calc(50% - 10px);
}

.newsletter-wrap {
	width: 100%;
	opacity: 0
}

.newsletter-wrap .buttons-wrap {
	margin: 0 auto;
}

.newsletter-wrap.show {
	-webkit-animation: 0.6s animTop ease-in-out forwards 1.6s;
	-moz-animation: 0.6s animTop ease-in-out forwards 1.6s;
	-ms-animation: 0.6s animTop ease-in-out forwards 1.6s;
	-o-transition: 0.6s animTop ease-in-out forwards 1.6s;
	animation: 0.6s animTop ease-in-out forwards 1.6s
}

.newsletter-wrap h3 {
	font-family: var(--font_title);
	font-size: 14px;
	letter-spacing: 0.02em;
	margin: 0;
}

.newsletter form {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 16px 0 0
}

.newsletter-wrap .input--full {
	flex-grow: 1
}

.newsletter-wrap input[type="submit"] {
	width: auto;
}

.newsletter-wrap .newsletter__caption {
	text-align: center;
	line-height: 1.3em;
	font-size: 11px;
	margin: 10px auto 15px;
}

footer {
	margin: 24px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	line-height: 24px;
	width: calc(100% - 32px);
	text-align: center;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding-bottom: 72px;
}

.footer__links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

footer p {
	margin: 0;
}

footer a {
	color: rgba(44, 48, 55, 0.8);
}

footer a:hover {
	color: var(--color_primary);
}

.modal__wrapper {
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(44, 48, 55, 0.8);
	opacity: 0
}

.modal__wrapper.show {
	-webkit-animation: 0.8s modalWrapperIn ease-in-out forwards;
	-moz-animation: 0.8s modalWrapperIn ease-in-out forwards;
	-ms-animation: 0.8s modalWrapperIn ease-in-out forwards;
	-o-transition: 0.8s modalWrapperIn ease-in-out forwards;
	animation: 0.8s modalWrapperIn ease-in-out forwards
}

.modal__wrapper.hide {
	-webkit-animation: 0.8s modalWrapperOut ease-in-out forwards;
	-moz-animation: 0.8s modalWrapperOut ease-in-out forwards;
	-ms-animation: 0.8s modalWrapperOut ease-in-out forwards;
	-o-transition: 0.8s modalWrapperOut ease-in-out forwards;
	animation: 0.8s modalWrapperOut ease-in-out forwards
}

.modal__wrapper .modal {
	position: absolute;
	top: 50%;
	left: 50%;
	overflow: auto;
	width: 80%;
	max-width: 600px;
	height: auto;
	max-height: calc(100% - 16px);
	text-align: center;
	background: #FFF;
	color: rgba(44, 48, 55, 0.8);
	border-radius: 3px;
	box-shadow: 0 4px 24px rgba(44, 48, 55, 0.5);
	opacity: 0;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.modal__wrapper .modal.show {
	-webkit-animation: 0.8s modalIn ease-in-out forwards 0.8s;
	-moz-animation: 0.8s modalIn ease-in-out forwards 0.8s;
	-ms-animation: 0.8s modalIn ease-in-out forwards 0.8s;
	-o-transition: 0.8s modalIn ease-in-out forwards 0.8s;
	animation: 0.8s modalIn ease-in-out forwards 0.8s
}

.modal__wrapper .modal.hide {
	-webkit-animation: 0.8s modalOut ease-in-out forwards 0.8s;
	-moz-animation: 0.8s modalOut ease-in-out forwards 0.8s;
	-ms-animation: 0.8s modalOut ease-in-out forwards 0.8s;
	-o-transition: 0.8s modalOut ease-in-out forwards 0.8s;
	animation: 0.8s modalOut ease-in-out forwards 0.8s
}

.modal__wrapper .modal .modal__header {
	display: none;
	justify-content: flex-end;
	width: 100%
}

.modal__wrapper .modal .modal__header .modal__close {
	background: rgba(44, 48, 55, 0.06);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: background 0.2s ease-in-out
}

.modal__wrapper .modal .modal__header .modal__close:hover {
	background: rgba(44, 48, 55, 0.15)
}

.modal__wrapper .modal .modal__content iframe {
	height: 100%;
	width: 100%;
	display: block;
}

.iframe__wrapper {
	width: 100%;
	height: 580px;
	-webkit-overflow-scrolling: touch;
	overflow: auto;
}

.iframe__wrapper iframe {
	margin: auto;
}

@keyframes loaderIn {
	0% {
		opacity: 0
	}

	50% {
		opacity: 1
	}

	100% {
		opacity: 0
	}
}

@keyframes loaderOut {
	0% {
		opacity: 1
	}

	100% {
		opacity: 0;
		z-index: -1
	}
}

@keyframes modalWrapperIn {
	0% {
		transform: scaleY(0.005) scaleX(0);
		opacity: 1;
		z-index: 24
	}

	50% {
		transform: scaleY(0.005) scaleX(1);
		opacity: 1;
		z-index: 24
	}

	100% {
		transform: scaleY(1) scaleX(1);
		opacity: 1;
		z-index: 24
	}
}

@keyframes modalWrapperOut {
	0% {
		transform: scaleY(1) scaleX(1);
		opacity: 1;
		z-index: 24
	}

	50% {
		transform: scaleY(0.005) scaleX(1);
		opacity: 1;
		z-index: 24
	}

	100% {
		transform: scaleY(0.005) scaleX(0);
		opacity: 0;
		z-index: -1
	}
}

@keyframes modalIn {
	0% {
		-webkit-transform: translate(-50%, -40%);
		-moz-transform: translate(-50%, -40%);
		-ms-transform: translate(-50%, -40%);
		-o-transform: translate(-50%, -40%);
		transform: translate(-50%, -40%);
		opacity: 0
	}

	100% {
		-webkit-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		-o-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		opacity: 1
	}
}

@keyframes modalOut {
	0% {
		-webkit-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		-o-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		opacity: 1
	}

	100% {
		-webkit-transform: translate(-50%, -40%);
		-moz-transform: translate(-50%, -40%);
		-ms-transform: translate(-50%, -40%);
		-o-transform: translate(-50%, -40%);
		transform: translate(-50%, -40%);
		opacity: 0
	}
}

@keyframes animTop {
	0% {
		-webkit-transform: translateY(-10%);
		-moz-transform: translateY(-10%);
		-ms-transform: translateY(-10%);
		-o-transform: translateY(-10%);
		transform: translateY(-10%);
		opacity: 0
	}

	100% {
		-webkit-transform: translateY(0%);
		-moz-transform: translateY(0%);
		-ms-transform: translateY(0%);
		-o-transform: translateY(0%);
		transform: translateY(0%);
		opacity: 1
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0
	}

	100% {
		opacity: 1
	}
}

@keyframes fadeOut {
	0% {
		opacity: 1
	}

	100% {
		opacity: 0
	}
}

@keyframes fadeOutWrapper {
	0% {
		opacity: 1;
		z-index: 24;
	}

	90% {
		opacity: 0;
		z-index: 24;
	}

	100% {
		opacity: 0;
		z-index: 0;
	}
}

@media (max-width: 992px) {
	header {
		margin: 16px
	}

	body {
		flex-direction: column
	}

	.restaurant__picture {
		width: 100%;
		height: 250px !important;
		position: absolute;
		top: 0;
		left: 0
	}

	.restaurant__content {
		display: block;
		box-shadow: none
	}

	header .social .social__link {
		color: #fff
	}

	section {
		position: relative;
		z-index: 5;
		background: #FFF;
		border-radius: 2px;
		color: rgba(44, 48, 55, 0.8);
		padding: 56px;
		max-width: 769px;
		width: calc(100% - 24px);
		margin: auto;
		box-shadow: 0 2px 24px rgba(0, 0, 0, 0.1)
	}

	.btn--ghost {
		color: #FFF;
	}
}

@media (max-width: 480px) {
	header {
		margin: 16px 8px
	}

	section {
		width: calc(100% - 16px);
		padding: 32px;
	}

	section .restaurant__opening {
		width: 100%;
		margin: 32px auto
	}

	section .restaurant__opening .opening {
		padding: 40px 16px
	}

	section .restaurant__opening .opening p.opening__date {
		font-size: 24px
	}

	#optin-form .input--full,
	#optin-form .btn {
		width: 100%;
	}

	footer {
		margin: 16px
	}

	.modal__wrapper .modal {
		width: calc(100% - 16px);
	}

	.modal__wrapper .modal iframe {
		width: 100%;
		height: 100vh;
	}

	.modal__wrapper.show {
		transform: scale(1);
		z-index: 24;
		-webkit-animation: 0.8s fadeIn ease-in-out forwards;
		-moz-animation: 0.8s fadeIn ease-in-out forwards;
		-ms-animation: 0.8s fadeIn ease-in-out forwards;
		-o-transition: 0.8s fadeIn ease-in-out forwards;
		animation: 0.8s fadeIn ease-in-out forwards
	}

	.modal__wrapper.hide {
		transform: scale(1);
		-webkit-animation: 0.8s fadeOutWrapper ease-in-out forwards;
		-moz-animation: 0.8s fadeOutWrapper ease-in-out forwards;
		-ms-animation: 0.8s fadeOutWrapper ease-in-out forwards;
		-o-transition: 0.8s fadeOutWrapper ease-in-out forwards;
		animation: 0.8s fadeOutWrapper ease-in-out forwards
	}

	.modal__wrapper .modal.show {
		-webkit-animation: 0.8s fadeIn ease-in-out forwards 0.8s;
		-moz-animation: 0.8s fadeIn ease-in-out forwards 0.8s;
		-ms-animation: 0.8s fadeIn ease-in-out forwards 0.8s;
		-o-transition: 0.8s fadeIn ease-in-out forwards 0.8s;
		animation: 0.8s fadeIn ease-in-out forwards 0.8s
	}

	.modal__wrapper .modal.hide {
		-webkit-animation: 0.8s fadeOut ease-in-out forwards 0.8s;
		-moz-animation: 0.8s fadeOut ease-in-out forwards 0.8s;
		-ms-animation: 0.8s fadeOut ease-in-out forwards 0.8s;
		-o-transition: 0.8s fadeOut ease-in-out forwards 0.8s;
		animation: 0.8s fadeOut ease-in-out forwards 0.8s
	}

	.modal__wrapper {
		padding: 0 !important;
	}

	.modal__wrapper .modal {
		opacity: 1 !important;
		animation: none !important;
		position: fixed;
		width: auto;
		height: auto;
		max-height: none;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		transform: none;
		margin: 0;
		padding: 0;
		border-radius: 0;
	}

	.modal__wrapper .modal .iframe__wrapper,
	.modal__wrapper .modal .modal__content {
		height: 100%;
	}

	.buttons-wrap .btn {
		width: 100%;
	}
}
