html * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	background-color: #FFFFFF;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}
link a {
	text-decoration-line: none;
}
a {
    text-decoration-line: none;
	color: #444444;

}

header{
    display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	align-items: center;
	line-height: 1rem;
	font-family: poppin;
	font-size: 14px;
	}
h1{
	margin-top: -2em;
}
h2{
	margin-bottom: 1em;
	margin-top: -1em;
}
.gnav{
	display: flex;
	flex-wrap: wrap;
    list-style: none;
}
.gnav a{
	display: inline-block;
	flex-wrap: wrap;
	margin-left: 7px;
	margin-bottom: 1em;
	padding: 10px;
	text-align: center;
	font-size: 0.8em;
	letter-spacing: 0.05em;
}

i {
	position: relative;
	display: block;
	width: 840px;
	height: 500px;
	overflow: hidden;
	border-radius: 5px;
}

i:before, i:after {
	content: '⥪';
	position: absolute;
	top: 50%;
	left: 1rem;
	z-index: 2;
	width: 2rem;
	height: 2rem;
	background: dodgerblue;
	color: white;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

i:after {
	content: '⥭';
	left: auto;
	right: 2rem;
}

/* I haven't found a way for IE and Edge to let me style inputs that way */
input {
    appearance: none;
    -ms-appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: translateX(100%);
    transition: transform ease-in-out 400ms;
    z-index: 1;
    background-image: url(img_art/DSC03422%E3%82%A2%E3%83%88%E3%83%AA%E3%82%A82.png);
}

input:focus {
	outline: none;
}

input:after {
	content: attr(title);
	position: absolute;
	top: 1rem;
	left: 1rem;
	background-color: rgba(0,0,0,0.4);
	color: white;
	padding: .5rem;
	font-size: 0.8rem;
	border-radius: 4px;
}

input:not(checked):before {
	content: '';
	position: absolute;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	top: 50%;
	left: calc(-100% + 1rem);
}

input:checked:before {
	display: none;
	left: 1rem;
}

input:checked {
	transform: translateX(0);
	pointer-event: none;
	z-index: 0;
	box-shadow: -5px 10px 20px -15px rgba(0,0,0,1);
}

input:checked + input:before {
	left: -3rem;
}

input:checked + input ~ input:before {
	display: none;
}
