body{
	background-color: black;
	background-image: url("../images/museumbg.png");
	background-size: 100%;
	background-attachment: fixed;
	background-position: cover;
	background-repeat: no-repeat;
}

.container {
	display: grid;
	grid-gap: 25px;
	position: absolute;
	margin-top: 30px;
	margin-left: 200px;
	margin-right: auto;
	grid-template:
		"sidebar main"
		"footer footer"
		/ 200px 1fr;
}

aside { grid-area: sidebar;
		color: white;
		background-color: black;
		padding: 30px 10px;
		height: 350px;
		width: 100px;
		overflow-y: auto;
		border-image: url(../images/Border.PNG) 30 round;
}

main { grid-area: main;
		color: white;
		font-size: 20px;
		background-color: black;
		padding: 40px 40px;
		width: 900px;
		height: 700px;
		text-align: center;
		overflow-x: auto;
		overflow-y: auto;
}

footer { grid-area: footer;
		color: white;
		font-size: 17px;
		background-color: black;
		padding: 3px 0px;
		width: 180px;
		height: 20px;
		text-align: center;
		overflow-x: auto;
		overflow-y: auto;
		border-style: solid;
		border-image: url(../images/Border.PNG) 30 round;
}

.sideborder {
		border: 20px solid transparent;
		padding: 0px;
		height: 410px;
		width: 120px;
		border-image: url(../images/Border.PNG) 30 round;
}

.mainborder {
		border: 20px solid transparent;
		height: 780px;
		padding: 0px;
		border-image: url(../images/Border.PNG) 30 round;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
}
.photo {
  position: relative;
}

.photo img {
  width: 100%;
  height: auto;
  display: block;
}

.photo .caption {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding: 5px 0;
  opacity:0;
}

.photo {
    opacity: 0.7;
	 transition: 0.3s;
}
.photo:hover {
    opacity: 1.0;
	filter: saturate(2);
}

button {
  background-color: black;
  color: white;
  border: transparent;
  padding: 5px 5px;
  margin: 2px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: 'Roboto', sans-serif;
}
button:hover {
  background-color: red;
}

.subbutton {
	text-align: center;
	color: #D9D9D9;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0,0.9);
  font-family: 'Roboto', sans-serif;
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
#caption {
  color: #ccc;
  font-size: 16px;
  padding: 15px 20px;
  text-align: center;
  width: 100%;
}

a:link {
  color: white;
  text-decoration: none;
}

a:hover {
  color: red;
}
a:visited {
  color: white;
  text-decoration: none;
}

.backbutton {
	display: block;
	position: fixed;
	width: 130px;
	padding: 10px;
	left: 0px;
	bottom: 20px;
}

.backbutton:hover {
	content: url("../images/mbackbutton2.GIF");
	display: block;
	position: fixed;
}

@media (max-width: 600px) {
  #gallery {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}