html{
	width: 100%;
	height: 100%;
}

body{
	width: 100%;
	height: 100%;
	margin: 0;
	background-image: linear-gradient(to bottom right, #AA9CBA, #9E9CBA);
	background-attachment: fixed;
	color: floralwhite;
}

main h1{
	margin-top: 80px;
	margin-bottom: 35px;
	font-size: 50px;
	text-align: center;
	text-shadow: 3px 3px 6px gray;
}

main h2{
	margin-top: 30px;
	margin: 20px;
	font-size: 25;
	text-align: center;
}

.gallery{
columns: 4;
padding:0 70px;
margin:0;
}

.gallery li {
    margin-bottom: 20px;
	list-style:none;
}

.gallery img{
	width:100%;
	height:auto;
	vertical-align: bottom;/
}

@media only screen and (max-width: 900px) {
	.gallery{
	columns:3;
	}	
}

@media only screen and (max-width: 768px) {
	.gallery{
	columns: 2;
	}	
}




.pagination{
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1em;
	z-index: 10;
	list-style: none;
}

.pagination a{
	display: block;
	height: 20px;
	margin: 5px;
	color: #fff;
	position: relative;
	padding: 4px;
}

.pagination a.active:after{
	box-shadow: inset 0 0 0 5px;
}

.pagination a .hover-text{
	position: absolute;
	right: 15px;
	top: 0;
	opacity: 0;
	-webkit-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	padding-right: 15px;
}

.pagination a:hover .hover-text{
	opacity: 1;
}

.pagination a:after{
	-webkit-transitioin: box-shadow 0.5s ease;
	transition: box-shadow 0.5s ease;
	width: 10px;
	height: 10px;
	display: block;
	border: 1px solid;
	border-radius: 50%;
	margin: auto;
	top: 0;
	right: 3px;
	bottom: 0;
}

@media screen and (max-width: 786px){
	.pagination a .hover-text{
		display: none;
	}
}

