/* Resetting settings and setting standard */

*, html, body {
	margin: 0;
	padding: 0;
	font-family: 'Quicksand', sans-serif;
}

a {
	font-family: 'Quicksand', sans-serif;
	color: black;
	text-decoration: none;
	font-size: 15px;
}

li {
	list-style-type: none;
}


/* menu bar */

#menubar-container {
	width: 100%;
	height: 125px;
	position: fixed;
	top: 0;
	z-index:4;
	background-color: white;
}

#logo {
	width: 200px;
	height: auto;
	position: relative;
	float: left;
	margin-left: 100px;
	top: 50%;
	transform: translateY(-50%);
	vertical-align: center;
}

#name {
	font-weight: 400;
	font-size: 25px;
	line-height: 30px;
}

#sub {
	font-weight: 300;
	font-size: 20px;
	line-height: 22px;
}

#menu {
	width: auto;
	height: 40px;
	margin-top: 42.5px;
	position: relative;
	float: right;
	margin-left: 50px;
	vertical-align: center;
	margin-right: calc(100px - 25px);
}

#menu ul {
	height: auto;
	float: right;
	position: relative;
}

#menu a {
	padding: 0 15px;
}

#menu #contact-btn {
	background-color: black;
}

#menu #contact-btn a {
	color: white;
	padding: 12px 18px;
}

#menu ul li {
	float: left;
	line-height: 40px;
	margin: 0 10px;
}

#menu ul li a:hover {
	color: grey;

}

/* btt btn */

#btt-button {
	width: 50px;
	height: 50px;
	bottom: 60px;
	right: 40px;
	float: right;
	position: fixed;
	z-index: 5;
	display: none;
	background-color: white;
	border-radius: 60px;
	box-shadow: 0 0 50px 0px #0e0e0e;
}

#btt-button div {
	opacity: 0.8;
	position: absolute;
	width: 50px;
	height: 50px;
	background-image: url(../images/arrowblack.png);
	background-repeat: no-repeat;
	background-size: 25px;
	background-position: center;
	transform: rotate(180deg);
}

/* thumbnails */

#items {
	margin-top: calc(50vh - 300px);
	max-width: 90%;
	width: 1000px;
	height: 600px;
	transform: translateX(-50%);
	margin-left: 50%;
	z-index: 1;
}

#item-box {
	position: relative;
	max-width: 100%;
	display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
  z-index: 1;
}

#item-box li {
	min-width: 230px;
	width: 24.5%;
	margin: auto;
	height: 600px;
	float: left;
	background-repeat: no-repeat;
	text-align: center;
	position: relative;
	z-index: 1;

}


#item-box li:nth-child(1) {
	background-image: url('../images/frametake.JPG');
	background-size: cover;
	background-position: center;
}

#item-box li:nth-child(2) {
	background-image: url('../images/frametake7.png');
	background-size: cover;
	background-position: center;
}

#item-box li:nth-child(3) {
	background-image: url('../images/frametake8.JPG');
	background-size: 200%;
	background-position: center 0px;
}

#item-box li:nth-child(4) {
	background-image: url('../images/frametake6.JPG');
	background-size: cover;
	background-position: -650px center;
}
	
@media screen and (max-width: 1050px) {
	#items {
		width: 500px;
	} #items li {
		margin-top: 20px;
	}
}

#showcase {
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0, 0);
	position: relative;
	transition: 0.3s ease-out;
	z-index: 1;
}

#item-box li:hover #showcase {
	background-color: rgba(0,0,0,0.6);
	position: relative;
	z-index: 3;
}

#item-box li {
	transition: 0.1s linear;
}

#item-box li:hover {
	transform: scale(1.02);
}


#item-box li:active {
	transform: scale(1.01);
}

#showcase p {
	color: white;
	text-shadow: 1px 0px 12px black;
	opacity: 0;
	transform: translateY(-40px);
	transition: 0.2s linear;
}

#showcase .title {
	position: absolute;
	top: 470px;
	width: 100%;
	text-align: center;
	text-transform: capitalize;
	font-size: 22px;
	font-weight: 600;
}

#showcase .subTitle {
	position: absolute;
	top: 500px;
	width: 100%;
	text-align: center;
	text-transform: capitalize;
	font-size: 18px;
	font-weight: 500;
}

#item-box li:hover #showcase p {
	opacity: 1;
	transform: translateY(0px);
}

#showcase a {
	padding: 10px 40px;
	text-align: center;
	background-color: rgba(255,255,255, 0.8);
	top: 570px;
	font-weight: 500;
	position: absolute;
	color: black;
	opacity: 0;
	transition: 0.2s linear;
	left: calc(50% - 69.5px);

}

#item-box li:hover #showcase a {
	opacity: 1;
	top: 550px;
}

#showcase a:hover {
	background-color: rgba(255,255,255, 1);
}
