@import "fonts.css";

:root {
	--secondary-color: #FF5C17;
	--main-bg-color: #292E36;
}
* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

ul {
	list-style: none;
}

img {
	width: 100%;
}

h1, h2, h3 {
	font-family: "CormorantInfant-Bold";
}

body {
	font-size: 16px;
	font-family: "JosefinSans-Light", sans-serif;
	color: #292E36;
}

.wrapper {
	max-width: 1260px;
	margin: auto;
}

header {
	position: relative;
	background-color: var(--main-bg-color);
	border-bottom: 1px solid #fff;
	z-index: 2;
}
.header__content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
}
.header__logo__img {
	width: 160px;
}
.header__menu {
	display: none;
	position: absolute;
	top: 76px;
	right: 0;
	background-color: #292E36;
	padding: 20px;
	height: 100vh;
}
.header__menu__list {
	display: flex;
	flex-direction: column;
	grid-gap: 26px;
}
.header__menu__list a {
	color: #fff;
	font-size: 18px;
	font-family: JosefinSans-Light;
}
.header__menu__list a.active {
	color: var(--secondary-color);
}
.header__submenu img {
	width: 26px;
}
.header__submenu img.open {
	display: none;
	transform: rotate(180deg);
}
.header__submenu__list {
	display: none;
	background-color: #3b424c;
	padding: 20px;
	flex-direction: column;
	grid-gap: 10px;
	margin-top: 10px;
}
.header__btn {
	cursor: pointer;
}
.header__btn_menu {
	width: 26px;
}
.header__btn_close {
	display: none;
	width: 20px;
}

.bg {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #000;
}

.screen500,
.screen768,
.screen1000,
.screen1200 {
	display: none;
}

.btn {
	display: block;
	color: #fff;
	padding: 12px 0;
	width: 200px;
	text-align: center;
	border: 2px solid #fff;
	background-color: var(--secondary-color);
}

.contact {
	padding: 40px 20px;
	background-image: url('../img/home/contact.png');
}
.contact__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.contact__left {
	width: 260px;
	padding: 20px;
	margin-bottom: 20px;
	background: rgba(41, 46, 54, 0.95);
}
.contact__right {
	width: 260px;
	padding: 20px 20px;
	background: rgba(41, 46, 54, 0.95);
}
.contact__title {
	color: #fff;
	font-size: 28px;
	text-align: center;
	margin-bottom: 30px;
}
.contact__title2 {
	color: #fff;
	font-size: 18px;
	text-align: center;
	font-family: JosefinSans-Bold;
	border-top: 1px solid #FF5C17;
	border-bottom: 1px solid #FF5C17;
	margin: auto;
	margin-bottom: 20px;
	padding: 6px 0;
	width: 220px;
}
.contact__frm {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	flex-wrap: wrap;
	grid-gap: 10px;
	margin-bottom: 30px;
}
.contact__frm input {
	padding: 16px;
	color: #fff;
	border: 1px solid #858585;
	background: rgba(41, 46, 54, 0.95);
	font-family: JosefinSans-Regular;
	font-size: 16px;
	outline: none;
}
.contact__error {
	display: none;
	background-color: red;
	color: #fff;
	text-align: center;
	padding: 6px 0;
	margin-top: -20px;
	margin-bottom: 10px;
}
.contact__btn {
	padding: 16px 0;
	width: 250px;
}
.contact__row {
	display: flex;
	color: #fff;
	margin-bottom: 30px;
}
.contact__img_loc {
	width: 20px;
}
.contact__img_mail {
	width: 26px;
}
.contact__img_phone {
	width: 20px;
}
.contact__row p {
	font-size: 16px;
	margin-left: 20px;
	font-family: 'JosefinSans-Light'
}
.contact__row .email {
	font-size: 16px;
}
.contact__rrss {
	display: flex;
	justify-content: center;
	grid-gap: 20px;
}
.contact__rrss img {
	width: 36px;
}
.contact__success {
	display: none;
	text-align: center;
}
.contact__success__img {
	width: 30px;
	margin-bottom: 10px;
}
.contact__success__title {
	color: #fff;
	font-size: 22px;
	text-align: center;
	margin-bottom: 20px;
	border-top: 1px solid #FF5C17;
    border-bottom: 1px solid #FF5C17;
}
.contact__success__txt {
	color: #fff;
	font-size: 18px;
	margin-bottom: 10px;
}

.gallery {
	padding: 40px 10px;
	max-width: 1100px;
	margin: auto;
}
.gallery__title {
	font-size: 34px;
	text-align: center;
	margin-bottom: 40px;
	line-height: 32px;
}
.gallery__list {
	display: flex;
	grid-gap: 10px;
	justify-content: space-between;
	margin-bottom: 50px;
}
.gallery__item {
	position: relative;
	width: 90px;
	height: 240px;
	background-size: cover;
	background-image: url('../img/home/gallery/cafe-jade.jpg');
	background-position: center;
}
.gallery__item__bg {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.3;
}
.gallery__item h3 {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 30px;
	text-align: center;
}
.gallery__item.g2 {
	background-image: url('../img/home/gallery/la-casona.jpg');
}
.gallery__item.g3 {
	background-image: url('../img/home/gallery/dall-italiano.jpg');
}
.gallery__item.active {
	width: 200px;
}
.gallery__item.active .gallery__item__bg {
	display: block;
}
.gallery__item.active h3 {
	display: block;
}
.gallery__button {
	text-align: center;
}
.gallery__btn {
	width: 300px;
	font-size: 20px;
	margin: auto;
	padding: 12px 0;
}

