input {
  display: none;
}

.container {
  margin-top: 2vh;
  width: 100%;
  text-align: center;
}

.top-content {
  background-color: rgb(232, 219, 167);
  width: 80%;
  margin: 0 auto 20px auto;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

label {
  display: inline-block;
  max-height: 100%;
  padding: 0 25px;
  line-height: 60px;
  width: 13.5%;
  color: #fff;
  background-color: #333;
  cursor: pointer;
  transition: box-shadow 0.5s, background-color 0.5s, transform 0.5s;
}

label:hover {
  background-color: rgb(152, 61, 58);
  transform: scale(1.03);
  box-shadow: 0px 0px 10px rgba(92, 83, 3, 0.7);
}

.photo-gallery {
  width: 100%;
  margin: auto;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  object-position: bottom;
  justify-content: center;
  column-gap: 10px;
  row-gap: 10px;
}

.pic {
  position: relative;
  height: 350px;
  flex-basis: 350px;
  box-shadow: 3px 3px 5px lightgrey;
  cursor: pointer;
  transition: 0.5s;
  overflow: hidden;
}

.pic a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img:hover {
  opacity: 0.5;
}

#check1:checked ~ .container .photo-gallery .pic {
  opacity: 1;
  transform: scale(1);
  position: relative;
  transition: 0.5s;
}

#check2:checked ~ .container .photo-gallery .kompleks {
  opacity: 1;
  transform: scale(1);
  position: relative;
  transition: 0.5s;
}

#check2:checked ~ .container .photo-gallery .kamp,
#check2:checked ~ .container .photo-gallery .trka,
#check2:checked ~ .container .photo-gallery .dogadjaj,
#check2:checked ~ .container .photo-gallery .oktobar,
#check2:checked ~ .container .photo-gallery .pupin {
  opacity: 0;
  transform: scale(0);
  position: absolute;
  transition: 0s;
}

#check3:checked ~ .container .photo-gallery .kamp {
  opacity: 1;
  transform: scale(1);
  position: relative;
  transition: 0.5s;
}

#check3:checked ~ .container .photo-gallery .kompleks,
#check3:checked ~ .container .photo-gallery .trka,
#check3:checked ~ .container .photo-gallery .dogadjaj,
#check3:checked ~ .container .photo-gallery .oktobar,
#check3:checked ~ .container .photo-gallery .pupin {
  opacity: 0;
  transform: scale(0);
  position: absolute;
  transition: 0s;
}

#check4:checked ~ .container .photo-gallery .trka {
  opacity: 1;
  transform: scale(1);
  position: relative;
  transition: 0.5s;
}

#check4:checked ~ .container .photo-gallery .kompleks,
#check4:checked ~ .container .photo-gallery .kamp,
#check4:checked ~ .container .photo-gallery .dogadjaj,
#check4:checked ~ .container .photo-gallery .oktobar,
#check4:checked ~ .container .photo-gallery .pupin {
  opacity: 0;
  transform: scale(0);
  position: absolute;
  transition: 0s;
}

#check5:checked ~ .container .photo-gallery .dogadjaj {
  opacity: 1;
  transform: scale(1);
  position: relative;
  transition: 0.5s;
}

#check5:checked ~ .container .photo-gallery .kompleks,
#check5:checked ~ .container .photo-gallery .kamp,
#check5:checked ~ .container .photo-gallery .trka,
#check5:checked ~ .container .photo-gallery .oktobar,
#check5:checked ~ .container .photo-gallery .pupin {
  opacity: 0;
  transform: scale(0);
  position: absolute;
  transition: 0s;
}

#check6:checked ~ .container .photo-gallery .oktobar {
  opacity: 1;
  transform: scale(1);
  position: relative;
  transition: 0.5s;
}

#check6:checked ~ .container .photo-gallery .kompleks,
#check6:checked ~ .container .photo-gallery .kamp,
#check6:checked ~ .container .photo-gallery .trka,
#check6:checked ~ .container .photo-gallery .dogadjaj,
#check6:checked ~ .container .photo-gallery .pupin {
  opacity: 0;
  transform: scale(0);
  position: absolute;
  transition: 0s;
}

#check7:checked ~ .container .photo-gallery .pupin {
  opacity: 1;
  transform: scale(1);
  position: relative;
  transition: 0.5s;
}

#check7:checked ~ .container .photo-gallery .kompleks,
#check7:checked ~ .container .photo-gallery .kamp,
#check7:checked ~ .container .photo-gallery .trka,
#check7:checked ~ .container .photo-gallery .dogadjaj,
#check7:checked ~ .container .photo-gallery .oktobar {
  opacity: 0;
  transform: scale(0);
  position: absolute;
  transition: 0s;
}

@media (max-width: 1100px) {
  .top-content {
    max-width: 100%;
  }
}
@media (max-width: 890px) {
  .top-content {
    display: none;
  }
}
