/*Gallery Styles*/
@font-face {
    font-family: 'Continuum-M';
    src: url(/fonts/contm.ttf), format("truetype");
  }

@font-face {
    font-family: 'Continuum-L';
    src: url(/fonts/contl.ttf), format("truetype");
  }


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 25px;
  background-image: url(/images/WiiPhotoChannelBG.webp);
  max-width: 1500px;
  justify-self: center;
  font-family: 'Continuum-M';
  font-size: larger;
}

.back {
  text-align: center;
  padding: 12px;
  width: 90px;
  position: absolute;
  font-size: small;
  color: rgba(0, 0, 0, 0.692);
  box-shadow: black 0 0 10px;
  border: rgba(255, 255, 255, 0.5) solid 5px;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-radius: 45px;
  transition: all 0.3s ease;
  z-index: 1;
}

.header-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-bottom: 50px;
}

.header h1, .header p {
  text-align: center;
  height: fit-content;
  padding: 25px;
  background: linear-gradient(160deg,rgba(255, 255, 255, 0.5) 40%, rgba(219, 219, 219, 0.5) 45%);
  box-shadow: black 0 0 10px;
  border: rgba(255, 255, 255, 0.5) double 5px;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-radius: 45px;
  transition: all 0.2s ease;
}

.back:hover, .header h1:hover, .header p:hover {
  transform: scale(1.05);
}

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  border: white solid 1px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 800px) {
  .back {
    position: relative;
    margin-bottom: 25px;
  }

  .header-section {
    flex-direction: column;
    gap: 0;
  }

  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}