@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap");
* {
  font-family: "Montserrat", sans-serif;
  transition: 0.2s ease-in-out;
}
.mt-30 {
  margin-top: 30px;
}
body {
  margin: 0;
}
.container {
  box-sizing: border-box;
  max-width: 1040px;
}
strong {
  font-weight: 700;
}

/* HIDE PC AND MOBILE */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}
@media (min-width: 768px) {
    .hide-pc {
        display: none !important;
    }
}

.text-center {
    text-align: center;
}
.text-justify {
    text-align: justify;
}
.content-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-col {
    flex-direction: column;
}

/* TEXT IN LINE */
.textInLine {
  font-size: 28px;
  width: 100%;
  position: relative;
  text-align: center;
  margin: 0;
  margin-bottom: 18px;
  display: flex;
  column-gap: 9px;
}
.textInLine span {
  position: relative;
  background: #fff;
  flex-grow: 1;
}
.textInLine span:first-child,
.textInLine span:last-child {
  min-width: 25px;
  flex-grow: 100;
}
.textInLine span:first-child:before,
.textInLine span:last-child:before {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  background: #a7a9ac;
  position: absolute;
  left: 0;
  top: calc(50% - 3px);
  z-index: 0;
}

/* HEADINGS */
h1,
h2,
h3,
h4 {
  font-weight: 500;
}
h2,
h3,
h4 {
  text-transform: uppercase;
}
h1 {
  font-size: 48px;
  text-transform: uppercase;
}
h2 {
  font-size: 34px;
}
h3 {
  font-size: 18px;
  font-weight: 700;
}
h4 {
  font-size: 18px;
}
/* PARAGRAPS */
p,
a {
  color: #000;
}

.lighter {
  color: #a7a9ac;
}
.lowerCase {
  text-transform: lowercase;
}
.ml-auto {
  margin-left: auto;
}

/* BUTTONS */
.btn {
  text-transform: uppercase;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 45px;
  background-color: #090909;
  color: #fff;
}
.btn.withArrow {
  display: flex;
  column-gap: 15px;
  width: fit-content;
}
.btn.onlyArrow {
  border-radius: 50%;
  padding: 10px;
}
.btn.withArrow::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  text-align: center;
  width: 15px;
  height: 15px;
}
.btn:hover {
  background-color: #ebebeb;
  color: #000;
}

/* HEADER */
header {
  padding-top: 50px;
}
header > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  row-gap: 27px;
  text-align: center;
  position: relative;
}
/* TOGGLER */
.toggler {
  position: absolute;
  /* top: -20px; */
  right: 12px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
/* TOGGLER BUTTON */
:root {
    --var-togglespan: 3px;
}
.toggler .togglerButton {
  display: flex;
  flex-direction: row;
  column-gap: 0px;
  padding: 16px 13px;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  overflow: hidden;
  max-width: 30px;
}
.toggler .togglerButton:hover {
  cursor: pointer;
}
.toggler.active .togglerButton {
  border-color: #000;
  column-gap: 32px;
  max-width: 100%;
}
.togglerIcon {
  position: relative;
  width: 30px;
  height: 26px;
  display: block;
  background: #fff;
}
.toggler span:not(.textToggler) {
  width: 30px;
  height: calc(var(--var-togglespan) * 2);
  border-radius: 14px;
  background: #000;
  position: absolute;
  left: 0;
  opacity: 1;
}
.toggler .textToggler {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
}
.toggler.active .textToggler {
  display: block;
  opacity: 1;
}
.toggler .togglerIcon span:first-child {
  top: 0;
}
.toggler .togglerIcon span:nth-child(2) {
  top: calc(50% - var(--var-togglespan));
}
.toggler .togglerIcon span:last-child {
  bottom: 0;
}
.toggler.active .togglerIcon span:first-child {
  top: calc(50% - var(--var-togglespan));
  transform: rotate(-45deg);
}
.toggler.active .togglerIcon span:nth-child(2) {
  opacity: 0;
}
.toggler.active .togglerIcon span:last-child {
  bottom: calc(50% - var(--var-togglespan));
  transform: rotate(45deg);
}
/* END TOGGLER BUTTON */

/* TOGGLER NAV */
.toggler nav {
  background: #fff;
  border-radius: 10px;
  position: absolute;
  right: 0;
  top: 60px;
  z-index: 10000;
  display: none;
  opacity: 0;
  overflow: hidden;
}
.toggler.active nav {
  display: block;
  animation: showNav 0.2s;
  animation-fill-mode: forwards;
}
.toggler.deactive nav {
  display: block;
  animation: hideNav 0.2s;
  animation-fill-mode: forwards;
}
.toggler ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: max-content;
  padding: 0;
  margin: 0;
}
.toggler .navigation a {
  display: block;
  text-decoration: none;
  padding: 12px 40px;

  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  text-align: right;
}
.toggler .navigation li,
.toggler .navigation a {
  width: 100%;
  box-sizing: border-box;
}
.toggler .navigation a:hover {
  background: #dadada;
}
.toggler .navigation > li > a {
  position: relative;
}
.toggler .navigation i {
  position: absolute;
  top: calc(50% - 10px);
  left: 14px;
}
.toggler .withSubNav .subNavigation {
  max-height: 0;
  overflow: hidden;
  display: block;
}
.toggler .withSubNav.active i {
  transform: rotate(180deg);
}
.toggler .withSubNav.active .subNavigation {
  max-height: 100%;
}

