::-webkit-scrollbar {
    display: none;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* HEADER */

#LOGO-MAIN {
    position: absolute;
    scale: 25%;
    top: -50px;
    left: -320px;
    z-index: 1;
    mix-blend-mode: difference;
}



@media (max-width: 450px) {
    #LOGO-MAIN {
        position: absolute;
        scale: 20%;
        top: -70px;
        left: -350px;
    }
}

nav {
    height: 60px;
    background: transparent;
    display: flex;
    justify-content: right;
    align-items: right;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    mix-blend-mode: difference;
    color: black;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: right;
    align-items: center;
    margin-right: 30px;
}

nav a {
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-family: "freight-display-pro", serif;
    font-size: 15px;
    font-weight: 100;
    letter-spacing: 1px;
    padding: 55px 20px 0 0; 
    mix-blend-mode: difference;

}

nav a:hover {
    text-decoration: underline;
}

nav svg {
    fill: black;
    mix-blend-mode: difference;
}

#sidebar-active {
    display: none;
}

.open-sidebar-button, .close-sidebar-button {
    display: none;
}

@media(max-width: 650px) {
    .links-container {
        flex-direction: column;
        align-items: flex-start;

        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 250px;

        background-color: white;
        transition: 0.75s ease-out;
        margin-right: 0;
    }

    nav {
        mix-blend-mode: inherit;
    }

    nav a {
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 0 30px;
        justify-content: flex-start;
        opacity: 1;
        mix-blend-mode: none;
    }

    .open-sidebar-button, .close-sidebar-button {
        padding: 20px;
        padding-top: 25px;
        display: block;
        mix-blend-mode: difference;
    }

    #sidebar-active:checked ~ .links-container {
        right: 0;
        padding-top: 0px;
    }
}

@media(max-width: 450px) {
    .links-container {
        flex-direction: column;
        align-items: flex-start;

        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 250px;

        background-color: white;
        transition: 0.75s ease-out;
        margin-right: 0;
    }

    nav {
        mix-blend-mode: inherit;
    }

    nav a {
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 0 30px 25px;
        justify-content: flex-start;
        mix-blend-mode: none;
        opacity: 1;
        font-size: 25px;

    }

    nav a:hover {
        text-decoration: none;
    }

    .open-sidebar-button, .close-sidebar-button {
        padding: 20px;
        padding-top: 29px;
        display: block;
    }

    #sidebar-active:checked ~ .links-container {
        right: 0;
        padding-top: 0px;
    }
}

.auto-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size, 530px), 150px));
    row-gap: 50px;
    column-gap: 10px;
    margin-top: 150px;
    justify-content: center;
    padding-right: 40px;
    align-items: center;
  }
  
  ul {
    list-style-type: none;
  }

  li {
    width: 100%;
    max-width: 1028px;
}

  p {
    color: black;
    display: block;
    overflow-wrap: break-word;
    font-family: "freight-sans-pro", sans-serif;
    font-style: normal;
    font-weight: 400;
    pointer-events: none;
  }
   
  h1 {
    color: black;
    font-family: "freight-display-pro", serif;
    font-style: normal;
    justify-content: center;
    font-weight: 300;
    text-transform: capitalize;
    pointer-events: none;
    margin-top: 50px;
  }

  h2 {
    color: black;
    font-family: "freight-display-pro", serif;
    font-style: normal;
    justify-content: center;
    font-weight: 300;
    text-transform: capitalize;
    pointer-events: none;
    font-size: 75px;
    line-height: 65px;
    margin-bottom: 0;
    margin-left: 51px;
    margin-top: 150px;
  }

  .clientname {
    color: gray;
  }

  iframe {
    filter: grayscale(0);
    width: 1028px;
    height: 578px;
}

iframe:hover {
    filter: grayscale(0);
    transition: 0.5s ease-in-out;
}

@media (max-width: 450px) {
    
    .auto-grid {
        margin-top: 140px;
        grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size, 380px), 150px));
    }

    li {
        width: auto;
    }

    h1 {
        margin: 0;
        text-align: center;
    }

    p {
        text-align: left;
    }

    iframe {
        width: 380px;
        height: 225px;
    }
}

.video-wrapper {
    cursor: pointer;
}

.thumbs {
    width: 1028px;
    height: 578px;
    display: block;
}

.video-wrapper img {
    width: 100%;
    display: block;
    pointer-events: none;
}


/*BTS*/

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 150px;
  gap: 10px;
  padding: 10px;
}

.mosaic-grid .item {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  filter: grayscale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mosaic-grid .item:hover {
  transform: scale(1.5);
  z-index: 2; 
}

.mosaic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mosaic variations */
.item1 {
  grid-column: span 2;
  grid-row: span 2;
}

.item2 {
  grid-column: span 1;
  grid-row: span 2;
}

.item3 {
  grid-column: span 1;
  grid-row: span 2;
}

.item4 {
  grid-column: span 2;
  grid-row: span 2;
}

.item5 {
  grid-column: span 1;
  grid-row: span 1;
}

.item6 {
  grid-column: span 1;
  grid-row: span 1;
}

.item8 {
    grid-column: span 2;
    grid-row: span 1;
}

.item9 {
    grid-column: span 4;
    grid-row: span 2;
}

/* Responsive tweak for smaller screens */
@media (max-width: 600px) {
  .item1,
  .item2,
  .item4 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* FOOTER */

footer {
    font-family: "freight-display-pro", serif;
    z-index: 1;
    display: flex;
    justify-content: center;
    color: white;

}

footer:hover {
    cursor: default;
}

#footdraft {
    font-size: 15px;
    font-family: "freight-display-pro", serif;
    font-weight: 500;
}

.fa {
    scale: 110%;
    margin-top: 18px;
    margin-right: 0;
    padding: 0 5px 0 10px;
    color: black;
    text-decoration: none;
}

@media (max-width: 450px) {
    .fa {
        margin-top: 20px;
    }
}
