@charset "UTF-8";

.note article .image, .illustration ul li, .illustration .present .image {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0px;
	background-color: #ffffff;
	filter: sepia(100%) grayscale(20%);
}

.note article .image img, .illustration ul li img, .illustration .present .image img {
	object-fit: contain;
}

.illustration ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	align-items: center;
	padding: 0px;
	list-style-type: none;
}

.illustration .present p {
	margin: 10px 0px 50px 0px;
}

.note .image:hover, .illustration ul li:hover, .illustration .present .image:hover {
	cursor: zoom-in;
	filter: sepia(0%) grayscale(0%) blur(1px);
	opacity: 0.7;
	transform: perspective(500px) rotate3d(1, 0, 0, 15deg);
	transition: 0.3s;
}

@media screen and (min-width: 1000px) {
	.note article .image, .illustration ul li, .illustration .present .image {
		margin: 0px 15px 30px 15px;
		min-width: 200px;
		max-width: 200px;
		min-height: 200px;
		max-height: 200px;
		border: 10px ridge #543f32;
		box-shadow: 8px 8px 3px #000000;
	}

	.note .image:hover, .illustration ul li:hover, .illustration .present .image:hover {
		border: 10px solid #274a78;
	}
}

@media screen and (max-width: 999px) {
	.note article .image, .illustration ul li, .illustration .present .image {
		margin: 0px 5px 5px 0px;
		min-width: 180px;
		max-width: 180px;
		min-height: 180px;
		max-height: 180px;
		border: 3px ridge #543f32;
		box-shadow: 0px 0px 0px #000000;
	}

	.note article .image img, .illustration .present .image img, .illustration ul li img {
		min-width: 180px;
		max-width: 180px;
		min-height: 180px;
		max-height: 180px;
	}

	.note .image:hover, .illustration ul li:hover, .illustration .present .image:hover {
		border: 3px solid #274a78;
	}
}

#modal-background {
	display: none;
	position: fixed;
	z-index: 5000;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	top: 0px;
	left: 0px;
	width: stretch;
	width: -webkit-fill-available; /* Chrome, Safari */
	width: -moz-available;         /* Firefox */
	height: stretch;
	height: -webkit-fill-available; /* Chrome, Safari */
	height: -moz-available;         /* Firefox */
	background-color: rgba(0, 0, 0, 0.7);
}

#modal-alt {
	display: none;
	position: fixed;
	z-index: 7500;
	margin-right: 20px;
	padding: 10px;
	bottom: 20px;
	left: 20px;
	color: #ffffff;
	font-size: 1.5em;
	border-width: 1px;
	border-color: #333333;
	border-style: solid;
	border-radius: 8px;
	background-color: #274a78;
}

#modal-dialog {
	display: none;
	position: fixed;
	z-index: 10000;
	margin: 0px;
	padding: 0px;
	top: 0px;
	left: 0px;
	text-align: center;
	vertical-align: middle;
	animation: zoomIn 1.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

#modal-dialog img {
	border: 0px solid #000000;
	width: 98vw;
	height: 100vh;
	object-fit: contain;
}

@keyframes zoomIn {
	0% {
		opacity: 0;
		transform: scale(0.5);
	}
	100% {
		opacity: 1;
		transform: scale(1);

	}
}
