@charset "utf-8";
/* CSS Document */
* {
  box-sizing: border-box;
}

bodygallery {
  background-color: #f1f1f1;
  padding: 20px;
  font-family: Arial;
}

/* Center website */
.maingallery {
  max-width: 1000px;
  margin: auto;
}

h1gallery {
  font-size: 50px;
  word-break: break-all;
}

.rowgallery {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column (if you want) */
.rowgallery,
.rowgallery > .columngallery {
  padding: 8px;
}

/* Create three equal columns that floats next to each other */
.columngallery {
  float: left;
  width: 33.33%;
  display: none; /* Hide columns by default */
}

/* Clear floats after rows */
.rowgallery:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.contentgallery {
  background-color: white;
  padding: 10px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btngallery {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
}

/* Add a grey background color on mouse-over */
.btngallery:hover {
  background-color: #ddd;
}

/* Add a dark background color to the active button */
.btngallery.active {
  background-color: #666;
   color: white;
}