@charset "UTF-8";

@font-face {
    font-family: 'Avenir Black';
    src: url('../fonts/AvenirLTStd-Black.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Book';
    src: url('../fonts/AvenirLTStd-Book.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
	padding: 0;
	margin: 0;
}

html {
	-webkit-text-size-adjust: none;
	font-size: 100%;
}

html, body {
	height: 100%;
}

body {
	background-color: #fff;
	margin: 0;
	font-family: 'Avenir Book', sans-serif;
	color: #3c3c3b;
	font-size: 14px;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, time { display: block; }

p {
	text-align: center;
	margin-bottom: 25px;
	font-family: 'Avenir Book', sans-serif;
	font-size: 1.1em;
	color: #666;
}

strong, b {
	font-family: 'Avenir Black', sans-serif;
}

a {
	outline: 0;
	font-weight: normal;
	color: #333;
}

a:hover {
	color: #fff26d;
	text-decoration: none;
}

footer a:hover {
	color: #519edf;
}

a img {
	border: none;
}

.bt {
	transition: all 0.2s ease-in-out;
}

hr {
	height: 1px;
	color: #CCC;
	background-color: #CCC;
	width: 1000%;
	border: none;
	margin: 10px 0 30px 0;
}

.wrap {
	position: relative;
	margin: 0 auto;
}

.gallery {
	position: relative;
	max-width: 1920px;
	margin: 0 auto;
}

#loading {
	display: none;
	margin-bottom: 30px;
}

.loader {
	margin: 0 auto;
	border: 8px solid #f3f3f3; /* Light grey */
	border-top: 8px solid #fff26d; /* Blue */
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Header */

header {
	position: relative;
	background: #fff26d url(../images/bg-header.png) no-repeat center center;
	text-align: center;
}

header .wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 853px;
}

header a.logo {
	display: block;
	margin: 0 auto;
	width: 900px;
	height: 530px;
	text-indent: -9999px;
}

header a.social {
	display: inline-block;
	vertical-align: top;
	width: 30px;
	height: 30px;
	margin: 40px 5px 5px 5px;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	text-indent: -9999px;
}

header a.social.fb {
	background-image: url(../images/facebook.svg);
}

header a.social.insta {
	background-image: url(../images/instagram.svg);
}

header a.social:hover {
	margin-top: 35px;
}

/* Menu */

nav.main {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 27px;
	line-height: 32px;
	background: linear-gradient(
	  to right, 
	  #fa8484 0px, 
	  #fa8484 613px, 
	  #5bc665 613px, 
	  #5bc665 100%
	);
	border-color: #fff;
	border-style: solid;
	border-width: 4px 0;
	overflow: hidden;
	z-index: 1000;
}

nav.main div.right {
	float: right;
	padding-right: 15px;
}

nav.main a {
	float: left;
	display: block;
	padding: 0 0 0 12px;
	text-decoration: none;
	font-size: 1.5em;
	letter-spacing: 0.15em;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	transition: all 0.2s ease-in-out;
}

nav.main a:hover {
	color: #fff26d;
}

nav.main a:after {
	content: "x";
	font-family: 'Avenir Black', sans-serif;
	font-size: 0.75em;
	color: #fff;
	margin-left: 12px;
	vertical-align: middle;
}

nav.main a.no-after:after {
	display: none;
}

nav.main a.active {
	color: white;
}

nav.main .icon {
	display: none;
}

/* Main */

main .wrap {
	max-width: 1920px;
	padding: 60px 20px;
}

main h1 {
	font-family: 'Avenir Book', sans-serif;
	font-size: 1.7em;
	letter-spacing: 0.15em;
	font-weight: normal;
	color: #222;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 40px;
}

/* Gallery */

.gallery {
	padding-bottom: 30px;
	text-align: center;
}

.gallery .item {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 610px;
	height: 570px;
	cursor: pointer;
	overflow: hidden;
	border: #fff 15px solid;
	text-align: left;
}

.gallery .item .text {
	position: absolute;
    z-index: 2;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-family: 'Avenir Black', sans-serif;
	font-size: 1em;
	letter-spacing: 0.17em;
	color: #000;
	text-align: center;
	text-transform: uppercase;
}

.gallery .item:after, 
.gallery .item .text {
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.2s, opacity 0.2s linear;
}

.gallery .item:hover:after,
.gallery .item:hover .text {
	visibility: visible;
	opacity: 1;
}

.gallery .item:after {
	content: "";
	position: absolute;
    z-index: 1;
	width: 100%;
	height: 100%;
	background-color: #fff26d;
	background-color: rgba(255, 242, 109, 0.84);
}

.gallery .item img {
	position: absolute;
    z-index: 0;
	width: 100%;
	height: auto;
}

/* Footer */

footer {
	background-color: #e5e5e5;
	font-size: 1.3em;
	letter-spacing: 0.15em;
	text-align: center;
	text-transform: uppercase;
}

footer .wrap {
	padding: 50px 0;
}

footer .credits {
	font-size: 0.8em;
}

footer span {
	font-family: 'Avenir Black', sans-serif;
	font-size: 0.65em;
	color: #000;
	margin: 0 12px;
	vertical-align: middle;
}

footer a {
	text-decoration: none;
}

footer .rhino {
	display: inline-block;
	background: url(../images/logo-m-rhino.svg) no-repeat center center;
	background-size: 200px auto;
	width: 200px;
	height: 50px;
	text-indent: -9999px;
}

/* Contact Form */

form.contact {
	max-width: 700px;
	margin: 0 auto;
	padding: 20px 20px 60px 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

form.contact input, form.contact textarea {
	display: block;
	width: 100%;
	background-color: #fff;
	border: none;
	font-family: 'Avenir Book', Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	color: #000;
	padding: 15px;
	border-bottom: #e5e5e5 2px solid;
	vertical-align: top;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	margin: 0 0 30px 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

form.contact input.error,
form.contact textarea.error {
	background-color: #e87651;
	color: #FFF;
	border-bottom: #e87651 2px solid;
}

form.contact input::placeholder,
form.contact textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #000;
	opacity: 1; /* Firefox */
}

form.contact input:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #000;
}

form.contact input::-ms-input-placeholder { /* Microsoft Edge */
	color: #000;
}

form.contact textarea {
	height: 200px;
}

form.contact p.required {
	text-align: right;
	font-size: 0.9em;
}

form.contact input.button {
	display: block;
	width: auto;
	padding: 8px 60px 5px 60px;
	margin: 0 auto;
	background-color: #fff26d;
	border: #fff26d 1px solid;
	font-size: 1.7em;
	color: #000;
	text-align: center;
	text-decoration: none;
	text-transfooter form: uppercase;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

form.contact input.button:hover {
	background-color: #fff;
	color: #000;
	border-color: #000;
}

form.contact label {
	display: block;
	font-size: 1.2em;
	color: #000;
	padding: 15px 15px 5px 15px;
}

@media screen and (max-width: 1919px) {
	header .wrap {
		height: 100vh;
	}
	nav.main a.ml {
		margin-left: 30px;
	}
	.gallery .item {
		width: 33.3vw;
		height: 33.3vw;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.gallery .item .text {
		font-size: 1.3em;
	}
}

@media screen and (max-width: 1750px) {
	nav.main {
		background: linear-gradient(
		  to right, 
		  #fa8484 0px, 
		  #fa8484 525px, 
		  #5bc665 525px, 
		  #5bc665 100%
		);
	}
}

@media screen and (max-width: 1500px) {
	nav.main {
		background: linear-gradient(
		  to right, 
		  #fa8484 0px, 
		  #fa8484 450px, 
		  #5bc665 450px, 
		  #5bc665 100%
		);
		line-height: 30px;
	}
	nav.main a {
		font-size: 1.25em;
	}
}

@media screen and (max-width: 1280px) {
	header {
		background-size: 700px auto;
	}
	header::before {
		display: none;
	}
	header .wrap {
		height: 70vh;
	}
	nav.main {
		top: 20px;
		right: 0;
		bottom: auto;
		height: auto;
		background: none;
		border: none;
	}
	nav.main a,
	nav.main a:after {
		display: none
  	}
	nav.main a.ml {
		margin-left: 0;
	}
	nav.main a.icon {
		float: right;
		display: block;
		background: url(../images/menu-button.svg) no-repeat 0 0;
		background-size: 45px auto;
		width: 50px;
		height: 50px;
		padding: 0;
		margin-right: 30px;
	}
	nav.main.responsive div.right {
		float: none;
		padding-right: 0;
	}
	nav.main.responsive a.icon {
		position: absolute;
		right: 0;
		top: 0;
		margin-right: 0;
		background-color: #fff26d;
		background-image: url(../images/menu-close.svg);
	}
	nav.main.responsive a {
		float: none;
		display: block;
		background-color: #fa8484;
		color: #fff;
		text-align: left;
		padding: 10px 15px;
	}
	nav.main.responsive div.right a {
		background-color: #5bc665;
	}
	nav.main.responsive a:hover,
	nav.main.responsive div.right a:hover {
		background-color: #fff26d;
	}
	nav.main.responsive a:hover {
		color: #000;
	}
	nav.main.responsive > a:first-child {
		margin-top: 70px;
	}
}

@media screen and (max-width: 1000px) {
	@media screen and (orientation:landscape) {
		header {
			background-size: auto 60%;
		}
	}
	.gallery .item {
		width: 50vw;
		height: 50vw;
		border-width: 10px;
	}
}

@media screen and (max-width: 800px) {
	header {
		background-size: 90% auto;
	}
	@media screen and (orientation:landscape) {
		header {
			background-size: auto 60%;
		}
	}
	header .wrap {
		height: 50vh;
	}
	header a.logo {
		height: 30vh;
	}
	main h1 {
		font-size: 1.5em;
	}
}

@media screen and (max-width: 600px) {
	.gallery .item {
		width: 100vw;
		height: 100vw;
	}
	footer {
		font-size: 1.2em;
	}
	footer span {
		display: block;
	}
}