:root {
  --bg-color: #545848; /* background color for wbesite. */
  --bg-image: url('/assets/background.png'); 
  --font-color: #1b1f18; /* self-explanatory. */
  --borders: #dcdfd5; /* border colors. */
  --buttons: #b1b5a8; /* the background of buttons. */
  --inner-bg: #787d67;
  --link: #6B8A69; /* color of links */
  --header: url('https://i.pinimg.com/736x/40/49/cd/4049cd4cdbca164b3c37e704ed3b72ca.jpg');
}

body {
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  color: var(--font-color);
  margin: 0;
  display: flex;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#buttons {
  position: sticky;
  top: 0.5em;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 3em;
  margin-bottom: 3em;
  gap: 0.5em;
  width: 950px;
  padding: 0.5em;
  background-color: var(--inner-bg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  border: 1px solid var(--borders);
  box-shadow: inset 0 0 10px #5C614E;
}

.gallery-img {
  display: block;
  width: 100%;
  height: auto
}

.filterDiv {
  margin: 2px;
  display: none; /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: #f1f1f1;
  cursor: pointer;
}

/* Add a light grey background on mouse-over */
.btn:hover {
  background-color: #ddd;
}

/* Add a dark background to the active button */
.btn.active {
  background-color: #666;
  color: white;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col {
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col-mid {
  display: flex;
  flex: 2;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.col-big {
  display: flex;
  flex: 9;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5em;
}

.grow {
  flex-grow: 1;
}

