html,
body {
	margin:0;
	background-color:#1D2326;
	background-image:url(images/background.png);
}
	

.next-button {
	opacity:0.2;
	top:20em;
	right:1.4em;
	height:0px;
	position: fixed;
	z-index:999;
	cursor:pointer;
	transition:opacity ease-in-out 0.4s;
}

.next-button img{
	width:80%;
}

.next-button:hover {
	opacity:1;
}

.previous-button {
	opacity:0.2;
	top:20em;
	left:1.4em;
	height:0px;
	position: fixed;
	z-index:999;
	cursor:pointer;
	transition:opacity ease-in-out 0.4s;
}

.previous-button:hover {
	opacity:1;
}

.previous-button img{
	width:80%;
}

.perspective {
	position: absolute;
	width: 100%;
	height: 100%;
	
	-webkit-perspective: 1200px;
	-moz-perspective: 1200px;
	perspective: 1200px;
}

.page {
	width: 100%;
	height:auto;
	position: absolute;
	top: 0;
	left: 0;
	visibility:hidden;
	overflow: visible;
	
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.page-current,
.no-js .page {
	visibility: visible;
	z-index: 1;
}

.page-ontop {
	z-index: 999;
}

/*-----------font-----------*/
h1 {
	font-size:2.5em;
	font-family: 'Arvo', serif;
	color:#611427;
}

h5 {
	font-size:3em;
	font-family: 'Arvo', serif;
	color:#DDDCC5;
}

h3 {
	text-align:right;
	font-size:2em;
	font-family: 'Arvo', serif;
	color:#611427;
}

h4 {
	font-size:1.8em;
	font-family: 'Arvo', serif;
	color:#DDDCC5;
}



/*-----------pages-----------*/
.home {
	text-align:center;
	
}

.home img{
	/*background-color:#B44042;
	border-radius:100%;*/
	width:600px;
	height:600px;
	
	top:0; 
	bottom:0; 
	left:0; 
	right: 0; 
	margin: 5em auto auto auto;
}

.gallery {
	width:900px;
	margin: 3em auto auto auto;
	list-style:none;
}



/*-----------------cell-----------------------*/

.cell {
	float:left;
   width: 200px;
   height: 200px;
   margin: 10px;
   overflow: hidden;
   position: relative;
   text-align: center;
   border-radius:20px;

}
.cell .mask {
   background-color:#B44042;
   border-radius:20px;
   width: 200px;
   height: 200px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.cell img {
   position: relative;
   top:0;
   right:0;
   bottom:0;
   left:0;
   margin:50px auto auto auto;
}

.cell h2 {
   text-transform: uppercase;
   font-family: 'Arvo', serif;
	color:#611427;
   text-align: center;
   position: relative;
   font-size: 17px;
   padding: 10px;
   margin: 20px 0 0 0;
}
.cell p {
   font-family: 'Arvo', serif;
   font-style: italic;
   font-size: 12px;
   position: relative;
   color: #DDDCC5;
   padding: 10px 20px 20px;
   text-align: center;
}


/*--------transiton--------*/


.cell img {
   -webkit-transform: scaleY(1);
   -moz-transform: scaleY(1);
   -o-transform: scaleY(1);
   -ms-transform: scaleY(1);
   transform: scaleY(1);
   -webkit-transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
   -moz-transition: opacity 0.2s ease-in-out, -moz-transform 0.2s ease-in-out;
   -o-transition: opacity 0.2s ease-in-out, o-transform 0.2s ease-in-out;
   -ms-transition: opacity 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
   transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.cell .mask {
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.cell h2 {
   border-bottom: 1px solid #DDDCC5;
   margin: 20px 40px 0px 40px;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.cell p {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}

.cell:hover img {
   -webkit-transform: scale(3);
   -moz-transform: scale(3);
   -o-transform: scale(3);
   -ms-transform: scale(3);
   transform: scale(3);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.cell:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.cell:hover h2,.cell:hover p {
   -webkit-transform: scale(1);
   -moz-transform: scale(1);
   -o-transform: scale(1);
   -ms-transform: scale(1);
   transform: scale(1);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
				

.one {
	width:500px;
	height:auto;
	
	top:0; 
	bottom:0; 
	left:0; 
	right: 0; 
	margin: 10em auto auto auto;
}

.two{
	width:500px;
	height:500px;
	color:#E3CDA4;
	top:0; 
	bottom:0; 
	left:0; 
	right: 0; 
	margin: 10em auto auto auto;
}

.about{
	width:500px;
	height:500px;
	color:#E3CDA4;
	top:0; 
	bottom:0; 
	left:0; 
	right: 0; 
	margin: 3em auto auto auto;
}

.three {
	width:500px;
	height:500px;
	color:#E3CDA4;
	top:0; 
	bottom:0; 
	left:0; 
	right: 0; 
	margin: 10em auto auto auto;
}

@media only screen and (max-width :960px) {

.next-button {
	top:1em;
}


.previous-button {
	top:1em;
}

h1 {
	font-size:2em;
}

h4 {
	font-size:1.5em;
}

.about {
	margin: 8em auto auto auto;
}


.gallery {
	width:750px;
	margin: 5em auto auto auto;
	list-style:none;
}



/*-----------------cell-----------------------*/

.cell {
	float:left;
   width: 150px;
   height: 150px;
   margin: 10px;
   overflow: hidden;
   position: relative;
   text-align: center;
   border-radius:20px;
}

.cell img {
   margin:30px auto auto auto;
}

.cell .mask,.cell .content {
   background-color:#B44042;
   border-radius:20px;
   width: 150px;
   height: 150px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.cell h2 {
   text-transform: uppercase;
   font-family: 'Arvo', serif;
	color:#611427;
   text-align: center;
   position: relative;
   font-size: 15px;
   margin: 15px 0px 0px 0px;
}
.cell p {
   font-family: 'Arvo', serif;
   font-style: italic;
   font-size: 10px;
   position: relative;
   color: #DDDCC5;
   margin:5px;
   padding: 10px 0px 0px;
   text-align: center;
}
}


@media only screen and (max-width :720px) {
	
.home {
	text-align:center;
}

.home img{
	width:400px;
	height:400px;
	margin: 8em auto auto auto;
}


.gallery {
	top:0;
	right:0;
	left:0;
	bottom:0;
	width:500px;
	margin: 5em auto auto auto;
	list-style:none;
	text-align:center;
}



/*-----------------cell-----------------------*/

.cell {
	float:left;
   width: 130px;
   height: 130px;
   margin: 6px;
   overflow: visible;
   position: relative;
   text-align: center;
   border-radius:15px;
}

.cell img {
   margin:20px auto auto auto;
   overflow:hidden;
}

.cell .mask,.cell .content {
   background-color:#B44042;
   border-radius:15px;
   width: 130px;
   height: 130px;
   position: absolute;
   overflow: visible;
   top: 0;
   left: 0;
}

.cell h2 {
   text-transform: uppercase;
   font-family: 'Arvo', serif;
	color:#611427;
   text-align: center;
   position: relative;
   font-size: 14px;
   margin: 6px 0px 0px 0px;
}

.cell p {
   font-family: 'Arvo', serif;
   font-style: italic;
   font-size: 10px;
   position: relative;
   color: #DDDCC5;
   margin:5px;
   padding: 10px 0px 0px;
   text-align: center;
}


.one {
	width:400px;
	height:auto;
	margin: 7em auto auto auto;
}

.two{
	width:400px;
	height:auto;
	margin: 7em auto auto auto;
}

.about {
	width:400px;
	height:auto;
	margin: 7em auto auto auto;
}

.three {
	width:400px;
	height:auto;
	margin: 10em auto auto auto;
}


.cell img {
   -webkit-transform: scaleY(1);
   -moz-transform: scaleY(1);
   -o-transform: scaleY(1);
   -ms-transform: scaleY(1);
   transform: scaleY(1);
   -webkit-transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
   -moz-transition: opacity 0.2s ease-in-out, -moz-transform 0.2s ease-in-out;
   -o-transition: opacity 0.2s ease-in-out, o-transform 0.2s ease-in-out;
   -ms-transition: opacity 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
   transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.cell .mask {
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.cell h2 {
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.cell p {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}

.cell:hover img {
   -webkit-transform: scale(1.4);
   -moz-transform: scale(1.4);
   -o-transform: scale(1.4);
   -ms-transform: scale(1.4);
   transform: scale(1.4);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.cell:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.cell:hover h2,.cell:hover p {
   -webkit-transform: scale(1);
   -moz-transform: scale(1);
   -o-transform: scale(1);
   -ms-transform: scale(1);
   transform: scale(1);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}

}


@media only screen and (max-width :480px) {
	
.next-button {
	right:0.2em;
}

.next-button img{
	width:60%;
}

.previous-button {
	left:1em;

}

.previous-button img{
	width:60%;
}
	
/*-----------pages-----------*/

.home img{
	width:300px;
	height:300px;
	margin: 8em auto auto auto;
}

.gallery {
	width:350px;
	margin: 5em auto auto auto;
	list-style:none;
}



/*-----------------cell-----------------------*/

.cell {
	float:left;
   width: 130px;
   height: 130px;
   margin: 10px;
   overflow: visible;
   position: relative;
   text-align: center;
   border-radius:15px;
}

.cell img {
   margin:10px auto auto auto;
   overflow:hidden;
}

.cell .mask,.cell .content {
   background-color:#B44042;
   border-radius:15px;
   width: 130px;
   height: 130px;
   position: absolute;
   overflow: visible;
   top: 0;
   left: 0;
}

.cell h2 {
   text-transform: uppercase;
   font-family: 'Arvo', serif;
	color:#611427;
   text-align: center;
   position: relative;
   font-size: 14px;
   margin: 6px 0px 0px 0px;
}



.cell img {
   -webkit-transform: none;
   -moz-transform: none;
   -o-transform: none;
   -ms-transform: none;
   transform: none;
   -webkit-transition: none;
   -moz-transition: none;
   -o-transition: none;
   -ms-transition: none;
   transition: none;
}

.cell .mask {
   -webkit-transition: none;
   -moz-transition: none;
   -o-transition: none;
   -ms-transition: none;
   transition: none;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.cell h2 {
   -webkit-transform: none;
   -moz-transform: none;
   -o-transform: none;
   -ms-transform: none;
   transform: none;
   
   -webkit-transition: none;
   -moz-transition: none;
   -o-transition: none;
   -ms-transition: none;
   transition: none;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.cell p {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
   -webkit-transform: none;
   -moz-transform: none;
   -o-transform: none;
   -ms-transform: none;
   transform: none;
   -webkit-transition: none;
   -moz-transition: none;
   -o-transition: none;
   -ms-transition: none;
   transition: none;
}

.cell:hover img {
   -webkit-transform: none;
   -moz-transform: none;
   -o-transform: none;
   -ms-transform: none;
   transform: none;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.cell:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.cell:hover h2,.cell:hover p {
   -webkit-transform: none;
   -moz-transform: none;
   -o-transform: none;
   -ms-transform:none;
   transform: none;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}

.one {
	width:300px;
	height:auto;
	margin: 10em auto auto auto;
}

.two{
	width:300px;
	height:auto;
	margin: 10em auto auto auto;
}

.about {
	width:300px;
	height:auto;
	margin: 8em auto auto auto;
}

.three {
	width:300px;
	height:auto;
	margin: 10em auto auto auto;
}


/*-----------font-----------*/

h1 {
	font-size:1.2em;
}

h5 {
	font-size:2em;
}

h3 {
	font-size:1.4em;
}

h4 {
	font-size:1em;
}
}


