/* .myList {
  background-color: red;
  display: flex;
  align-items: center;
  min-width: 800px;
  width: 90vw;
  height: 100%;
  background-color: aqua;
  flex-wrap: wrap;
}
.pictures {
  height: 200px;
}

.pictures-container {
  display: inline;
} */

/* .image-mosaic {
  background-color: red;
  display: flex;
  align-items: center;
  min-width: 800px;
  width: 90vw;
  height: 500px;
  background-color: aqua;
  flex-wrap: wrap;
} */

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f3ec;
  padding: 3rem 5vw 3rem 5vw;
}
.image-mosaic {
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(auto-fill, 300px);
  grid-auto-rows: 450px;
  width: 100vw;
  place-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background: #353535; */
  font-size: 3rem;
  box-shadow: rgba(3, 8, 20, 0.1) 0px 0.15rem 0.5rem,
    rgba(2, 8, 20, 0.1) 0px 0.075rem 0.175rem;
  height: 100%;
  width: 100%;
  border-radius: 1px;
  /* overflow: hidden; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 800ms;
  cursor: pointer;
}
.text-container {
  box-sizing: border-box;
  /* display: block; */
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: center; */
  /* align-items: center; */
  background: #282723;
  opacity: 0.98;
  border-radius: 2px;
  margin-top: 416px;
  padding: 13px 40px 10px 40px;
  width: fit-content;
  max-width: 250px;
  min-width: 200px;
  box-shadow: rgb(3 8 20 / 10%) 0px 0.15rem 0.5rem,
    rgb(2 8 20 / 10%) 0px 0.075rem 0.175rem;
  position: absolute;
  display: none;
}
.text-container > span {
  color: #f5f3ec;
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

.text-container > span:first-child {
  font-family: 'Trebuchet MS';
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: bold;
  opacity: 0.9;
}

.container:hover {
  transform: scale(1.05);
}

.modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.header {
  color: #f5f3ec;
  font-family: 'Trebuchet MS';
  font-size: 4.5vh;
  margin-bottom: 10px;
}

.info {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Trebuchet MS';
  border-top: none;
  border-radius: 0 0 2px 2px;
  border-radius: 1px;
  width: 100%;
  font-weight: bold;
}
.info span {
  padding: 5px 0;
  color: #f5f3ec;
  font-size: 1.7vh;
  opacity: 0.7;
  margin: 0 5px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: all 0.35s ease-in;
  z-index: 2000;
}
.modal.is-visible {
  visibility: visible;
  opacity: 1;
}

.modal img {
  height: 85vh;
}

[data-animation] .modal-dialog {
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.51, 0.92, 0.24, 1.15);
}

[data-animation].is-visible .modal-dialog {
  opacity: 1;
  transition-delay: 0.2s;
}

[data-animation='slideInOutTop'] .modal-dialog {
  transform: translateY(-100%);
}

[data-animation='slideInOutTop'].is-visible .modal-dialog {
  transform: none;
}
