@import url(root.css);

.close {
  grid-column: 3;
  grid-row: 1;
  margin-left: auto;
}
.close:hover {
  box-shadow: none;
  color: var(--pri-450);
}
.category {
  grid-column: 1;
  grid-row: 1;
}

.agency {
  --space-top: 5rem;

  position: fixed;
  z-index: 100;

  bottom: -150vh;
  left: 0;

  overflow: hidden;

  width: calc(100vw - 2rem);
  min-height: calc(100vh - var(--space-top));

  font-family: var(--pri-fontfam);

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 2vh auto 2vh;

  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 3rem;

  transition: all 500ms cubic-bezier(0.2, 0.63, 0.27, 1);
}

@media screen and (max-width: 30rem) {
  .agency {
    --space-top: 10rem;
    grid-template-columns: calc(100vw - 1rem);
    grid-template-rows: auto;

    width: 100vw;
  }
}

.agency_details {
  grid-column: 1;
  margin-inline-end: 1rem;
}
.agency_name {
  font-size: var(--fontsize-llg);
  font-weight: var(--fw-700);
  line-height: var(--lineheight-0);
}
.agency_about {
  width: 80%;
  line-height: var(--lineheight-400);

  margin-bottom: 5vh;
}

.agency_branding_imgs {
  grid-column: 2 / 4;
  grid-row: 2;

  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;

  color: var(--pri-450);
}

.agency_branding_imgs img:hover {
  outline: 10px solid var(--pri-450);
  outline-offset: -10px;
}

@media screen and (max-width: 30rem) {
  .agency_branding_imgs {
    grid-column: 1;
    grid-row: 3;
  }
}

.agency_branding_imgs img {
  height: 35vh;
  transition: all 500ms cubic-bezier(0.2, 0.63, 0.27, 1);
  outline: none;
  outline-offset: 0;
}

@media screen and (min-height: 800px), screen and (min-width: 1024px) {
  .agency_branding_imgs img {
    height: 30vh;
  }
}

@media screen and (min-height: 900px), screen and (min-width: 1024px) {
  .agency_branding_imgs img {
    height: 30vh;
  }
}
@media screen and (min-height: 1200px) {
  .agency_branding_imgs img {
    height: 28vh;
  }
}

@media screen and (min-height: 1300px) {
  .agency_branding_imgs img {
    height: 25vh;
  }
}

/* Tablet agency branding images */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .agency_branding_imgs img {
    height: 25vh;
    width: auto;
    object-fit: cover;
  }
}

