/* CSS Reset | Published on 18 September 2023 by Andy Bell */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h4 {
  line-height: 1.1;
}

h3 {
  line-height: 1.35;
}

button, input, label {
   line-height: 1; 
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  text-decoration: underline;
  text-underline-offset: 0.45rem;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 3rem;
}

/* Make bold semibold */

strong {
  font-weight: 600;
}

/* showfactory.cz CSS */

:root {
    --header-background-color: rgba(0, 0, 0, 1);
    --body-background-color: rgba(24, 24, 24, 1);
    --footer-background-color: rgba(0, 0, 0, 1);
    --primary-font-color: rgba(245, 245, 245, 1);
    --secondary-font-color: rgba(0, 0, 0, 1);
    --link-font-color: rgba(255, 230, 0, 1);
    --btn-font-color: rgba(245, 245, 245, 1);
    --btn-primary-background: rgba(0, 0, 0, 0);
    --btn-secondary-background: rgba(215, 0, 0, 1);
    --primary-font-family: 'area-variable', sans-serif;
    --secondary-font-family: 'area-variable', sans-serif;
    --btn-font-family: 'area-variable', sans-serif;
    --body-font-size: 16px;
    --h1-size: 13.25rem;
    --h2-size: 4rem;
    --h3-size: 1rem;
    --h4-size: 5rem;
    --h5-size: 1rem;
    --subheadline-font-size: 2rem;
    --btn-font-size: 1rem;
    --caption-font-size: 0.75rem;
    --petit-font-size: 0.75rem;
}

@media (max-width: 992px) {

  :root {
    --h1-size: 3.5rem;
    --h2-size: 3rem;
    --h3-size: 1rem;
    --h4-size: 4rem;
    --h5-size: 1rem;
    --subheadline-font-size: 1.5rem;
    --btn-font-size: 1rem;
    --caption-font-size: 0.75rem;
    --petit-font-size: 0.6rem;
  }

}

@media (max-width: 768px) {

  :root {
    --h4-size: 3rem;
  }

}

@media (max-width: 576px) {

  :root {
    --h2-size: 2rem;
    --h3-size: 0.75rem;
    --h4-size: 2rem;
    --h5-size: 1rem;
    --subheadline-font-size: 1.25rem;
    --btn-font-size: 1rem;
    --caption-font-size: 0.75rem;
    --petit-font-size: 0.6rem;
  }

}


html {
  font-size: var(--body-font-size);
}

body {
  color: var(--primary-font-color);
  background-color: var(--body-background-color);
  font-family: var(--primary-font-family);
}

section {
  position: relative;
  z-index: 9999;
  width: 100%;
  padding: 0 40px;
}

section.padding-custom {
  padding: 0 30px;
}

@media (max-width: 576px) {

    section {
    padding: 0 16px;
  }

  section.padding-custom {
    padding: 0 6px;
  }

}

section.absolute {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8888;
  padding: 0;
  margin: 0;
}

/* HEADER */

header {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  z-index: 9999;
}

@media (max-width: 992px) {

    header {
    flex-direction: row;
    width: 100%;
  }

}

header .site-language-picker {
  margin: 20px 24px 0 auto;
  z-index: 99999;
}

@media (max-width: 992px) {

  header .site-language-picker {
    order: 2;
  }

}

@media (max-width: 576px) {

  header .site-language-picker {
    margin: 16px 16px 0 auto;
  }

}

header .site-language-picker ul {
  margin: 0;
  padding: 0;
}

header .site-language-picker li {
  margin: 0;
  padding: 0;
  list-style: none;
}

