body {
	font-family: 'Roboto', sans-serif;
	scroll-behavior: smooth;
	font-size: 16px;
}

img {
	width: 100%;
}

img:hover {
	opacity: 0.75;
	cursor: pointer;
}

h1,
h2 {
	font-family: 'Oswald', sans-serif;
}

h1 {
	margin: auto;
	width: fit-content;
	font-size: 3rem;
}

.modal {
	display: grid;
	place-items: center;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.9);
}

.hidden {
	display: none;
}

.modal-content {
	width: 100%;
	margin: auto;
	display: block;
	max-width: 1000px;
}

.modal-content:hover {
	opacity: 1;
	cursor: auto;
}

.close {
	position: absolute;
	top: 15px;
	right: 20px;
	display: grid;
	place-items: center;
	color: black;
	font-size: 40px;
	padding: 0;
	width: 50px;
	height: 50px;
	cursor: pointer;
	line-height: 0.8;
	background-color: white;
	border-radius: 0.1em;
	border: 0;
}

.close:hover {
	background-color: rgb(199, 218, 66);
}

.close:focus {
	box-shadow: 0 0 0 3px rgb(199, 218, 66);
	outline: 0;
}

#caption {
	background-color: white;
	padding: 0.5em;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 50%);
	text-align: center;
}

.to-top {
	background: rgb(199, 218, 66);
	display: grid;
	place-items: center;
	border: none;
	border-radius: 0.2em;
	padding: 0.5em;
	position: fixed;
	right: 10px;
	bottom: 15px;
	transform: rotate(90deg);
	cursor: pointer;
}

.to-top:hover {
	background-color: white;
}

.to-top:focus {
	outline: none;
	box-shadow: 0 0 0 2px black;
}
