.selected-img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: auto;
  z-index: 5;
  object-fit: contain;
}

.image-container {
  align-items: center;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  cursor: pointer;
  position: absolute;
  background-color: #fff;
  min-width: 168px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: black;
  padding: 10px 12px;
  text-decoration: none;
  display: block;
  border-radius: 5px;
}


.gallery-container {
  width: 100%;
  align-items: center;
}

.img-card {
  width: 700px;
  margin: auto;
  text-align: center;

  margin-bottom: 20px;
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  transition: 0.2s;
}

.img-label {
  height: 20px;
}

.img-card img {
  border-radius: 12px;
}

.gallery-head {
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
}

.pagination {
  display: inline-block;
  font-size: 18px;
}

.pag {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.pagination a {
  color: black;
  float: left;
  padding: 6px 12px;
  text-decoration: none;
  cursor: pointer;
}

.pagination a.active {
  border: solid 1px grey;
  border-radius: 5px;
  color: black;
  font-weight: bold;
}

.blocker {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

@media screen and (max-width: 992px) {
  .img-card {
    width: 80%;
  }


}

@media screen and (max-width: 690px) {
  .gallery-head {

    justify-content: center;
    display: block;
  }
  .img-card {
    width: 100%;
    padding: 0px;
  }

}

@media screen and (max-width: 452px) {
  body {
    overflow: auto;

  }

  .pagination a {
    padding: 6px;
  }

  .selected-img {
    width: 100%;
  }
  .topnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: unset;
    padding: 5px 20px;
    width: auto;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }

}