footer {
	background-color: #292E36;
}
.footer__content {
	display: flex;
	flex-direction: column;
	padding: 30px 0;
	max-width: 1200px;
	width: 230px;
	margin: auto;
}
.footer__left {
	text-align: center;
	margin-bottom: 30px;
}
.footer__left img {
	width: 100px;
}
.footer__content a {
	display: block;
	color: #fff;
	font-size: 16px;
	font-family: 'JosefinSans-Light'
}
.footer__content a:last-child {
	margin-bottom: 0;
}
.header__menu__list a:hover,
.footer__content a:hover {
	color: var(--secondary-color);
}
.footer__middle {
	margin-bottom: 20px;
}

@media screen and (min-width: 360px) {

	.contact__row .email {
		font-size: 16px;
	}

}

@media screen and (min-width: 500px) {
	
	.gallery__list {
		width: 460px;
		margin: auto;
		margin-bottom: 30px;
	}
	.gallery__item {
    	width: 120px;
	}
	.gallery__item.active {
    	width: 200px;
	}
	.contact__left,
	.contact__right {
		width: 400px;
	}
	.contact__success__title {
		width: 310px;
		margin: auto;
		margin-bottom: 20px;
	}
	.screen500 {
		display: block;
	}

}

@media screen and (min-width: 768px) {

	.contact__content {
		flex-direction: row;
		grid-gap: 30px;
	}
	.contact__left {
		margin-bottom: 0;
	}
	.contact__title {
		margin-bottom: 16px;
	}
	.contact__right {
		padding: 50px 20px;
	}
	.contact__title2 {
		margin-bottom: 40px;
	}
	.contact__row p,
	.contact__row .email {
		font-size: 18px;
	}
	.contact__rrss img {
		width: 38px;
	}
	.contact__btn {
		font-size: 18px;
	}
	.gallery__title {
		font-size: 36px;
	}
	.gallery__list {
		width: 700px;
		margin: auto;
		margin-bottom: 30px;
	}
	.gallery__item {
    	width: 180px;
    	height: 340px;
	}
	.gallery__item.active {
    	width: 280px;
	}
	.screen768 {
		display: block;
	}
	.footer__content {
		padding: 30px 20px;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: auto;
		margin: 0 20px;
	}
	.footer__left {
		margin-bottom: 0;
	}
	.footer__middle {
		margin-bottom: 0;
	}
	.footer__content a {
		font-size: 18px;
	}

}

@media screen and (min-width: 1000px) {

	.header__menu {
		top: 90px;
	}
	.header__logo__img {
		width: 200px;
	}
	.contact__left {
		padding: 30px;
		width: 480px;
	}
	.contact__title {
		margin-bottom: 30px;
	}
	.contact__frm {
		flex-direction: row;
		grid-gap: 20px;
	}
	.contact__frm input {
		width: 186px;
	}
	.contact__right {
		width: 340px;
		padding: 30px;
	}
	.contact__title2 {
		margin-bottom: 20px;
	}
	.contact__row .email {
		font-size: 18px;
	}
	.contact__success__txt {
		width: 360px;
		margin: auto;
		margin-bottom: 10px;
	}
	.gallery__list {
		width: 960px;
		margin: auto;
		margin-bottom: 30px;
	}
	.gallery__item {
    	width: 240px;
    	height: 400px;
	}
	.gallery__item.active {
    	width: 420px;
	}
	.screen1000 {
		display: block;
	}

}

@media screen and (min-width: 1100px) {

	.header__menu {
		display: flex;
		position: unset;
		height: auto;
	}
	.header__menu__list {
		flex-direction: row;
	}
	.header__menu__list li {
		position: relative;
	}
	.header__submenu__list {
		position: absolute;
		top: 12px;
		left: 0;
		width: 200px;
		grid-gap: 16px;
	}
	.header__btn {
		display: none;
	}

}

@media screen and (min-width: 1200px) {

	.header__logo__img {
		width: 260px;
	}
	.header__menu__list {
		grid-gap: 46px;
	}
	.header__menu__list a {
		font-size: 20px;
	}
	.contact {
    	padding: 60px 20px;
	}
	.contact__title {
		font-size: 32px;
	}
	.contact__title2 {
		margin-bottom: 30px;
	}
	.contact__left {
		width: 600px;
	}
	.contact__right {
		width: 400px;
	}
	.contact__frm {
		grid-gap: 30px;
	}
	.contact__frm input {
		width: 240px;
		font-size: 18px;
	}
	.contact__row p,
	.contact__row .email {
		font-size: 20px;
	}
	.contact__btn {
		font-size: 20px;
	}
	.contact__rrss img {
		width: 46px;
	}
	.contact__title2 {
		font-size: 20px;
	}
	.gallery {
		padding: 60px 20px;
	}
	.gallery__title {
		font-size: 40px;
	}
	.gallery__list {
		width: 1100px;
		margin: auto;
		margin-bottom: 30px;
	}
	.gallery__item {
    	width: 280px;
    	height: 440px;
	}
	.gallery__item.active {
    	width: 500px;
	}
	.gallery__btn {
	    padding: 16px 0;
	    font-size: 20px;
	}
	.footer__content {
		margin: auto;
	}
	.footer__content a {
		font-size: 20px;
	}
	.screen1200 {
		display: block;
	}

}
