:root {
  --primary: #bfea88;
  --whait: #b2b2b2;
  --black: #0a0a0a;
  --dark: #192928;
}

/* styles for work.html */
.content {
  padding: 0 5%;
}
.works {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 2em;
  padding-top: 7em;
  overflow: hidden;
}

.works .card-work {
  position: relative;
  width: 300px;
  height: 400px;
  border: 1px solid var(--black);
}

.card-work model-viewer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  --poster-color: transparent;
  z-index: 2;
}

.card-lable {
  background-color: var(--primary);
  max-width: max-content;
  padding: 0.5em;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
}

.card-lable h2 {
  text-transform: uppercase;
  font-family: "Saira Condensed", sans-serif;
  line-height: 85%;
}

.card-lable p {
  font-family: "inter", sans-serif;
  font-size: 0.6rem;
}

.card-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-left div {
  display: flex;
  justify-content: space-between;
}

.card-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 0.5rem;
}

.bottom-card {
  position: absolute;
  bottom: 2.5%;
  right: 0;
  text-align: right;
  z-index: 4;
}

.container {
  width: 100%;
  height: 100%;
  /* min-height: 90vh; */
  padding: 2rem;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-img {
  width: 100%;
  height: 700px;
  margin: 2rem 0;
}

.about-copy {
  width: 100%;
  display: flex;
  margin-bottom: 3rem;
}

.about-copy > div {
  flex: 1;
}

.about-copy-col h1 {
  line-height: 100%;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 4rem;
}

.about-copy .about-copy-col:nth-child(2) {
  padding-right: 10rem;
}

.white-space {
  display: none;
}

.need {
  display: block;
  height: 50vh;
}

.services {
  margin: 2rem 0 6rem 0;
  padding: 0 2rem;
}

.services-cols {
  width: 100%;
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.services-cols > div {
  flex: 1;
}

.services h1 {
  line-height: 100%;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 4rem;
}

.service h1 {
  font-size: 2rem;
  text-transform: capitalize;
  margin: 1rem 0;
}

.service p {
  font-style: italic;
}

.clients {
  width: 100%;
  padding: 3rem 2rem;
}

.clients h1 {
  line-height: 100%;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 4rem;
  margin: 1rem 0 2rem 0;
}

.clients-container {
  width: 75%;
  margin: 3rem auto 6rem auto;
}

.c-row {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
}

.c-item {
  width: 25%;
  padding: 2rem;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-item img {
    filter: brightness(0%);
    -webkit-filter:brightness(0%);
}

@media (max-width: 900px) {
  .about-copy .about-copy-col:nth-child(2) {
    padding-right: 0;
  }

  .about-copy {
    flex-direction: column;
    gap: 2rem;
  }

  .services-cols {
    flex-direction: column;
  }

  .c-row {
    flex-direction: column;
  }

  .c-item {
    width: 100%;
  }

  .white-space {
    display: block;
    height: 50vh;
  }
}

@media only screen and (max-width: 900px) {
  .content {
    padding-top: 5em;
  }
  .work {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .works .card-work {
    width: 350px;
    height: 400px;
  }

  .story-board {
    margin-top: 70rem;
  }
}
