body {
  background-color: black;
  color: black;
  font-family: "Garamond", "Georgia";
    font-size:18px;
    color: #876863;
    max-width: auto;
    min-width: 0px;
}

figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: auto;
  padding: 5px;
}

figcaption {
  background-color: black;
  color: #876863;
  font-family: "Garamond", "Georgia", "Times-New-Roman";
  font-size: 14px;
  padding: 3px;
  text-align: center;
}

/*center the div with width and justify content, stay after and write it 300 times on the chalkboard*/
.flexbox {
  position: relative;
  top: 5px;
  width: 100%;
  display: grid;
  justify-content: center;
  overflow: hidden;
}

.textbox {
  position: relative;
  justify-content: center;
  margin: auto;
  width: 1200px;
  border: 2px solid white; 
  min-width: 0;
  flex: 0 0 auto; 
}

/*------no hover-----*/

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.box {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  background: none;
  overflow: hidden;
}

.flourish-left {
  position: relative;
  top: 29px;
  left: -150px;
}

.flourish-right {
  position: relative;
  top: -13px;
  left: 150px;
}
/*----------------*/
.negative {
  position: relative;
  opacity: 0;
  top: 857px;
  left: 493px;
  width: 600px;
  height: auto;
  animation: slide 4s 1;
  transition: all 1s ease-in;
  }

.negative img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes slide {
	from { left: 350; }
	to { left: 485; }
}

.negative.active {
  opacity: 1;
}

.swap {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.swap img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.swap img.gif {
  opacity: 0;
  pointer-events: none;
}

.swap:hover img.gif {
  opacity: 1;
}



/*---------------------*/
.lens {
  top: 825px;
  left: 175px;
  width: 300px;
  height: 300px;
  padding: 40px;
}

.lens img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lens.hoverimage:hover {
  transform: scale(1.03)
}

#ShutterSound {
  display: none;
}

/*------------------------*/

gifBox {
  top: 500px;
  left: 900px;
  width: 600px;
  height: auto;
}

audio {
  width: 100%;
  margin: 20px 0;
}