header .site-language-picker a {
  display: flex;
  padding: 4px 8px;
  border-radius: 16px;
  background-color: var(--primary-font-color);
  text-decoration: none;
  color: var(--secondary-font-color);
  font-weight: 700;
  justify-content: center;
  align-items: center;
  font-size: var(--petit-font-size);
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

@media (max-width: 576px) {

  header .site-language-picker a {
    padding: 3px 8px 4px;
  }

}

.hidden {
  display: none;
}

header .site-logotype {
  width: 100%;
  visibility: hidden;
}

header .site-logotype img {
  margin: 16px auto 0;
  padding: 0;
  width: calc(100% - 48px);
}

@media (max-width: 992px) {

  header .site-logotype {
    width: auto;
    margin: 0 48px 0 0;
  }

  header .site-logotype img {
    margin: 20px 0 0 24px;
    padding: 0;
    width: 100%;
  }

}

@media (max-width: 576px) {

  header .site-logotype {
    width: auto;
    margin: 0 64px 0 0;
  }

  header .site-logotype img {
    margin: 16px 0 0 16px;
  }

}

header .site-logotype h1 {
  font-size: var(--h1-size);
  text-align: center;
  margin: -20px 0 0 0;
  display: none;
}

/* HERO */
/* SLIDESHOW */

.site-reel-slideshow-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {

  .site-reel-slideshow-container {
    height: 85vh;
  }

} 

.site-reel-slideshow-container img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: -1;
}

.site-reel-slideshow-container img.next {
  opacity: 1;
  z-index: 1;
}

.site-reel-slideshow-container img.prev {
  opacity: 1;
  z-index: 2;
}

.site-reel-slideshow-container img.fade-out {
  opacity: 0;
  transition: visibility 0.75s 2s, opacity 2s ease-in-out;
  visibility: hidden;
}

/* HERO */
/* SHOWREEL */

.site-showreel-container video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}


/* HERO */
/* HEADLINE, BODYCOPY */

.site-headline,
.site-bodycopy {
  visibility: hidden;
}

.site-headline-bodycopy-container {
  display: flex;
  flex-direction: column;
  margin-top: calc(100vh - 120px);
}

@media (max-width: 768px) {

  .site-headline-bodycopy-container {
    margin-top: calc(100vh - 250px);
  }

} 

.site-headline {
  width: 75%;
}

@media (max-width: 992px) {

  .site-headline {
    width: 80%;
  }

}

@media (max-width: 768px) {

  .site-headline {
    width: auto;
  }

}

@media (min-width: 1600px) {

  .site-headline {
    width: 70%;
  }

}


.site-bodycopy {
  width: 66.6%;
  margin: 30px 0 0 0;
}

@media (max-width: 1280px) {

  .site-bodycopy {
    width: 75%;
  }

}

@media (max-width: 768px) {

  .site-bodycopy {
    width: auto;
  }

}

@media  (min-width: 1600px) {

  .site-bodycopy {
    width: 47.5%;
    margin: 30px 0 0 0;
  }

}

.site-headline h2 {
  font-size: var(--h2-size);
  line-height: 1.15;
}

.site-bodycopy p {
  font-size: var(--subheadline-font-size);
  line-height: 1.5;
}

.site-bodycopy a {
  color: var(--link-font-color);
}

/* SELECTED WORKS */

.selected-works-container{
  margin: 180px auto 0;
}

.selected-works-headline {
  width: fit-content;
  margin: 0 0 0 auto;
}

.selected-works-headline h3 {
  font-size: var(--h3-size);
  width: fit-content;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.selected-works-items-container {
  margin: 60px 0 0 0;
}

@media (max-width: 576px) {

  .selected-works-items-container {
    margin: 40px 0 0 0;
  }

}

/* SELECTED WORKS — WORK */

.selected-works-item-container {
  padding: 40px 0;
  margin: 0;
  border-bottom: 2px solid var(--btn-font-color);
  visibility: hidden;
}

.selected-works-item-container:first-of-type {
  padding: 0 0 40px;
}

.selected-works-item-container:last-of-type {
  padding: 40px 0 0;
  border-bottom: 0;
}

.selected-works-item-container:only-of-type {
  padding: 0 0 40px;
}

@media (max-width: 576px) {

  .selected-works-item-container {
    padding: 30px 0;
  }

  .selected-works-item-container:first-of-type {
    padding: 0 0 30px;
  }

  .selected-works-item-container:last-of-type {
    padding: 30px 0 0;
  }

}

.selected-works-item-headline h4 {
  font-size: var(--h4-size);
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
  margin-block-start: -1rem;
}

@media (max-width: 576px) {

  .selected-works-item-headline h4 {
    margin-block-start: -0.7rem;
  }

}

.selected-works-item-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: -8px 0 0 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.85s ease-in-out;
}

