@import url('https://fonts.googleapis.com/css2?family=Bad+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');

body {
  background-color: #303030;
}

/* Gallery container */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #303030;
  padding: 20px;
  padding-top: 240px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


/* Gallery item */
.gallery-item {
  position: relative;
  transform: scale(0.9);
  margin: 12px;
  width: 260px;
  height: 260px;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 20px;
  background-color: #000000;
  box-shadow: 0px 2px 5px rgba(0,0,0, 0.2);
}

/* Gallery item image */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-item img {
flex-basis: calc(25% - 10px);
margin-bottom: 20px;
}

.gallery img:nth-child(6n) {
flex-basis: calc(50% - 10px);
}


/* Gallery item hover effect */
.gallery-item:hover {
  transform: scale(1.5);
  z-index: 10;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}

/* Gallery item hover border */
.gallery-item:hover img {
  border-width: 8px;
  border-color: #FFFFFF;
  }

/* Gallery headline */
.gallery-heading {
  font-family: 'Bad Script', cursive;
  font-size: 36px;
  color: #888;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  background-color: #303030;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
}

/* Gallery description */
.gallery-description {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  background-color: #303030;
  color: #888;
  text-align: center;
  with: 100%;
  margin-bottom: 20px;
  position: sticky;  
  z-index: 40;
  top: 0;
  margin-block-start: 0em;
}



.gallery-heading h1{
  text-decoration: underline;
  margin-block-end: 0em;
}


/* Gallery footnotes */
.gallery-footnotes a {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  text-align: left;
  margin-top: 10px;
  color: #888;
  background-color: #303030;
  height: 100px;
  position: fixed;
  z-index: 0;
  bottom: 0;
  width: 100%;
}