/* Mobile agency branding images */
@media screen and (max-width: 30rem) {
  .agency_branding_imgs img {
    height: 20vh;
    width: 100%;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
}

.slash_separator {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
@media screen and (max-width: 30rem) {
  .slash_separator {
    display: none;
  }
}
.exit {
  grid-column: 3;
  grid-row: 1;

  justify-self: end;
  align-self: flex-start;

  font-size: var(--fontsize-llg);
  font-weight: 100;
  font-family: var(--sec-fontfam);
}
@media screen and (max-width: 30rem) {
  .exit {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
}

/*Wildcard*/
.agency_wildcard {
  color: var(--wildcard-sec);
  background-color: var(--wildcard-pri);
}
.agency_wildcard a {
  color: var(--wildcard-sec);
}
.agency_wildcard:target {
  bottom: var(--space-slide);
}
/*TheGroundUp*/
.agency_groundup {
  color: var(--groundup-sec);
  background-color: var(--groundup-pri);
}
.agency_groundup a {
  color: var(--groundup-sec);
}
.agency_groundup:target {
  bottom: var(--space-slide);
}
/*Tanoshii*/
.agency_tanoshii {
  color: var(--tanoshii-sec);
  background-color: var(--tanoshii-pri);
}
.agency_tanoshii a {
  color: var(--tanoshii-sec);
}
.agency_tanoshii:target {
  bottom: var(--space-slide);
}
/*Takameru*/
.agency_takameru {
  color: var(--takameru-sec);
  background-color: var(--takameru-pri);
}
.agency_takameru a {
  color: var(--takameru-sec);
}
.agency_takameru:target {
  bottom: var(--space-slide);
}
/*Disrupt*/
.agency_disrupt {
  color: var(--disrupt-sec);
  background-color: var(--disrupt-pri);
}
.agency_disrupt a {
  color: var(--disrupt-sec);
}
.agency_disrupt:target {
  bottom: var(--space-slide);
}

/*Oddity*/
.agency_oddity {
  color: var(--oddity-sec);
  background-color: var(--oddity-pri);
}
.agency_oddity a {
  color: var(--oddity-sec);
}
.agency_oddity:target {
  bottom: var(--space-slide);
}

/*Heliym*/
.agency_heliym {
  color: var(--heliym-sec);
  background-color: var(--heliym-pri);
}
.agency_heliym a {
  color: var(--heliym-sec);
}
.agency_heliym:target {
  bottom: var(--space-slide);
}

/*Fr/-gmnts*/
.agency_frgmnts {
  color: var(--frgmnts-sec);
  background-color: var(--frgmnts-pri);
}
.agency_frgmnts a {
  color: var(--frgmnts-sec);
}
.agency_frgmnts:target {
  bottom: var(--space-slide);
}

.clientele {
  --space-top: 5rem;

  position: fixed;
  z-index: 100;
  top: 0;
  left: -100vw;

  width: 55vw;
  min-height: calc(100vh - var(--space-top));

  font-family: var(--pri-fontfam);

  display: grid;
  grid-template-columns: repeat (2, 1fr);
  grid-template-rows: min(10vh) min(20vh) auto 2vh;

  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 3rem;

  transition: all 500ms cubic-bezier(0.2, 0.63, 0.27, 1);
}

@media screen and (max-width: 30rem) {
  .clientele {
    width: 100vw;
    grid-template-rows: min(10vh) auto;
  }
}

.clientele_details {
  grid-column: 1;
}
.clientele_name {
  font-size: var(--fontsize-llg);
  font-weight: var(--fw-700);
  line-height: var(--lineheight-0);
}

.clientele_imgs {
  grid-column: 1 / 4;
  grid-row: 3;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;

  color: var(--pri-450);

  border: 0px;
}

.clientele_imgs img {
  height: 35vh;
  transition: all 500ms cubic-bezier(0.2, 0.63, 0.27, 1);
  outline: none;
  outline-offset: 0;
}
.clientele_imgs img:hover {
  outline: 10px solid var(--pri-450);
  outline-offset: -10px;
}

@media screen and (min-height: 800px) {
  .clientele_imgs img {
    height: 30vh;
  }
}
@media screen and (min-height: 1200px) {
  .clientele_imgs img {
    height: 28vh;
  }
}

/* Tablet client project images */
@media screen and (min-width: 30.1rem) and (max-width: 48rem) {
  .clientele_imgs img {
    height: 25vh;
    width: auto;
    object-fit: cover;
  }
}

/* Mobile client project images */
@media screen and (max-width: 30rem) {
  .clientele_imgs img {
    height: 25vh;
    width: 100%;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
}

.type {
  grid-row: 1;
}
@media screen and (max-width: 30rem) {
  .type {
    grid-column: 3;
  }
}

.roles {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-self: flex-start;
  grid-column: 1/3;
}
.roles p {
  width: 100%;
}
.roles ul {
  flex: 1;
  width: 50%;
}

@media screen and (max-width: 30rem) {
  .roles {
    display: none;
  }
}

.grid-showcase *:target {
  left: var(--space-slide);
}
/* disrupt */
.grid-showcase:has(.kupaa:target) .list-of-clients span a.kupaa,
.grid-showcase:has(.pumpkins:target) .list-of-clients span a.pumpkins,
.grid-showcase:has(.artbox:target) .list-of-clients span a.artbox,
.grid-showcase:has(.mop:target) .list-of-clients span a.mop,
.grid-showcase:has(.solace:target) .list-of-clients span a.solace,
.grid-showcase:has(.bycaxs:target) .list-of-clients span a.bycaxs,
/* wilcards */
.grid-showcase:has(.tcc:target) .list-of-clients span a.tcc,
.grid-showcase:has(.scdf:target) .list-of-clients span a.scdf,
.grid-showcase:has(.tec:target) .list-of-clients span a.tec,
.grid-showcase:has(.maps:target) .list-of-clients span a.maps,
.grid-showcase:has(.sandbox:target) .list-of-clients span a.sandbox,
.grid-showcase:has(.fms:target) .list-of-clients span a.fms,
.grid-showcase:has(.ttkc:target) .list-of-clients span a.ttkc,
/* takameru */
.grid-showcase:has(.dbs:target) .list-of-clients span a.dbs,
.grid-showcase:has(.otera:target) .list-of-clients span a.otera,
.grid-showcase:has(.heartcore:target) .list-of-clients span a.heartcore,
.grid-showcase:has(.omni:target) .list-of-clients span a.omni,
.grid-showcase:has(.secondnature:target) .list-of-clients span a.secondnature,
.grid-showcase:has(.lighthouse:target) .list-of-clients span a.lighthouse {
  color: var(--pri-450);
}

.xd {
  width: 100%;
  height: 100%;
}
.clientele_imgs > * {
  overflow: hidden;
}