.client-logotype {
  width: 137px;
  margin: 0 0 0 auto;
}

.client-logotype.mobile {
    display: none;
  }

@media (max-width: 768px) {

  .client-logotype {
    display: none;
  }

  .client-logotype.mobile {
    display: block;
    width: 104px;
    margin: 0 auto;
  }

}

.width100 {
  width: 100%;
}

.width75 {
  width: 75%;
}

.width50 {
  width: calc(50% - 10px);
}

@media (max-width: 768px) {

  .width100,
  .width75,
  .width50 {
    width: 100%;
  }

}

.align-left {
  margin: 0 auto 0 0;
}

.align-right {
  margin: 0 0 0 auto;
}

.selected-work-video {
  width: 100%;
}

/* PHOTOGALLERY */

.photogallery-container {
  margin: 180px auto 0;
}

.photogallery-headline {
  width: fit-content;
  margin: 0 10px 40px auto;
}

@media (max-width: 576px) {

  .photogallery-headline {
    width: fit-content;
    margin: 0 10px 15px auto;
  }

}

.photogallery-headline h3 {
  font-size: var(--h3-size);
  width: fit-content;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.photogallery-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0;
}

.photogallery-grid-column {
  flex: 33.3%;
  max-width: 33.33%;
  padding: 0;
}

@media (max-width: 768px) {

  .photogallery-grid-column {
    flex: 100%;
    max-width: 100%;
    padding: 0;
  }

}

.photogallery-grid-column:first-of-type,
.photogallery-grid-column:last-of-type {
  padding: 0 10px 0 10px;
}

.photogallery-grid-column:nth-of-type(2) {
  padding: 0 10px 0;
}

@media (max-width: 768px) {

  .photogallery-grid-column:last-of-type {
    display: none;
  }

}

.photogallery-grid-column img {
  width: 100%;
  padding: 0;
  margin: 20px 0 0 0;
}

/* PHOTOGALLERY ITEM */

.photogallery-grid-item-container {
  position: relative;
  z-index: 1;
}

.photogallery-grid-item-caption {
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: 6666;
}

.photogallery-grid-item-caption span {
  font-size: var(--caption-font-size);
  font-weight: 700;
  color: var(--secondary-font-color);
  text-transform: uppercase;
  padding: 0 0 0 16px;
  opacity: 0;
  transition: opacity 0.8s;
}

.photogallery-grid-item-caption span.caption-color-w {
  color: var(--primary-font-color);
}

.photogallery-grid-item-caption span.caption-color-b {
  color: var(--secondary-font-color);
}

.photogallery-grid-item-container:hover > .photogallery-grid-item-caption span {
  opacity: 1;
}

.photogallery-grid-item-img {
  position: relative;
  top: 0;
  left: 0;
  z-index: 5555;
}

.photogallery-grid-item-img img.in-view {
  filter: grayscale(1);
  transition: filter 0.8s ease-in-out;
}

.photogallery-grid-item-container:hover > .photogallery-grid-item-img img {
  filter: grayscale(0);
}



/* CLIENT AND REFERENCES */

.clients-references-container {
  margin: 180px auto 0;
}

.clients-references-headline {
  width: fit-content;
  margin: 0 auto;
}

@media (max-width: 768px) {
  
  .clients-references-headline {
    margin: 0 auto;
  }

}

