:root {
  --black: oklch(0.1436 0.0152 284.3);
  --pink: oklch(0.6664 0.2552 354.2);
}

* {
  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;
  line-height: 1.5;
}

body {
  margin: 0 auto;
  text-rendering: optimizeLegibility;
  font-weight: 300;
  background: var(--black);
  color: var(--black);
  display: flex;
  flex-direction: column;
}

p {
  margin: 1lh auto;
  max-width: 65ch;
}
p:has(small) {
    max-width: unset;
}

h1,
h2 {
  font-weight: 400;
  font-size: 3rem;
  text-wrap: balance;
  text-wrap: pretty;
  text-align: center;
  margin-block: .5lh 1lh;
}

h2 {
  font-size: 2rem;
  margin: 0;
  margin-block-start: 1lh;
}

h3 {
  font-size: 1rem;
  text-align: center;
  line-height: 2rem;
}

h1:has(+ h3) {
  margin-block: .5lh 0;
}

h3:last-of-type {
  margin-bottom: 1.5lh;
}

header {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: var(--black);
  padding: 1lh;
  color: #fff;
  width: 100%;
}

header:has(+ img) {
  position: absolute;
  background-color: transparent;
  background: var(--black);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.39) 20%, rgba(0, 0, 0, 1) 70%);
}

input#toggleMenu,
label#toggleMenulabel {
  display: none;
}

.logo {
  max-width: 30vw;
  min-height: 2lh;
  cursor: pointer;
  align-self: center;
  display: flex;
}

.logolink {
  width: fit-content;
  align-self: center;
}

.menu ul {
  display: flex;
  justify-content: end;
  align-items: center;
  max-width: 100%;
  column-gap: 2lh;
  list-style: none;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.1s ease;
  cursor: pointer;
  font-variant-caps: all-small-caps;
}

.menu a:hover {
  color: var(--pink);
  transition: color 0.3s ease;
}

header+img {
  height: 77vh;
  width: 100%;
  object-fit: cover;
  object-position: center;
  background-color: #000;
}

main,.comingsoon {
padding: 1lh 1lh 3lh;
font-weight: 500;
font-size: 1.2rem;
text-wrap: pretty;
background-color: #fff;
min-height: 90vh;

  a,a:visited {
    color: var(--pink);
  }

  h1 {
    text-align: center;
    font-size: 3rem;
  }

  img {
    max-width: 100%;
    border-radius: .3lh;
    margin-block-end: 1lh;
  }

  ul {
    margin: 1em auto;
    max-width: 65ch;
    list-style: none;
  }

}

main li:nth-child(even) {
    padding-bottom: 1lh;
    font-weight: 400;
  }

.pink {
  background-color: var(--pink);
  color: #fff;
}

.button {
  background-color: #fff;
  color: var(--black);
  padding: .5lh 1lh;
  border-radius: 1em;
  text-decoration: none;
  display: flex;
  width: fit-content;
  margin: auto;
    transition: 
    transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    box-shadow 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    filter 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.button:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

hr {
  border: 0;
  margin: 2lh 0 0;
  border-top: solid 1px var(--pink);
}

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

.pad1 {
  padding: 0 1lh;
}

.posters img {
  max-width: 100%;
  min-width: 100%;
  margin-block-end: 0;
  border-radius: .3lh;
  transition: all 0.3s ease-out;
  border: solid 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.posters img:hover {
  transform: translateY(-4px);
  transition: all 0.3s ease-out;
}

figcaption {
  font-size: .8rem;
  line-height: 1.2rem;
  font-weight: 500;
  text-wrap: balance;
  color: var(--pink);
}

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

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

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

.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;
}

.recently {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 1lh;
  padding: 1lh;
  max-height: 90vh;
  background-color: #fff;
}

.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: 3;
  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: 5;
  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-weight: 600;
  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.8rem;
}

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

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

.recently a:hover .title {
  color: var(--pink);
  transition: color 0.3s ease;
}

footer {
  display: flex;
  justify-content: space-evenly;
  padding: 1lh;
  gap: 1lh;
  font-size: .7rem;
  font-weight: 500;
  color: #fff;
  background: var(--pink);
  align-items: center;
}

footer a {
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.star-icon {
  transition: transform 1.5s ease;
}

.star-icon:hover {
  transform: rotate(360deg);
  transform-origin: center;
}

form {
display:grid;
margin: 1lh auto;
max-width: 60ch;
}
form label {
margin-block: 1lh .5lh;
}
form input, form textarea {
max-width: 100%;
padding: 1lh;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
button {
padding: 1lh 1.5lh;
border-radius: 1em;
text-decoration: none;
display: flex;
width: fit-content;
margin: auto;
border: none;
background-color: var(--pink);
color: #fff;
font-size: 1rem;
font-weight: 600;
cursor:pointer;
  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

button:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

@media (max-width: 850px) {

  label#toggleMenulabel {
    display: block;
    cursor: pointer;
    font-size: 1.5lh;
    width: fit-content;
    align-self: center;
    justify-self: end;
    -webkit-user-select: none;
    user-select: none;
  }

  .menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
  }

  #toggleMenu:checked~nav.menu {
    padding: 1lh 0 2lh;
    display: block;
    visibility: visible;
    opacity: 1;
    transition: all .2s ease-in-out;
    grid-column: 1 / -1;
  }

  .menu ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    row-gap: 1lh;
  }

.menu a {
  font-size: 2rem;
}

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

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

  .logo {
    max-width: 50vw;
  }

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

}