.header {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  height: 10vh;
  align-content: center;
  margin-left: 5vw;
}

.backarrow {
  margin-top: 4vh;
  font-size: 40px;
  color: #8d6c98;
  text-decoration: none;
  font-weight: lighter;
  font-family: "PP Neue Montreal", serif;
}

.backarrow:hover {
  color: #D9D9D9;
  transition: 0.35s;
}

.nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}

.navButton {
  font-size: 40px;
  font-family: "PP Neue Montreal", serif;
  font-weight: normal;
  color: #9A75A5;
  transition: 0.35s;
}

.navButton:hover {
  color: #D9D9D9;
  transition: 0.35s;
}

.a {
  text-decoration: none;
}

.gallery{
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-self: center;
  max-width: 80vw;
  margin: 10vh;
}

.image{
  width: 19vw;
  height: 22vh;
  object-fit: cover;
  padding: 0.08vw;
  transition: 0.3s;
}

.image:hover{
  opacity: 0.6;
  transition: 0.3s;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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 */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 70vw;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.3s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

.modal-root {
  position: fixed;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  left : 0;
  top: 0;
  width: 0;
  height : 0;
  opacity: 0;
  transition: opacity 0.15s ease-out, width 0s linear 0.15s, height 0s linear 0.15s;
}

.modal-root.visible {
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.15s ease-out;
}

.thumbnail-container {
  width: 19vw;
  height: 22vh;
  margin: 0.25vw;
  overflow: hidden;
  position: relative;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.image:hover {
  opacity: 0.6;
  transition: 0.3s;
  cursor: pointer;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
  object-fit: contain;
}

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

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