html { position: relative; min-height: 100%; margin: 0; }
body { width: 100%; height: 100%; margin: 0; background-color: #F5F5F5; }

/* FONTS */
/* FONTS */
/* FONTS */
/* FONTS */
/* FONTS */

@font-face {
	font-family:'Gotham-Light';
	src:url(fonts/Gotham-Light.ttf);
}

@font-face {
	font-family:'Gotham-Book';
	src:url(fonts/Gotham-Book.ttf);
}

@font-face {
	font-family:'Gotham-Medium';
	src:url(fonts/Gotham-Medium.ttf);
}

@font-face {
	font-family:'Gotham-Black';
	src:url(fonts/Gotham-Black.ttf);
}

h1, p, li { font-family: Gotham-Light; }
h2, .form__submit { font-family: Gotham-Black; }

h1 { font-size: 22px; }
h2, .form__submit{ font-size: 18px; margin: 20px 0;}
p { font-size: 14px; line-height: 26px; }
.list__list li { font-size: 18px; line-height: 34px; }
a { text-decoration: none; color: #FFF; }

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

.nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 20px;
}

.nav div { background-repeat: no-repeat; }

.nav__logo {
	margin: 0 auto 0 0;
	width: 48px;
	height: 48px;
	background-image: url(images/logo.svg);
	background-size: 100%;
	background-position: center;
}

.nav__list {
	margin: 0 20px 0 auto;
	width: 22px;
	height: 22px;
	background-image: url(images/nav__list.svg);
}

.nav__about {
	margin: 0 20px 0 0;
	width: 22px;
	height: 22px;
	background-image: url(images/nav__about.svg);
}

.nav__contact {
	margin: 0;
	width: 22px;
	height: 22px;
	background-image: url(images/nav__contact.svg);
}

.panel { 
	background-color: #2d2d2d;
	color: #FFF;
	height: 100%;
	display: none;
	margin-bottom: 20px;
}

.close {
	margin: 0 0 30px auto;
	width: 22px;
	height: 22px;
	background: url(images/close.svg);
	background-size: 100%;
	background-repeat: no-repeat;
}

.list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.list a { color: #FFF; }

.about a, .contact a { font-family: Gotham-Black; }

.contact input, .contact textarea {
	display: block;
	width: 100%;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #FFF;
    background-color: #2d2d2d;
    font-size: 18px;
    font-family: Gotham-Light;
    color: #FFF;
}

.contact input {
	height: 50px;
	margin-bottom: 20px;
}

.contact select {
	display: block;
	width: 100%;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-radius: 0px;
    border-color: #FFF;
    background-color: #2d2d2d;
    font-size: 18px;
    font-family: Gotham-Light;
    color: #666;
	height: 50px;
	margin-bottom: 20px;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
}

.form__submit { 
	background-color: transparent;
	border-width: 0px;
	color: #FFF;
	padding: 0;
}

.gallery { color: #FFF; }

.gallery__item {
	margin-bottom: 20px;
	background-color: #4d415f;
	display: flex;
	overflow: hidden;
}

.gallery__item_background {
	width: 100%;
	height: 100%;
	filter: blur(0px);
	opacity: 1;
	transition: filter .5s, opacity .5s;
	background-position: center;
}

.gallery__content {
	position: absolute;
	min-width: 280px;
	z-index: 2;
	transition: opacity .5s;
	display: flex;
	flex-direction: column;
}

.gallery__item:hover .gallery__item_background { 
	filter: blur(10px);
	opacity: 0.7;
}

.gallery__item:hover .gallery__content { 
	opacity: 1;
}

.item { display: none; }

.footer {
	max-width: 100%;
	text-align: center;
	font-size: 12px;
	color: #2d2d2d;
	font-family: Gotham-Light;
}


@media only screen and (min-width: 800px), only screen and (min-device-width: 800px) {
	.nav { padding: 0px; }
	.panel { padding: 60px; }
	.gallery__item, .gallery__content { height: 400px; }
	.gallery__item_background {	background-size: 100%; }
	.gallery__content { 
		opacity: 0;
		margin: auto auto 20px 20px;
	}
	.gallery__content h1 { margin: auto auto 10px 40px; line-height: 32px; }
	.gallery__content p { margin: 0 auto 60px 40px; }
}

@media only screen and (max-width: 799px), only screen and (max-device-width: 799px) {
	.nav { padding: 0 20px; }
	.panel { padding: 60px; }
	.panel { padding: 20px; }
	.gallery__item, .gallery__content { height: 180px; }
	.gallery__item_background {
		background-size: cover;
		filter: blur(3px);
		opacity: 0.7;
	}
	.gallery__content { 
		opacity: 1;
		margin: auto auto 0px 0px;
	}
	.gallery__content h1 { margin: auto auto 10px 20px; line-height: 18px; }
	.gallery__content p { margin: 0 auto 30px 20px; }
}