/*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");
  }

@import url('https://api.fonts.coollabs.io/css2?family=Playpen+Sans:wght@100..800&display=swap');

* {
  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;
}

.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 {
    display: flex;
    gap: 200px;
}

.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;
}

.slidesection {
    width: fit-content;
    justify-self: center;
}

.mySlides1, .mySlides2 {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;
  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;
  color: black;
}


@media (max-width: 800px) {
    .slideshow {
        flex-direction: column;
        gap: 50px;
    }

    .back {
        position: relative;
        margin-bottom: 25px;
    }
}