/*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");
  }

@font-face {
    font-family: Playpen Sans;
    src: url(/fonts/PlaypenSans-Regular.ttf), format("truetype");
  }



* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 25px;
  background-image: url(/images/backgrounds/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;
}

.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;
}

.slideshow-title {
    text-align: center;
    height: fit-content;
    width: fit-content;
    justify-self: center;
    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, .slideshow-title:hover {
  transform: scale(1.05);
}

div.desc {
  padding: 5px;
  background-color: white;
  font-family: "Playpen Sans", sans-serif;
}

h3, h4 {
    margin: 0;
}

.slideshow-column {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0px 50px;
  justify-self: center;
}

.slidesection {
    width: fit-content;
    justify-self: center;
}

.mySlides1, .mySlides2, .mySlides3, .mySlides4 {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
  margin-bottom: 50px;
  border: 10px solid white;
  box-shadow: #000000 4px 6px 4px;
  background-color: #000000bb;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  text-shadow: #000000 0px 0px 5px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover, .next:hover {
  background-color: #f1f1f1;
  text-shadow: #ffffff 0px 0px 5px;
  color: black;
}


@media (max-width: 800px) {
    .slideshow-column {
      grid-template-columns: repeat(1, auto);
    }

    .back {
        position: relative;
        margin-bottom: 25px;
    }
}

@media (max-width: 425px) {
    .prev, .next {
      top: 40%;
    }
}