body {
	font-family: 'Karla', sans-serif;
	margin-top: 40px;
}

header {
	display: flex;
	position: static;
	top: 0;
	left: 0;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 57px;
	transition: all 0.2s;
}

#header-smolicon {
	position: fixed;
	opacity: 0;
/*	border-radius: 50%;*/
	top: 28px;
	left: 4.5vw;
	width: 60px;
	z-index: 9998;
/*
	padding: 15px;
	background-color: lightgray;
*/
	transition: all .2s;
}

/*
header #header-emailicon {
	opacity: 0;
	position: absolute;
	border-radius: 50%;
	top: 25px;
	right: 7vw;
	padding: 15px;
	background-color: lightgray;
	transition: all .2s;
}
*/

header #header-icon {
	width: 190px;
	margin-bottom: 25px;
	transition: all .2s;
}

header div {
	width: 300px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

a {
	text-decoration: none;
	color: black;
}

a:hover {
	cursor: pointer;
	opacity: .7;
}

.main-body {
	width: 80vw;
	margin-left: auto;
	margin-right: auto;
}
/*------------------------------------------------------------------------*/
.illust-body {
	display: flex;
/*	background-color: papayawhip;*/
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin-bottom: 50px;
	margin-top: 90px;
}

.illust-item {
	width: 70vw;
	height: 80vw;
	margin-bottom: 90px;
	overflow: hidden;
	text-align: center;
    display: block;
	opacity: 0;
	transform: translateY(50px);
	transition: opacity .5s, transform .5s;
}

.illust-item:hover {
	cursor: pointer;
	opacity: .7 !important;
	transition: none !important;
}

.illust-item img {
	width: inherit;
	height: inherit;
	object-fit: cover;
}

/*-----------------------MODAL STYLES--------------------------------*/
/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: rgba(0, 0, 0, 0.0);
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

.modal-pic {
	width: 80%;
	height: auto;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
  background-color: rgba(0, 0, 0, 0.0);
  width: 80%;
  height: 80vh;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  text-align: center;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  display: block;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.0);
  padding-top: 20px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/*------------------------------------------------------------------------*/
footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 40px;
}

/*--------------------------RESPONSIVE STYLES--------------------------------*/
@media screen and (min-width: 768px) {
	.illust-item {
		width: 38vw;
		height: 42vw;
		margin-bottom: 35px;
	}
	.illust-other {
		margin-right: 25px;
	}
	
}
@media screen and (min-width: 1000px) {
	.illust-item {
		width: 25vw;
		height: 28vw;
	}
	.illust-other {
		margin-right: 0px;
	}
	.illust-middle {
		margin-right: 25px;
	}
	
}

@media screen and (min-width: 1200px) {
	.illust-middle {
		margin-right: 25px;
	}
	.modal-pic {
/*		now width is auto instead of height*/
		height: 100%;
		width: auto;
	}
}

