* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@view-transition {
  navigation: auto;
}

[id] {
  scroll-margin-top: 2rem;
}

html {
  scroll-behavior: smooth;
  font-family: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.5em
}

body {
  margin: 0 auto;
  text-rendering: optimizeLegibility;
}

p {
  margin: 1.5em 0;
  max-width: 65ch;
}

h1,
h2 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  color: #FF299E;
  text-wrap: balance;
  text-wrap: pretty;
  margin: 0 0 1em 0;
  margin-block: 1lh;
  text-align: center;
}

h2 {
  font-size: 1.7rem;
  margin: 1em 0;
}

header {
  display: flex;
  width: 100%;
}

header.splash {
  position: absolute;
}

svg.logo {
  max-width: 30vw;
  height: auto;
  cursor: pointer;
}

.splash {
  display: flex;
}

.splash img {
  width: 100%;
  height: 90vh;
  padding-top: 2em;
  object-fit: cover;
  object-position: center;
  background-color: #000;
}

nav {
  display: flex;
  padding: 1lh;
  background: rgb(0, 0, 0);
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header.splash nav {
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 100%);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  column-gap: 2lh;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.1s ease;
  cursor: pointer;
}

.nav-links a:hover {
  color: #FF299E;
  transition: color 0.3s ease;
}

main.productions {
  padding: 3em 2em;
}

.company {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 20vh;
  background: #3c1053;
  /* fallback for old browsers */
  background: linear-gradient(#3c1053, #ad5389);
  color: #fff;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 2rem;
  min-height: 105vh;
}

.company h1 {
  color: #fff;
}

.company p {
  margin: auto;
  padding: 1em;
}

.company img {
  max-width: 80vw;
  margin: 1em auto;
}

section.page {
  padding: 3em 2em;
  font-weight: 500;
  font-size: 1.2rem;
  min-height: 70vh;
}

section.page ul {
  margin: 1em;
  list-style: none;
}

section.page li {
  margin: 1em;
  list-style: none;
  align-items: center;
  display: flex;
  gap: 1em;
}

section.page img {
  max-width: 100%;
}

section.content {
  padding: 1lh 1lh 2lh;
  font-weight: 500;
  font-size: 1.2rem;
  background-color: #FF299E;
  color: #fff;
  min-height: 70vh;
}

section.content h1 {
  color: #fff;
  text-align: center;
  font-size: 3rem;
}

section.content h2 {
  color: #fff;
  text-align: center;
  font-size: 2rem;
}

section.content p {
  margin: 1em auto;
  max-width: 65ch;
}

section.coming-soon h2 {
  font-size: 3rem;
  margin: 1em 0;
  text-align: center;
}

main {
  min-height: 80vh;
}

main a {
  color: #FF299E;
  text-decoration: none;
  transition: color 0.1s ease;
  cursor: pointer;
}

main a:hover {
  color: #dc0078;
  text-decoration: none;
  transition: color 0.3s ease;
}

hr {
  border: 0;
  margin: 5ch 0;
  border-top: solid .9px #9f9389;
}

.posters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
  grid-gap: 2em 1em;
  margin: 3em 0 3em;
}

p.showlinks {
  padding: 1em;
}

.posters img {
  max-width: 100%;
  min-width: 100%;
  border-radius: .4em;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

figure {
  margin: 0;
}

figcaption {
  font-size: .8rem;
  line-height: 1.2;
  font-weight: 700;
  color: #FF299E;
  text-wrap: balance;
  max-width: 80%;
}

main .button {
  background-color: #fff;
  padding: 1em 2em;
  display: flex;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  border-radius: 1em;
  transition: color 0.1s ease;
  width: fit-content;
  margin: auto;
  cursor: pointer;
  border: solid #fff;
}

main .button:hover {
  background-color: #000;
  color: #fff;
  transition: color 0.3s ease;
}

main .pink {
  background-color: #FF299E;
  display: inline-flex;
  color: #fff;
}

section.credits {
margin: 1lh;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(1, 1fr);
gap: 2lh;
}

.credits strong {
  min-width: 100%;
  display: inline-block;
}

.credits p {
  padding: .3em;
}

.credits p:nth-child(even) {
  background-color: #f2f2f2;
}

footer {
  display: flex;
  justify-content: space-around;
  padding: 2em;
  gap: 10vw;
  font-size: .7rem;
  font-weight: 500;
  color: #fff;
  background: #FF299E;
  margin-top: 5em;
  align-items: center;
}

footer a {
  color: #fff;
  cursor: pointer;
}

footer ul {
  display: flex;
  flex-direction: column;
}

footer li {
  list-style: none;
  align-items: center;
  margin-bottom: 1em;
  display: inline-flex;
  gap: .5em;
}

.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10vw;
  margin: auto;
  padding: 1em 3em;
}

