@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');

:root{
    /* --main-col: black;
    --bkg-col: #f9cdf5; */
    --title-font: 'Pinyon Script', cursive;
}
html {
    box-sizing: border-box;
    background-color: var(--bkg-col);
    color: var(--main-col);
    font-size: 22px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
body > *{
    margin: 0;
    scrollbar-width: none;
}
*, *:before, *:after{
    box-sizing: inherit;
}
body { margin: 0;}
a {
  color: inherit;
}
/* h2 {
  font-size: 1.2em;
} */
h3 {
  font-size: 0.8em;
  font-style: oblique;
  font-weight: normal;
}

/* BACKGROUND IMAGE */
.background, .intro-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}
.background {position: fixed;}
.isolate {mix-blend-mode: overlay;}
.background img { width: 100vw;}
.intro-video {position: absolute;}

/* HEADER */
header{position: fixed; width: 100vw; z-index: 1; top: 0;}
h1 { text-align: center;}

.sub {
    font-family: var(--title-font);
    margin: 0;
    font-size: 2em;
    position: relative;
}
.sub.pages {font-size: 2.5em; text-shadow: 0 0 20px var(--bkg-col);}
.filled {
    font-size: 3.5em;
    color: var(--bkg-col);
    -webkit-text-stroke: 1px var(--main-col);
    line-height: 0.2;
    margin: 0;
}

/* MENU */
.menu{
  position: fixed;
  width: 100vw;
  z-index: 8;
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: space-around;
  pointer-events: none;
}
/* .icon {position: fixed; z-index: 8;} */
.icon{height: 250px; pointer-events: auto;}
.icon.back{right: 0; bottom: 0;}
.icon svg{
  fill: var(--bkg-col);
  stroke: var(--main-col);
  -webkit-animation: rotating 3s linear infinite;
  -moz-animation: rotating 3s linear infinite;
  -ms-animation: rotating 3s linear infinite;
  -o-animation: rotating 3s linear infinite;
  animation: rotating 3s linear infinite;
  position: absolute;
}
.icon h2, .icon button{
    position: relative;
    top: 40%;
    margin: 0;
    color: var(--main-col);
    width: 150px;
    text-align: center;
    -webkit-text-stroke: 0.7px var(--bkg-col);
    font-size: 1.8em;
    transition: all 0.7s;
}
.icon button{
  background-color: inherit;
  border: 0;
  font-family: initial;
  font-size: 2.5em;
  /* right: 39%; */
}
.icon h2:hover, .icon button:hover{
    /* color: var(--main-col); */
    /* -webkit-text-stroke: 1px var(--bkg-col); */
    font-size: 2.3em;
    cursor: pointer;
}

.tags-menu{
  position: fixed;
  right: 5px;
  top: 20vh;
  z-index: 2;
  max-width: 20vw;
}
.tags {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-menu .sub.pages {
  font-size: 2em;
}

.tags li {
  background-color: var(--bkg-col);
  padding: 5px;
  border: 5px var(--bkg-col) ridge;
}

/* CONTENT */
.content{
  position: relative;
  display: flex;
  height: 100vh;
  font-size: 1em;
  justify-content: center;
}
.text {
  overflow-y: scroll;
  max-height: 80vh;
  width: 80vw;
  background: var(--bkg-col);
  margin: auto;
  padding: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* border: 10px black ridge; */
  border: 10px #ee86e4 ridge;
}
.text::-webkit-scrollbar {
  display: none;
}
.text h1 { margin: 35px;}

.content a {
  color: var(--bkg-col);
  text-shadow: 0 0 10px var(--main-col);
}

.content.photos{padding: 0; display: inherit;}

/* GALLERY IMAGES */
.gallery {
  perspective: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

figure {
  position: sticky;
  top: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 80vh;
  /* border: 10px #f9cdf5 ridge; */
}
figure a {height: inherit; text-align: center;}
a figcaption{color: var(--main-col);}
figure.text {
  display: initial;
  height: max-content;
  width: 50vw;
  max-height: 100%;
  overflow-y: scroll;
}
figure img {
  border: 10px var(--bkg-col) ridge;
  height: 100%;
  border-radius: 3px;
}
figure video{
  border: 10px var(--bkg-col) ridge;
  z-index: 5;
}
figcaption{
  position: absolute;
  font-family: var(--title-font);
  text-shadow: 0 0 10px var(--bkg-col);
  transition: all 0.6s;
  opacity: 0;
  /* Maybe make this only for work and shows? */
  font-size: 3.2em;
  text-align: center;
  width: 100%;
  top: 45%;
}
/* figure img:hover  {transform: scale(1.2);} */
figure:hover figcaption {opacity: 1;}

/* LOCKED GALLERY FORM */
form{margin: auto; width: 50%;}
.field{text-align: center;}
input {
  width: 100%;
  font-size: 2em;
  text-align: center;
}
input[type=password]:focus{ outline: #ff24c8 2px solid;}
.icon.control{position: relative;}
/* ANIMATIONS */
@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(360deg);
    -o-transform: rotateY(360deg);
    transform: rotateY(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  to {
    -ms-transform: rotateY(360deg);
    -moz-transform: rotateY(360deg);
    -webkit-transform: rotateY(360deg);
    -o-transform: rotateY(360deg);
    transform: rotateY(360deg);
  }
}

/* MOBILE */
@media screen and (max-width: 500px) {
    html{font-size:14px;}
    .background{height: 100vh;}
    .isolate{height: 100vh;}
    /* .intro-video{transform: translateX(-50%);} */
    /* Title */
    .filled{font-size: 4em; line-height: 0.7;}
    .sub{font-size: 2.5em;}
    /* Menu */
    .menu{
      display: flex; flex-direction: column;
      justify-content: space-between;
      height: calc(60vh - 20px);
      margin-top: 30vh;
    }
    .icon{
      position: relative;
      /* top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important; */
    }
    .icon svg{display: none; pointer-events: none;}
    .icon h2, .icon button { position: relative; top: 0; font-size: 3em; width: auto;}
    .icon:nth-child(odd) h2{ text-align: left;}
    .icon:nth-child(even) h2{ text-align: right;}

    /* form */
    /* .menu.photoshoot{position: fixed;} */
    /* .icon.back.restricted{
        position: fixed;
        bottom: 25px !important;
        top: initial !important;
    } */
    form{width: 85%;}
    .icon button{right: 0;}
    .tags-menu{right: auto; top: auto; max-width: none; left: 10px; bottom: 10px; width: 100vw;}
    .tags-menu .sub.pages{text-align: left;}
    .tags{margin: 0;}

    /* CONTENT */
    .sub.pages {font-size: 3.5em;}
    .content{
      position: fixed;
      padding: 0;
      font-size: 1.2em;
      width: 100vw;
      display: flex;
      justify-content: center;
      margin-top: 25px;
    }
    .text{
      max-height: 64vh; 
      overflow-y: scroll; 
    }
    .content.photos, .content.shows{position: relative; display: block; margin-top: 0; overflow-y: auto; }
    /* GALLERY */
    .gallery {
      /* top: -15vh; */
      position: relative;
      padding: 0 20vw;
      /* padding-left: 140vw; */
    }
    figure{position: relative; height: fit-content; top: 0;}
    figure img {
      width: 95vw;
      height: auto;
    }
    figure.text{width: 70vw;}
    figcaption{opacity: 1;}
    .content.photos .description{
      bottom: 0;
      margin-left: 20px;
      font-size: 1.3em;
      -webkit-text-stroke-width: 0.4px;
    }
    /* .icon button{right: 12%;} */
}