.clients-references-headline h3 {
  font-size: var(--h3-size);
  width: fit-content;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.clients-references-items-container {
  display: flex;
  max-width: 1440px;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 40px;
  column-gap: 60px;
  margin: 60px auto 0;
  justify-content: center;
  align-items: center;
}

@media (max-width: 576px) {

  .clients-references-items-container {
    margin: 40px auto 0;
  }

}

.clients-references-item {
  display: block;
  width: 160px;
  filter: grayscale(1);
}

.clients-references-item-x-large {
  display: block;
  width: 256px;
  filter: grayscale(1);
}

@media (max-width: 576px) {


  .clients-references-item {
    width: 128px;
  }

  .clients-references-item-x-large {
    width: 208px;
  }


}

.clients-references-item img {
  max-width: 100%;
  height: auto;
}

/* TEAM */

.team-container {
  margin: 180px auto 180px;
  
}

.team-headline {
  width: fit-content;
  margin: 0 auto;
}

.team-headline h3 {
  font-size: var(--h3-size);
  width: fit-content;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.team-content-container {
  display: flex;
  max-width: 1280px;
  flex-direction: row;
  margin: 60px 5rem 0;
  justify-content: space-between;
  align-items: flex-end;
  column-gap: 60px;
  position: relative;
}

@media (max-width: 576px) {

  .team-content-container {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 1120px) {

  .team-content-container {
    margin: 60px auto 0;
  }

}

@media (min-width: 1600px) {

  .team-content-container {
    margin: 60px auto 0;
  }

}

.team-members-people {
  display: grid;
  grid-template-columns: auto auto;
  margin: 0;
  padding: 0;
}

.team-members-people.no-photo {
  margin: 0 auto;
}

@media (max-width: 992px) {

  .team-members-people {
    grid-template-columns: auto;
  }

}

@media (max-width: 576px) {

  .team-members-people {
    grid-template-columns: auto auto;
    margin: 0 0 60px 0;
    row-gap: 40px;
    column-gap: 60px;
  }

}

@media (max-width: 480px) {

  .team-members-people {
    grid-template-columns: auto;
  }

}

.team-member-container {
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
}

.team-member-container.no-photo {
  align-items: center;
}


@media (max-width: 576px) {

  .team-member-container {
    padding: 0;
  }  

}

.team-member-container h4 {
  padding-bottom: 10px;
}

.team-member-email-container,
.team-member-telephone-container {
  display: flex;
  flex-direction: row;
  column-gap: 5px;
  line-height: 1.8;
}

.team-members-images-all {
  position: relative;
  max-width: 585px;
  padding: 0 0 15px 0;
}

@media (max-width: 768px) {

  .team-members-images-all {
    max-width: none;
    width: 100%;
    padding: 0;
  }

}

/* FOOTER */

footer {
  display: flex;
  flex-direction: column;
  padding: 80px 40px;
  color: var(--primary-font-color);
  background-color: var(--footer-background-color);
  font-family: var(--primary-font-family);
}

@media (max-width: 576px) {

  footer {
    padding: 48px 16px;
    font-size: var(--caption-font-size);
  }

}

footer a {
  font-weight: 600;
  color: var(--primary-font-color);
  text-decoration-line: underline;
  text-decoration-color: var(--primary-font-color);
}

.footer-row-first {
  margin: 0 0 20px 0;
}

.footer-row-second {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 792px) {

  .footer-row-second {
    flex-direction: column;
  }

}

.footer-row-second-right-wrap {
    display: flex;
    flex-direction: column;
  }

@media (max-width: 1440px) {

  .footer-row-second-right-wrap {
    flex-direction: column;
    align-items: flex-end;
  }

}

@media (max-width: 792px) {

  .footer-row-second-right-wrap {
    margin: 40px 0 0 0;
  }

}

.footer-row-second .company-details {
  display: flex;
  flex-direction: column;
}

.footer-row-second .company-details-registered,
.footer-row-second .company-details-office,
.footer-row-second .rn-vatin-container {
  display: flex;
  flex-direction: row;
}

.footer-row-second .company-details-title {
  font-variation-settings: "slnt" -10;
}

.footer-row-second .company-details-detail {
  text-indent: 4px;
}


.footer-row-second .rn-vatin-container {
  gap: 8px;
}

.footer-row-second .rn-container,
.footer-row-second .vatin-container {
  display: flex;
  flex-direction: row;
}

.footer-row-second .kontralicht-endorsement {
  width: 66.6%;
  margin: 20px 0 0 0;
}

.footer-row-second .cta-question {
  margin: 0 40px 0 auto;
  width: 45%;
}

@media(max-width: 1440px) {

  .footer-row-second .cta-question {
    margin: 0 0 0 auto;
    width: 75%;
  }

}

@media(max-width: 1280px) {

  .footer-row-second .cta-question {
    width: 100%;
  }

}

.footer-row-second .cta-question p {
  font-weight: 600;
}

.footer-row-second .company-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  
}

@media(max-width: 1440px) {

  .footer-row-second .company-contact {
    width: 75%;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
  }

}

@media(max-width: 1280px) {

  .footer-row-second-right {
    width: 33.3%;
  }

  .footer-row-second .company-contact {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

}

@media(max-width: 792px) {

  .footer-row-second-right {
    width: 66.6%;
  }

}

.footer-row-second .company-social-profiles {
  display: flex;
  gap: 10px;
  margin: 16px 0 0 0;
}

.site-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 80px 0 0 0;
  font-size: var(--petit-font-size);
}

.logotype-footer {
  width: 264px;
}

@media(max-width: 792px) {

  .logotype-footer {
    width: 204px;
  }

}

@media(max-width: 576px) {

  .logotype-footer {
    width: 160px;
  }

}

.logotype-footer img {
  max-width: 100%;
}

/* In Viewport */

@media (max-width: 768px) {

  .photogallery-grid-item-caption span {
    font-size: var(--caption-font-size);
  }

  .photogallery-grid-item-container.in-view.in-viewport > .photogallery-grid-item-caption span {
    opacity: 1;
  }

  .photogallery-grid-item-img img.in-view {
    filter: grayscale(1);
    transition: filter 0.8s ease-in-out;
  }

  .photogallery-grid-item-img img.in-view.in-viewport {
    filter: grayscale(0);
  }

}


/* KONTRALICHT CSS */

.selected-works-toggle-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 16px;
}

@media(max-width: 924px) {

  .selected-works-toggle-container {
    width: 576px;
    justify-content: center;
    margin: 0 auto;
  }

}

@media(max-width: 767px) {

  .selected-works-toggle-container {
    width: 100%;  
  }

}

a.selected-works-toggle {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 7px 24px 8px;
  border-radius: 24px;
  border: 1px solid var(--primary-font-color);
  color: var(--primary-font-color);
  font-size: var(--h3-size);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.75px;
  background-color: transparent;
  transition: all 0.5s ease-out;
}

@media (max-width: 576px) {

  a.selected-works-toggle {
    padding: 8px 24px 7px;
  }

}

a.selected-works-toggle:hover {
  border: 1px solid var(--primary-font-color);
  background-color: var(--primary-font-color);
  color: var(--body-background-color);
}

a.selected-works-toggle.active-selection {
  border: 1px solid var(--btn-secondary-background);
  background-color: var(--btn-secondary-background);
  pointer-events: none;
}

.fade-out {
  opacity: 0;
  transition: 0.5s ease-in-out;
}

.fade-in {
  opacity: 1;
  transition: 0.5s ease-in-out;
}

/* typography updates */

.selected-works-item-headline > h4  {
  color: rgba(245, 245, 245, 0.25);
  transform: scale(0.6);
  transform-origin: left top;
  margin-block-end: calc(var(--h4-size) * -0.6);
  transition: color 0.6s ease, transform 0.6s ease, margin 0.6s ease;
}

@media (max-width: 576px) {

  .selected-works-item-headline h4  {
    transform: scale(1);
    margin-block-end: 0;
  }  

}

.selected-works-item-headline h4:hover,
.selected-works-item-headline h4.active-project {
  color: rgba(245, 245, 245, 1);
  transform: scale(1);
  margin-block-end: 0;
}