/* MAIN */
/* INTRO */
.intro {
  padding-bottom: 60px;
}
.intro img {
  width: 100%;
}
.intro.homePage h1 {
  margin: 0;
  color: #fff;

  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
/* UNDER INTO ON HOMEPAGE */
.underIntro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}
.underIntro .textLeft {
  font-weight: 600;
  font-style: italic;
}
.underIntro .textLeft p {
  color: #a7a9ac;
  margin: 0;
}
/* LEFT LINE */
.leftLine {
  position: relative;
}
.leftLine::before {
  content: "";
  display: block;
  width: 6px;
  background: #a7a9ac;

  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 4%;
}
/*.leftLine > * {
  position: relative;
  z-index: 10;
}
.leftLine > *:not(img) {
  padding-left: calc(4% + 30px);
}
.staticPage .leftLine::before {
  left: 15px;
}
.staticPage .leftLine > *:not(img) {
  padding-left: calc(15px + 30px);
}*/
.leftLine > *:not(.slider),
.leftLine .slider-item > * {
  position: relative;
  z-index: 10;
}
.leftLine > *:not(.slider),
.leftLine .slider-item > *:not(img) {
  padding-left: calc(4% + 30px);
}
.staticPage .leftLine::before {
  left: 15px;
}
.staticPage .leftLine > *:not(div.slider),
.staticPage .leftLine .slider-item > *:not(img) {
  padding-left: calc(15px + 30px);
}

/* STATIC PAGE */
.coverPhoto .rightPart {
  text-align: right;
}
.coverPhoto .rightPart img {
  width: 450px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;

  max-width: 100%;
}
/* PAIR GALLERY */
.pairGallery img {
  max-width: 100%;
}
.pairGallery {
  display: flex;
  flex-direction: column;
  row-gap: 100px;
}
/* QUAD GALLERY */
.quadGallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quadGallery {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  column-gap: 20px;
  flex-wrap: wrap;
  height: 700px;
  min-height: 100%;
}
.quadGallery .gallery-item {
  flex-grow: 2;
  height: calc(55% - 10px);
  max-width: calc(50% - 10px);
}
.quadGallery .gallery-item:first-child,
.quadGallery .gallery-item:last-child {
  flex-grow: 1;
  height: calc(45% - 10px);
}

