@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
	font-family: 'Roboto', sans-serif;
	color: white;
	background: #000;
}
[data-piec-page=home] {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: white;
	background: #000;
}
[data-piec-page=home] button {
	background: hsl(200, 85%, 35%);
	color: white;
	width: 240px;
	border: none;
	padding: 12px 24px;
	margin: 4px;
}
[data-piec-page=home] h1 {
	margin: 2px;
}
[data-piec-page="lesson-list"] a {
	color: aqua;
}
[data-piec-page="image-list"] a {
	color: aqua;
}
.split {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 500px;
}

.i-list {
display: grid;
	grid-template-columns: repeat(auto-fill, 400px);
	grid-gap: 12px;
}
img {
	width: 400px;
	height: auto;

}

.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(50px);
	z-index: 2;
}
.lightbox.shown {
	display: flex;
}
.lightbox-previous {
	position: fixed;
	left: 24px;
	font-size: 48px;
	background: hsl(200, 85%, 35%);
	padding: 24px;
	cursor: pointer;
}
.lightbox-next {
	position: fixed;
	right: 24px;
	font-size: 48px;
	background: hsl(200, 85%, 35%);
	padding: 24px;
	cursor: pointer;
}
.lightbox-text {
	position: fixed;
	bottom: 24px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 16px;
}
.lightbox-image {
	position: fixed;
	top: 0;
	left: 120px;
	right: 120px;
	pointer-events: none;
	height: calc(100vh - 80px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.lightbox-image img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	pointer-events: all;
}
.lightbox-closer {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: -1;
}