@import url(monoid.css);
body {
	overflow-y: hidden;
}
.gallery {
	display: grid;
	grid-template-columns: 50px repeat(3, 270px);
	grid-template-rows: repeat(auto-fill, minmax(150px, 1fr));
	height: 544px;
	grid-auto-flow: column;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	grid-gap: 5px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.item {
	height: 100%;
	width: 100%;
}
img {
	height: 100%;
	width: 270px;
	object-fit: cover;
}

.h1 {
	grid-row-end: span 1;
}
.h2 {
	grid-row-end: span 2;
}
.h3 {
	grid-row-end: span 3;
}

.item {
	position: relative;
}
.item .content-overlay {
	background: rgba(0, 0, 0, 0.7);
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	opacity: 0;
	margin: 0;
	padding: 0;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}

.item:hover .content-overlay {
	opacity: 1;
}
.content-details {
	position: absolute;
	text-align: center;
	padding: 0 1rem;
	width: 100%;
	opacity: 0;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	top: 100%;
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.item:hover .content-details {
	opacity: 1;
}

.content-details {
	top: 50%;
	left: 50%;
}

.content-details h2 {
	color: #f4faff;
	font-weight: 100;
	margin-bottom: 0.5rem;
	font-family: 'monoidRegular', sans-serif;
	font-size: 1rem;
	text-transform: lowercase;
}

.sttext {
	width: 60px;
	z-index: 100;
	position: fixed;
	height: 544px;
	display: block;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.stimg {
	width: 65px;
	height: 544px;
	opacity: .7;
	object-fit: contain;
}
.content {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.nav-icon {
	top: 3%;
}
.nav {
	top: 4%;
}

.livelink {
	height: 100%;
	width: 100%;
	pointer-events: fill;
}

.live {
	position: relative;
	pointer-events: none;
}
.liveelement {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, .5);
	z-index: 1000;
	height: 100%;
	width: 100%;
	color: #fff;
	font-family: 'monoidRegular', sans-serif;
	border: 4px solid #df6900;
	box-sizing: border-box;
	flex-direction: column;
	text-align: center;
	text-transform: lowercase;
}
.liveimg {
	position: absolute;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	background-image: url(../images/live.svg);
	background-repeat: no-repeat;
	height: 15px;
	width: 15px;
	background-size: contain;
	z-index: 1001;
	font-size: .5em;
	margin-left: 10px;
	margin-top: 3px;
}

@media screen and (max-width: 768px) {
	.sttext {
		display: none;
	}
	.gallery {
		position: absolute;
		left: 0;
		top: 50%;
		/* grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-template-rows: repeat(auto-fill, minmax(160px, 1fr));
        grid-auto-flow: dense; */
		display: flex;
		flex-wrap: wrap;
		overflow: auto;
		height: 88%;
		width: 100vw;
		overflow-x: hidden;
	}
	.item {
		/* width: 100%; */
		height: 30%;
		max-height: 139px;
		width: 20%;
		min-width: 160px;
		border: 2px solid #fff;
	}
	.h3 {
		display: none;
	}
	img {
		width: 100%;
		height: 100%;
	}
	.h1 {
		flex-grow: 3;
	}
	.h2 {
		flex-shrink: 2;
	}
	.item {
		position: relative;
	}
	.item .content-overlay {
		opacity: 0;
		display: none;
	}
	.content-details {
		position: absolute;
		opacity: 1;
		background-image: linear-gradient(transparent, rgba(0, 0, 0, .6));
		height: 100%;
		width: 100%;
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}
	.content-details h2 {
		font-size: .8rem;
		-webkit-text-stroke: .13px #000;
		text-stroke: .25px #000;
		text-shadow: .25px 0 0 #000, -.25px 0 0 #000, 0 .25px 0 #000, 0 -.13px 0 #0000, .13px .13px #000,
			-.13px -.13px 0 #000, .13px -.13px 0 #000, -.13px .13px 0 #000;
	}
	.nav-icon {
		top: -10px;
	}
	.nav {
		top: -12px;
	}
	.liveelement {
		text-align: center;
	}
}
@media screen and (max-width: 324px) {
	.h2 {
		flex-grow: 2;
	}
}