/* PROJECT */
.project {
  margin-bottom: 20px;
}
.project h2 {
  font-size: 24px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
.project a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

/* GALLERY OF PROJECT */
.photoOfProject,
.photoDescribeMidle {
  margin-top: 24px;
}
.photoOfProject p {
  margin-bottom: 0;
  margin-top: 24px;
}
.photoOfProject img {
  width: 100%;
}
.portraite.photoOfProject:not(:has(div:nth-child(3))) {
  flex-grow: 1;
}
.portraite.photoOfProject:has(p) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.portraite.photoOfProject > div {
  flex-grow: 1;
  overflow: hidden;
  max-height: 100%;
}
.portraite.photoOfProject img {
  max-height: 100%;
  width: 100%;
  object-fit: cover;
}
.portraite.photoOfProject {
  max-height: 850px;
}
.photoDescribeMidle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.photoDescribeMidle p {
  margin: 0;
}

@media (max-width: 991px) {
  .logo:not(.headerLogo) img {
    max-height: 67px;
  }

  .portraite.photoOfProject {
    max-height: 600px;
  }
}
@media (max-width: 767px) {
  .logo:not(.headerLogo) img {
    max-height: 67px;
  }

  .textInLine {
    font-size: 16px;
  }

  .intro.homePage img {
    margin-bottom: -28px;
  }
  h1 {
    font-size: 22px;
  }
  h2 {
    font-size: 18px;
  }
  h4 {
    font-size: 12px;
  }
  /* STATIC PAGE */
  .coverPhoto {
    flex-direction: column-reverse;
    align-items: center;
  }
  .coverPhoto .rightPart {
    text-align: center;
    margin-bottom: 40px;
  }
  .coverPhoto .rightPart img {
    max-width: 50%;
  }

  .pairGallery,
  .quadGallery {
    margin-top: 50px;
  }

  .portraite.photoOfProject {
    max-height: 544px;
  }
}

/* ANIMATIONS */
@keyframes showNav {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hideNav {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 0;
    display: block;
  }
  100% {
    display: none;
  }
}


/* ------------------- NOVE UPRAVY ------------------- */

/* HEADER */
header {
    margin-bottom: 100px;
}
.headerLogo {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: max-content;
}
.headerLogo img {
    width: 100%;
}
.headerLogo span {
    text-transform: uppercase;
    text-align: left;
    font-size: 16px;
    margin-left: 50px;
    margin-top: -5px;
}

/* FOOTER */
footer h1 {
    text-transform: none;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 30px;
}
.postFooter {
    background-color: #a7a9ac;
    display: block;
    padding-top: 30px;
    padding-bottom: 30px;
}
.postFooter > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.postFooter .footerDiv {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footerInfoDiv {
    position: relative;
    padding-left: 18px;
}
.footerInfoDiv::before {
    content: '';

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 2px;
    background-color: #fff;
}
.footerLogo {
    filter: brightness(0) invert(1);
    width: 120px;
}
.postFooter * {
    color: #fff;
}
footer a {
    text-decoration: none;
}

/* NAVIGATION */
.navColumn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.newNavigation {
    list-style: none;
    display: flex;
    gap: 20px;

    text-transform: uppercase;
}
.newNavigation * {
    color: #818285;
}
.newNavigation a {
    text-decoration: none;
}
.newNavigation a:hover {
    color: #000;
}

/* PHOTOS */
.lineWithPhotos {
    display: flex;
    gap: 46px;
    margin: 50px auto;
}
.lineWithPhotos div {
    flex-grow: 0;
    max-height: 500px;
    max-width: 100%;
}
.lineWithPhotos div:last-child {
    flex-grow: 2;
}
.lineWithPhotos div:last-child img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
@media (max-width: 575px) {
    .lineWithPhotos {
        flex-wrap: wrap;
    }
    .lineWithPhotos div {
        max-height: unset;
    }
    .lineWithPhotos img {
        height: auto !important;
        width: 100% !important;
        object-fit: cover;
    }
}

/* TEXT ABOVE LOGO */
.textAboveLogo {
    position: relative;
}
.textAboveLogo img {
    filter: invert(85%) brightness(95%) grayscale(100%);
}
.textAboveLogo p {
    font-size: 48px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
@media (max-width: 575px) {
    .textAboveLogo p {
        font-size: 22px;
    }
}

/* LINE WITH DESIGNS */
.lineWithDesigns {
    margin-top: 50px;
}
.lineWithDesigns > div {
    max-height: 350px;
}
.lineWithDesigns .designPhotoLine {
    display: flex;
    gap: 20px;
}
.lineWithDesigns .designPhotoLine div {
    flex-grow: 1;
}
.lineWithDesigns .designPhotoLine img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* CONTACT */
.kontakInformations {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: max-content;
    margin: auto;
}
.kontakInformations > div {
    display: flex;
    gap: 20px;
    align-items: center;
}
.kontakInformations a {
    text-decoration: none;
}
.kontakInformations a:hover {
    font-weight: bold;
}

/* CARDS */
.card {
    margin-bottom: 20px;
}
.card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 30px;
}
.card h4 {
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: bold;
}
@media (max-width: 575px) {
    .card {
        margin-bottom: 60px;
    }
}


@media (max-width: 767px) {
    footer h2 {
        font-size: 18px;
    }
}