:root {
  --icon-color: rgb(100, 250, 100);
  --icon-color-lighten: rgba(90, 90, 90, 0.25);
}

.circle {
	display: show;
	z-index: 0;
	top: 50%;
	left: 50%;
	position: absolute;
  width: 50px;
  height: 50px;
  border: 6px var(--icon-color-lighten) solid;
  border-top: 6px var(--icon-color) solid;
  border-radius: 50%;
  animation: spin-circle .8s infinite linear;
}

@keyframes spin-circle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.gallery {
	margin-top: 80px;
	padding: 1em;
	
	display: none;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-template-rows: repeat(auto-fit, minmax(200px, 1fr));
	grid-auto-flow: dense;
	grid-gap: 0.8em;
}

.image {
	height: 100%;
	width: 100%;
	background-color: #333;
	border-radius: 2.5em;
	display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}


.image > a > img {
    pointer-events: none;
	border-radius: 1.7em;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.lazyload {
	-moz-transition: all 0.15s ease-out;
	-o-transition: all 0.15s ease-out;
	-webkit-transition: all 0.15s ease-out;
}

.lazyload:hover {
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-o-transform: scale(1.05);
 }

.grayscale {
	filter: grayscale(100%);
}

.image:nth-child(2n+1) {
	grid-column: span 2;
	grid-row: span 2;
}

.image:nth-child(3n+1) {
	grid-column: span 2;

}

.puzzle {
	z-index: 100;
	position: absolute;
	margin-top: 1em;
    width: 100px;
    height: 100px;
    text-align: center;
    pointer-events: none;
}

.puzzle > p {
	margin-top: auto;
	font-size: 1.5em;
	font-weight: 600;
}

.avatar-puzzle {
	z-index: 100;
	position: absolute;
	bottom: 1em;
	left: 1em;
	width: 4.5em;
	height: 4.5em;
}

.avatar-puzzle > img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	border: 0.15em solid #444;
	border-radius: 50%;
	background-color: #fff;
}

.star {
	cursor: pointer;
	display: block;
	position: absolute;
	z-index: 101;
	bottom: 1em;
	right:  1em;
	height: 35px;
}

.star img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.delete-puzzle img {
	cursor: pointer;
	display: block;
	position: absolute;
	z-index: 101;
	bottom: 1em;
	right: 1em;
	top: 1em;
	height: 35px;
}

@media (max-width: 680px) {
.gallery {
  display: flex;
  flex-direction: column;
}




body {
	margin: 0,5em;

}