#galleryContainer{
	margin-left: 50px;
	margin-right: 50px;
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
}

.categoryItem{
	display: block;
	width: 250px;
	height: 250px;
	background-color: gray;
	margin: 10px;
	background-size: cover;
	-webkit-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.3);
	position: relative;
}

.categoryItem:hover{
	width: 256px;
	height: 256px;
	margin: 7px;
}

.categoryText{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.65);
	color: white;
	text-decoration: none;
	font-size: 20px;
	text-align: center;
	padding: 7px;
	font-weight: bold;
	overflow: hidden;
}
.galleryBackContainer{
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.galleryBack{
	display: block;
	width: 50px;
	height: 50px;
	margin: 10px;
	border-radius: 100%;
	background-color: rgba(0,0,0,0.15);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);
	color: black;
	cursor: pointer;
}

.galleryBack:hover{
	background-color: rgba(0,0,0,0.2);
	transition: .1s;
}

.galleryBack svg{
	width: 36px;
    margin-top: 7px;
	fill: none;
	stroke: #1d1d1b;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2px;
}

.imageItem{
	display: block;
	width: 225px;
	height: 225px;
	background-color: gray;
	margin: 10px;
	overflow: hidden;
	background-size: cover;
	-webkit-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.3);
	cursor: pointer;
}

.imageItem:hover{
	width: 231px;
	height: 231px;
	margin: 7px;
}

#fullImageContainer{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10000;
	background-color: rgba(0,0,0,0.3);
}

#fullImageContent{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.2);
}

#fullImage{
	display: block;
	min-width: 10px;
	min-height: 10px;
	background-color: rgba(0,0,0,0.5);
	max-width: 1100px;
	max-height: 95vh;
	min-width: 250px;
	min-height: 175px;
}

.arrowImg{
	display: block;
	position: absolute;
    width: 55px;
    height: 55px;
    margin: 0 10px;
    border-radius: 100%;
    background-color: rgba(255,255,255,0.25);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    color: black;
    cursor: pointer;
}

.arrowImg:hover{
	background-color: rgba(255,255,255,0.3);
	transition: .1s;
}

.arrowImg svg{
	width: 41px;
    margin-top: 7px;
	margin-left: 5px;
	fill: none;
	stroke: #1d1d1b;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2px;
}

.arrowImgBack{
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.arrowImgNext{
	right: 0;
	top: 50%;
	transform: translateY(-50%) scale(-1);
}

.closeButtonCircle{
	width: 47px;
	height: 47px;
	background-color: rgba(255,0,0,0.5);
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
}

.closeButtonCircle:hover{
	background-color: rgba(255,0,0,0.65);
}

.closeButtonInner::before, .closeButtonInner::after{
	width: 34px;
}

.spinner{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: -1;
}

@media only screen and (max-width: 1150px){
	#fullImage{
		max-width: 92vw;
	}
}

@media only screen and (max-width: 720px){
	#fullImage{
		max-width: 97vw;
	}
	
	.arrowImg{
		width: 35px;
		height: 35px;
		margin: 0 6px;
	}
	
	.arrowImg svg{
		width: 25px;
		margin-top: 5px;
		margin-left: 3px;
	}
	
	.closeButtonCircle{
		width: 35px;
		height: 35px;
	}

	.closeButtonInner::before, .closeButtonInner::after{
		width: 25px;
		height: 2px;
	}
	
	.imageItem{
		width: 150px;
		height: 150px;
		margin: 5px;
	}
	
	#galleryContainer {
		margin-left: 0;
		margin-right: 0;
	}

	.imageItem:hover{
		width: 154px;
		height: 154px;
		margin: 3px;
	}
}