.memory_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin: 0 auto;
  /* width: fit-content; */
}

.memory_sentence {
  color: #2f2f2f;
  font-size: 17px;
  line-height: 2.5;
}

.memory_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 80%;
}

.final-photo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 80%;
  padding-bottom: 120px;
}

.memory_container img {
  width: 25vw;
  transition: filter .2s ease-in-out;

}

.memory_container img:hover {
  cursor: pointer;
  filter: brightness(.6);
}

.memory_modal {
  display: none;
  background-color: rgba(0, 0, 0, .9);
  width: 100vw;
  height: 100vh;
}

.memory_modal.open {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.memory_modal_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: fit-content;
}

.memory_modal_img {
  position: relative;
  width: 65vw;
  /* max-width: 800px; */
}

.memory_modal_closeButton {
  position: absolute;
  bottom: -50px;
  margin: 0;
  color: white;
  font-size: 30px;
}

.memory_modal_closeButton:hover {
  cursor: pointer;
  color: #e07594
}

.text1{
    margin-left: -3px;
}

.text2{
    margin-left: -5px;
}

.memory_contents{
    display: flex;
    gap: 20px
    ;
}

@media screen and (max-width: 1180px) {
    .memory_container img {
  width: 30vw;
  transition: filter .2s ease-in-out;

}
}

@media screen and (max-width: 650px) {
    .memory_container img {
  width: 38vw;
  transition: filter .2s ease-in-out;

}
}


@media screen and (max-width: 500px) {
    
.memory_modal_img {
  position: relative;
  width: 80vw;
  /* max-width: 800px; */
}
}




