
.gallerycontainer {
  margin: 3em auto;
  width: 1200px;
  overflow: hidden;
}
.gallerycontainer .thumbnail {
  display: flex;
  flex-wrap: wrap;
  /* overflow: hidden; */
  /* overflow-y: scroll; */
  flex-direction: row;
}
.gallerycontainer .thumbnail .thumb {
  height: 200px;
  width: 200px;
  transition: all 0.2s;
  object-fit: cover;
  cursor: pointer;
}
.gallerycontainer .thumbnail .thumb:hover {
  box-shadow: 3px 3px 20px;
  opacity: 0.8;
}

.gallerycontainer .navigation{

    display: flex;
    padding: 10px;
    justify-content: space-between;
}
.desc {
  position: relative;
  overflow: hidden;
}
.desc:hover .judul {
  transform: translateY(80px);
}
.desc:hover .tittle {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 1;
}
.desc:hover .text {
  transform: translateY(-150px);
}
.desc .prev {
  object-fit: contain;
  width: 1200px;
  height: 400px;
}
.desc .tittle {
  margin: auto;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  transition: all 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
}
.desc .tittle .judul {
  color: white;
  padding: 20px;
  margin-top: -40px;
  transition: all 0.3s ease;
}
.desc .tittle .text {
  color: white;
  margin-top: 350px;
  padding: 20px;
  transition: all 0.35s ease 0.4s;
}
 
@keyframes fade {
  to {
    opacity: 1;
  }
}
.effect {
  opacity: 0;
  animation: fade 0.2s forwards;
}
 
.active {
  opacity: 0.5;
}