.hero-text {
  align-self: start;
  flex: 1;
}

.hero-image {
  flex: 1;
  align-self: start;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: .3em;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.hero-image p {
  margin: .3em 0;
}

.hero-image p {
  margin: .5em 0;
}

.hero ul {
  margin: 2em 0;
  display: flex;
  flex-direction: column;
}

.hero li {
  list-style: none;
  align-items: center;
  margin-bottom: 1em;
  display: inline-flex;
  gap: .5em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1em;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: .4em;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

header button {
  display: none;
}

#navpop {
  background-color: #000;
  height: 100vh;
  width: 100vw;
  border: none;
  font-size: 1.3rem;
  text-align: center;
  padding: 10%;
}

:popover-open {
  display: flex;
  flex-direction: column;
}

#navpop li {
  list-style: none;
  padding: 1em;
}

#navpop a {
  text-decoration: none;
  color: #fff;
}

#navpop button {
background-color: #000;
border: none;
cursor: pointer;
width: fit-content;
display: flex;
margin: 0px auto;
color: #fff;
font-size: 2lh;
}

section.next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 1lh;
  margin: 2lh;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  color: #FF299E;
  text-wrap: balance;
  text-wrap: pretty;
  text-align: center;
}

section.next div {
  grid-row: span 3 / span 3;
}

section.next img {
  width: 100%;
  /* Makes the image responsive */
  height: auto;
  /* Maintains aspect ratio */
  display: flex;
  /* Removes bottom space under images */
  padding-bottom: 1lh;
}

.recently {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 1lh;
  margin: 2lh;
  max-height: 90vh;
}

.recently .div1 {
  grid-row: span 7 / span 7;
}

.recently .div2 {
  grid-row: span 4 / span 4;
  grid-column-start: 3;
}

.recently .div3 {
  grid-row: span 3 / span 3;
  grid-column-start: 5;
  grid-row-start: 5;
}

.recently .div4 {
  grid-row: span 4 / span 4;
  grid-column-start: 5;
  grid-row-start: 1;
}

.recently .div5 {
  grid-row: span 3 / span 3;
  grid-column-start: 3;
  grid-row-start: 5;
}

.recently div {
  grid-column: span 2 / span 2;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.recently img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recently div.title {
  position: absolute;
  padding: 1lh;
  text-wrap: balance;
  text-wrap: pretty;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  z-index: 1;
  transition: color 0.3s ease;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 71.43%);
}

.recently div.title span {
  font-size: 0.9rem;
}

.recently a {
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}

.recently a:hover img {
  transform: scale(1.1);
}

.recently a:hover .title {
  color: #FF299E;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 0em;
  }

  .hero-image {
    margin: auto;
  }

  h1,
  h2 {
    text-align: center;
  }
}

@media (max-width: 800px) {

  .recently {
    display: flex;
    gap: 1lh;
    margin: 1lh;
    max-height: unset;
    flex-direction: column;
  }

  .recently div {
    max-height: 50vh;
  }

  section.credits {
    padding: 0;
  }

  svg.logo {
    max-width: 50vw;
  }

  .gallery {
    padding: 0;
  }

  nav {
    padding: 2em 1em;
  }

  .navlinks {
    display: none;
  }

  header button {
    display: block;
    cursor: pointer;
    background-color: #000;
    border: none;
    margin-right: 1em;
  }

  .splash img {
    height: 40vh;
  }

  .nav-links {
    display: none;
  }

  footer {
    text-align: center;
    gap: 3vw;
    flex-direction: column;
  }

section.next {
    display:flex;
    flex-direction: column;
    gap: 2lh;
  }

}
