/*

FLOW
====
1) General
2) Gallery Items
3) Media Queries
*/

/*
1) General
==========
*/

	h1
	{
		margin-top:20px;
	}

/*
2) Gallery Items
================
*/


	.gallery-content
	{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		margin-bottom: 24px;
		margin: -24px 0 0 -24px;
		position: relative;
		width: calc(100% + 24px);
		flex-wrap: wrap;
		align-items: center;
	}

	.gallery-content .gallery-item
	{
		display: block;
		width: 25%;
		margin: 24px 0 0 24px;
		height: auto;
		padding: 10px;
		width: calc(25% - 24px);
		transition: all 0.2s;
	}

	
	.gallery-square .gallery-image {
		aspect-ratio: 1 / 1;
  		overflow: hidden;
	}

	.gallery-content .gallery-square img{
		width: 100%;
  		height: 100%;
		object-fit: cover;
	}

	.gallery-content .gallery-item a
	{
		display: block;
		width: 100%;
	}

	.gallery-item img
	{
		display: block;
		box-sizing: border-box;
		width: 100%;
		height: auto;
		transition: 0.5s ease;
	}

	.gallery-item .gallery-name
	{
		display: block;
		width: 100%;
		text-align: center;
		margin-top: 10px;
	}

	.gallery-item:hover
	{
		cursor:pointer;
		opacity: 0.8;
	}
	
	.gallery-item:hover img
	{
		transform: scale(0.99);
	}


/*
3) Media Queries
================
*/

	@media screen and (max-width : 1280px) {
		.gallery-content .gallery-item
		{
			width: calc(33.33333% - 24px);
		}
	}

	@media screen and (max-width : 900px) {
		.gallery-content .gallery-item
		{
			width: calc(50% - 24px);
		}
	}

	@media screen and (max-width : 680px) {
		.gallery-content .gallery-item
		{
			width: calc(100% - 24px);
		}
	}

	@media screen and (max-width:990px) {
		h1 { 
			text-align:center; 
		}
		
		div#galleryItemWrapper {
			text-align:center;
		}
	}