* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background: white;
  color: black;

  background-image: url("assets/film-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ---------- LOGO ---------- */

.nav {
  padding: 40px;
}

.logo a {
  color: #1749d4;
  text-decoration: none;

  font-size: 32px;
}

.logo a:hover {
  opacity: 0.6;
}

/* ---------- PAGE ---------- */

.page {
  padding-top: 20px;
  padding-left: 40px;
  padding-right: 40px;

}

.film-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

.page h1 {
  font-size: 72px;
  font-weight: 400;

  margin-bottom: 100px;

  text-transform: lowercase;
}

/* ---------- PROJECT ---------- */

.project {
  margin-bottom: 20px;
}

.project img {
  width: 40%;
  display: block;
}

.project-info {
  margin-top: 16px;
}

.project-info h3 {
  font-size: 28px;
  font-weight: 400;
}

.project-info {
  margin-top: 12px;
}

.project-title {
  display: inline-block;

  text-decoration: none;
  color: #1749d4;

  font-size: 24px;
  font-weight: 400;

  margin-bottom: px;
}

.project-title:hover {
  opacity: 0.5;
}

.project-info p {
  font-size: 14px;
  line-height: 1.9;
}

.synopsis {
  line-height: 1.6;
}
/* ---------- LINKS ---------- */

a {
  color: inherit;
}

.credits {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}

.role {
  font-size: 14px;
  opacity: 0.7;
}

.name {
  font-size: 14px;
}

.stills-grid img {
  width: 100%;
  display: block;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

.film-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px 60px;
  align-items: start;
}

.statement p {
  line-height: 1.6;
  margin-bottom: 1em;
}

.gallery {
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;

  position: relative;
}

.photo {
  width: 40%;
  display: block;
}

.photo-1 {
  margin-left: 0;
  margin-top: 0;
}

.photo-2 {
  margin-left: 50%;
  margin-top: -180px;
}

.photo-3 {
  margin-left: 5%;
  margin-top:-80px;
}

.photo-4 {
  margin-left: 55%;
  margin-top: -150px;
}

.photo-5 {
  margin-left: 8%;
  margin-top: -100px;
}

.photo-6 {
  margin-left: 58%;
  margin-top: -100px;
}

.photo-7 {
  margin-left: 5%;
  margin-top: -210px;
}

.photo-8 {
  margin-left: 50%;
  margin-top: -630px;
}

.photo-9 {
  margin-left: 55%;
  margin-top: 100px;
}

.photo-10 {
  margin-left: 4%;
  margin-top: -280px;
}

.photo-11 {
  margin-left: 58%;
  margin-top: -50px;
}

.photo-12 {
  margin-left: 2%;
  margin-top: -630px;
}

.photo-13 {
  margin-left: 20%;
  margin-top: 130px;
}

.gallery img {
  width: 40%;

  margin-bottom: px;

  display: block;
}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width:768px){

    body{
        background-attachment:scroll;
    }

    .nav{
        padding:22px;
    }

    .logo a{
        font-size:24px;
    }

    .page{
        padding:90px 22px 40px;
    }

    /* ---------- FILMS ---------- */

    .film-layout,
    .film-page{

        display:flex;
        flex-direction:column;

        gap:50px;

    }

    .project{

        margin-bottom:70px;

    }

    .project img{

        width:100%;

    }

    .project-title{

        font-size:22px;

    }

    /* ---------- PHOTO ---------- */

    .gallery{

        display:flex;

        flex-direction:column;

        gap:28px;

        padding:90px 22px 40px;

    }

    .gallery img{

        width:100% !important;

        margin:0 !important;

    }

    .photo,
    .photo-1,
    .photo-2,
    .photo-3,
    .photo-4,
    .photo-5,
    .photo-6,
    .photo-7,
    .photo-8,
    .photo-9,
    .photo-10,
    .photo-11,
    .photo-12,
    .photo-13{

        width:100% !important;

        margin:0 !important;

    }

}

