/* Headings */

b {
    text-transform: uppercase;
    font-weight: 400;
}

/* h2 {
  /* font-family: "din-2014-narrow", sans-serif;
  font-style: normal;
  font-weight: 300; */
      /* font-weight: 200;
      font-family: "neue-haas-grotesk-text", sans-serif;
font-style: normal; 
}*/


.home-first h1,
.home-first h2 {
  width: 70%;
  color: #393e46;
}



/* Home Section */
.home-first {
  margin-top: -12vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
    padding: 8vh 7vw;
      box-sizing: border-box;
}

.home-first-content {
  animation: 1.5s ease fadeInUp;
}

/* Projects */
.home-new-projects {
  background-color: #eee;
    padding: 8vh 7vw 4vh;
      display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.home-project {
    filter: grayscale(0.5);
    opacity: 0.7;
    transition: 0.5s ease;
}

.home-project:hover {
    filter: none;
    opacity: 1;
}

.home-new-projects-text {
  display: flex;
  justify-content: space-between;
    align-items: center;
      padding-bottom: 5vh;
  width: 100%;
  opacity: 0.7;
}



.home-new-projects-text .button {
  justify-content: flex-end !important;
}

/* Gallery */
#gallery {
  line-height: 0;
  column-count: 2;
  column-gap: 5vh;
  animation: 1s ease fadeInUp;
}

#gallery img {
  width: 100% !important;
  height: auto !important;
  margin-bottom: 2vh;
  /* filter: brightness(0.75); */
  /* transition: ease 0.2s; */
}

/* #gallery img:hover {
  filter: brightness(1);
} */

#gallery h5 { 
  margin: 0 0 5vh;
  color: #393e46;
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.4;
text-transform: none;
}


/* Details */
.information-details {
  background: #393e46;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
    padding: 15vh 7vw 8vh;
      box-sizing: border-box;
  color: white;
}



.information-details-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.information-details .button {
  justify-content: flex-end;
  width: 100%;
  padding-bottom: 4vh;
}

/* Clients */
.clients {
    padding-top: 4vh;
      display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.clients-logo{
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 12vw;
    align-items: center;
}

.clients-logo img{
        opacity: 0.7;
        transition: 0.3s ease;
}

.clients-logo img:hover{
    opacity: 1;
}

.clients-logo img{
        width: 100%;
}

/* .clients img {
  width: 10vw;
  align-items: center;
}

.clients img:nth-last-child(-n+3) {
  margin-left: 5vw;
} */

.clients h4 {
  width: 100%;
    padding-bottom: 4vh;
    opacity: 0.7;}

/* Buttons */
#mobile-button {
  display: none;
}

  #desktop-button a {
    color: #393e46;
  }

/* Media Queries */
@media (max-width: 800px), (max-width: 400px) {
  #gallery {
    column-count: 1;
  }
}

@media (max-width: 767px) {

    .home-project {
opacity: 1;
}

  .home-project:nth-last-child(-n+2) {
    display: none;
  }

 h1 {
    width: 90%;
    font-size: 11vw;
  }

h2 {
        font-size: 5vw;
        width: 90%;
        margin-bottom: 34px;
  }

  .button {
    width: 48% !important;
    /* margin-bottom: 40px; */
  }

  .button a {
    font-size: 16px;
  }

  .button svg {
    width: 30px;
    height: auto;
  }

  #gallery img {
    height: 30vh !important;
    object-fit: cover;
  }

  #gallery h3 {
    margin-top: 15px;
    margin-bottom: 25px;
  }

  #desktop-button {
    display: none;
  }

    #mobile-button {
        display: block;
        width: 100% !important;
        text-align: end;
        margin-top: 25px;
        margin-bottom: 20px;
    }

  .information-details h4,
  .information-details h3 {
    font-size: 1.2rem;
  }

      .project-information-columns1 {
        margin-bottom: 15px;
        width: 100%;
        order: 1;
    }

    .project-information-columns2 {
        margin-right: 5vw;
        padding-bottom: 0px;
        max-width: 100%;
        order: 2;
                margin: 4vh 0;
        margin-left: 7vw;
    }

  .information-details .button {
        width: 100% !important;
  }

  .clients img {
    width: 34vw;
    margin-bottom: 30px;
  }

  .clients img:nth-last-child(2),
  .clients img:nth-last-child(4) {
        margin-left: 0vw;

  }

  .clients img:nth-last-child(0),
  .clients img:nth-last-child(3) {
    margin-left: 5vw;
  }

  .home-new-projects-text {
    display: none;
  }

  .clients-logo {

    grid-template-columns: auto auto;

}

}
