@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
	line-height: 1.5;
	background: #0d0d0d;
	font-family: "Montserrat", sans-serif;
	overflow: hidden;
}

body {
	position: relative;
	display: flex;
	flex-direction: column;
}

/* header */
header {
	display: flex;
	flex-wrap: wrap;
	height: 100%;
	overflow: hidden;
	flex: 1 1 auto;
}

header > div {
	width: 50%;
	padding: 20px;
}

#logo {
	text-align: center;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

h1 {
	display: none;
}

h2 {
	color: #fff;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 24px;
}

#logo img {
	width: 80%;
	max-width: 500px;
}

#headBck {
	background: linear-gradient(to right, #0d0d0d 5%, rgba(0, 0, 0, 0) 66%),url(../images/background.png) no-repeat center center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
}

.nav {
	display: block;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	cursor: pointer;
	font-size: 24px;
	line-height: 70px;
	padding: 0 30px;
	border: 2px solid #e09d27;
	background: rgba(0,0,0,.5);
	border-radius: 9px;
	transition: .25s ease-out;
}

.nav:hover {
	background: #e09d27;
}

/* galerie */
section {
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	text-align: center;
	height: calc(100% - 60px);
	z-index: 1;
	background: #0d0d0d;
	transition: .4s ease-out;
	display: flex;
	flex-direction: column;
}

section#flash {
	left: auto;
	right: -100%;
}

section#real.open {
	left: 0;
}

section#flash.open {
	right: 0;
}

.title {
	font-size: 40px;
	line-height: 100px;
	padding: 0 20px;
	color: #fff;
	font-weight: 400;
	font-style: normal;
	text-transform: uppercase;
	flex: 0 0 auto;
	position: relative;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	overflow: auto;
}

#real .img {
	width: calc(100% / 8);
	overflow: hidden;
}

#real .img a {
	position: relative;
	padding-bottom: 178%;
	height: 0;
	width: 100%;
	display: block;
	background-size: cover;
	background-position: center;
}

#real .nav {
	position: absolute;
	top: 20px;
	right: 20px;
	line-height: 60px;
	font-size: 24px;
}

#flash .img {
	width: 20%;
	overflow: hidden;
}

#flash .img a {
	position: relative;
	padding-bottom: 100%;
	height: 0;
	width: 100%;
	display: block;
	background-size: cover;
	background-position: center;
}

#flash .nav {
	position: absolute;
	top: 20px;
	left: 20px;
	line-height: 60px;
	font-size: 24px;
}

/* footer */
footer {
	flex: 0 0 auto;
	background: #e09d27;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-item: center;
	line-height: 60px;
	font-size: 24px;
}

footer a {
	color: #fff;
	padding: 0 20px;
	text-decoration: none;
	text-transform: uppercase;
}

#contactBtn::before {
	content: '';
	background-image: url(../images/msg.png);
	background-size: 30px 30px;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-right: 10px;
	vertical-align: text-bottom;
}

.mfp-figure figure {
	position: relative;
	z-index: 1;
}

.mfp-figure figure::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
}

.mfp-figure figcaption {
	display: none;
}

@media screen and (max-width: 1300px){
	#flash .img {
		width: 25%;
	}
}

@media screen and (max-width: 1000px){
	.title {
		font-size: 30px;
		line-height: 70px;
	}
	
	#real .title {
		text-align: left;
	}
	
	#flash .title {
		text-align: right;
	}
	
	#flash .nav,
	#real .nav {
		top: 15px;
		line-height: 40px;
		padding: 0 20px;
	}
	
	#real .img {
		width: 25%;
	}
	
	#flash .img {
		width: 33.333%;
	}
}

@media screen and (max-width: 800px){
	header {
		flex-direction: column;
	}
	
	header > div {
		width: 100%;
		flex: 1 1 0;
	}
	
	#logo img {
		max-width: 60%;
	}
	
	#headBck {
		gap: 20px;
		background: linear-gradient(to bottom, #0d0d0d 5%, rgba(0, 0, 0, 0) 66%),url(../images/background.png) no-repeat center center;
		background-size: cover;
	}
	
	#headBck .nav {
		font-size: 20px;
		line-height: 60px;
		padding: 0 20px;
	}
}

@media screen and (max-width: 700px){
	#real .img {
		width: 33.333%;
	}
	
	#flash .img {
		width: 50%;
	}
}

@media screen and (max-width: 650px){
	#flash .nav span,
	#real .nav span {
		display: none;
	}
	
	.title {
		font-size: 22px;
	}
	
	footer {
		font-size: 20px;
	}
	
	#contactBtn::before {
		background-size: 25px 25px;
		width: 25px;
		height: 25px;
	}
}

@media screen and (max-width: 450px){
	.btn {
		font-size: 16px;
	}
	
	#real .img {
		width: 50%;
	}
}

@media screen and (max-width: 350px){
	
}