html, body {
  margin: 0;
  padding: 0;
  font-family: "Arial";
  min-height: 100vh;
  min-width: 100vw;
}

body {    
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('back.jpg');
  background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.form {
	padding: 1.4rem;
	background-color: rgba(255, 255, 255, 0.5);
	width: 100%;
	text-align: center;
}

.gallery {
	max-width: 80%;
	margin: auto;
	padding-top: 2rem;

	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1rem;	
}

.gallery img {
	border-radius: 5px;
	max-height: 200px;
}

@media screen and (max-width: 900px) {
  .gallery img {
		max-height: 100px;
	}
}

.gallery img:hover {
	cursor: pointer;
	scale: 1.02;
}

#modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */

  align-content: center;
  text-align: center;
}

#modal .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#modal img {
	max-width: 95%;
	max-height: 95%;
}

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