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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #12100e;
  color: #f2f2f2;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.8;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 30px 60px;
  background: rgba(18, 16, 14, 0.78);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

nav {
  display: flex;
  gap: 35px;
}

nav a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 60px;

  background:
    linear-gradient(
      rgba(0,0,0,0.50),
      rgba(0,0,0,0.65)
    ),
    url("images/home-background.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  font-size: 72px;
  letter-spacing: 6px;
  margin-bottom: 10px;
  font-weight: 400;
  font-family: "Times New Roman", serif;
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 18px;
  color: #d7d7d7;
  position: relative;
  z-index: 2;
}

.section {
  padding: 120px 60px;
  max-width: 1100px;
}

.section::before {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 50px;
}

.section h2 {
  font-size: 42px;
  margin-bottom: 60px;
  letter-spacing: 3px;
  font-weight: 400;
}

.project {
  margin-bottom: 140px;
}

.project h3 {
  font-size: 34px;
  margin-bottom: 10px;
  font-weight: 400;
}

.info {
  color: #9d9d9d;
  margin-bottom: 40px;
}

.project h4 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 400;
}

.synopsis-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.synopsis-text {
  flex: 1;
}

.poster {
  width: 300px;
}

.stills {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.stills img {
  width: 180px;
  cursor: pointer;
  transition: 0.3s;
}

.stills img:hover {
  opacity: 0.7;
}

.laurels {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  margin-top: 70px;
  flex-wrap: nowrap;
}

.laurels img {
  width: auto;
  object-fit: contain;
}

.laurels img:nth-child(1) {
  max-height: 170px;
}

.laurels img:nth-child(2) {
  max-height: 205px;
  margin-right: -95px;
}

.laurels img:nth-child(3) {
  max-height: 135px;
}

.development-image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

.development-image {
  width: 420px;
}

.portrait {
  width: 280px;
  margin-bottom: 40px;
}

.about-text {
  max-width: 700px;
}

.socials {
  display: flex;
  gap: 35px;
  margin-top: 20px;
}

.socials a {
  color: #f2f2f2;
  font-size: 30px;
  transition: 0.3s;
}

.socials a:hover {
  opacity: 0.5;
}

/* LIGHTBOX */

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 50px;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  cursor: pointer;
  user-select: none;
  padding: 20px;
}

.prev {
  left: 40px;
}

.next {
  right: 40px;
}

/* MOBILE */

@media (max-width: 768px) {

  header {
    padding: 20px 25px;
  }

  nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 11px;
  }

  .hero {
    padding-left: 25px;
    padding-right: 25px;
    justify-content: center;
    background-position: center;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.1;
    margin-top: 220px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 80px 25px;
  }

  .section h2 {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .project h3 {
    font-size: 28px;
  }

  .synopsis-layout {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .poster {
    width: 100%;
    max-width: 260px;
  }

  .stills {
    gap: 12px;
  }

  .stills img {
    width: calc(50% - 6px);
  }

  .laurels {
    flex-wrap: nowrap;
    gap: 0px;
    justify-content: center;
  }

  .laurels img:nth-child(1) {
    max-height: 95px;
  }

  .laurels img:nth-child(2) {
    max-height: 120px;
    margin-right: -40px;
  }

  .laurels img:nth-child(3) {
    max-height: 75px;
  }

  .development-image {
    width: 100%;
  }

  .portrait {
    width: 100%;
    max-width: 260px;
  }

  .socials {
    gap: 25px;
  }

  .socials a {
    font-size: 26px;
  }

  .lightbox img {
    max-width: 95%;
    max-height: 75%;
  }

  .prev,
  .next {
    font-size: 35px;
  }

  .close {
    font-size: 40px;
    right: 25px;
  }
}