* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html::-webkit-scrollbar {
  behavior: smooth;
}

:root {
  --index: calc(1vw + 1vh);
  --color-header: #f4efec;
  --color-text: #cdc6c3;
  --gallery-gap: calc(var(--index) * 7.5);
}
@font-face {
  font-family: raleway-c;
  src: url(../fonts/raleway-regular.woff2);
}
@font-face {
  font-family: outfit-c;
  src: url(../fonts/outfit-regular.woff2);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: outfit-c;
}
/* will-change */
.content,
.hero,
.main-header,
.gallery > * {
  will-change: transform;
}

body {
  background-image: url(../img/bg.jpg);
  background-size: 50px;
  color: #fafafa;
  font-family: raleway-c;
  overflow-x: hidden;
}

header {
  padding-top: 15px;

  display: flex;
  justify-content: space-between;
}

header h1 {
  margin-right: 322px;
}
.texth1 {
  font-size: x-large;
  font-weight: 900;
}
.nav-list {
  display: flex;
  justify-content: space-between;
}
a {
  color: #fafafa;
  text-decoration: none;
  display: inline-block;
  line-height: 20px;
  transition: all 1s;
}

li a:hover {
  color: rgb(70, 71, 73);
}
li {
  color: #cdc6c3;
  display: inline-block;
  margin-left: 60px;
}

.leader {
  margin-bottom: 20px;
  line-height: 30px;
}
.leader2 {
  margin-top: 20px;
  line-height: 30px;
}

.list__active {
  position: relative;
}
.list__active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 75%;

  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
}

img {
  margin-right: 10px;
}

.hero {
  width: calc(var(--index) * 45);
  position: absolute;
  left: 24vw;
  top: 20vh;
  z-index: -1;
}
.main-header {
  height: 100vh;
}
.container {
  padding: 0 7vw;
}
.main-title {
  font-size: calc(var(--index) * 3);
  position: absolute;
  width: min-content;
  bottom: 22vh;
  line-height: 1.3;
}

.second-title {
  font-size: calc(var(--index) * 1.1);
  position: absolute;
  width: max-content;
  bottom: 10vh;
}

.telephon-icon {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;

  z-index: -2;
}

.telephon-icon img {
  z-index: -2;
}

.gallery {
  display: flex;
  padding: calc(var(--index) * 7) 0;
}

.gallery_left {
  margin-bottom: 30px;
  font-size: x-large;
}
.gallery > * {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.gallery__item {
  max-width: calc(var(--index) * 21);
  margin-bottom: var(--gallery-gap);
  max-height: 180vh;
  border-radius: 8px;
  box-shadow: 3px 0 1px 1px rgba(123, 203, 246, 0.6);
}

.gallery__item h3 {
  margin-bottom: 30px;
}
.gallery__left {
  margin-top: calc(var(--gallery-gap) * 2.55);
}
.gallery__right .gallery__item {
  margin: 0px;
  margin-top: var(--gallery-gap);
}

.text-block {
  color: var(--color-text);
  position: relative;
  box-shadow: none;
}
.text-block__h {
  font-size: 2rem;
  line-height: 2.4rem;
  color: var(--color-header);
  margin-bottom: 1.5rem;
}
.text-block__p {
  line-height: 1.75;
}

.description_kontakt {
  background: linear-gradient(
    180deg,
    rgba(178, 224, 244, 0.438) 0%,
    rgba(25, 64, 85, 0.466) 100%
  );
  height: 500px;
  align-items: center;
  display: flex;
  justify-content: center;

  width: 100%;
  padding-top: 1.5rem;
}

.description_kontakt img {
  margin-bottom: 15px;
  box-shadow: 0 0 15px rgba(123, 203, 246, 0.6);
  border-radius: 15px;
}

.description_kontakt1 {
  font-size: 1.5rem;
  margin: 0 auto;
  text-align: center;
}

.description_kontakt2 {
  font-size: 1.5rem;
  margin: 0 auto;
  text-align: center;
}

/* input kontakt*/

iframe {
  height: 100vh;
  margin: 0 auto;
}
.map {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.form__inner {
  margin: 0 auto;
}

.info__name {
  font-size: 25px;
  margin-bottom: 15px;
}

.info__address {
  font-size: 16px;
  margin-bottom: 15px;
}

.contakt__oss {
  font-size: 22px;
  margin-bottom: 15px;
  padding-top: 5px;
}
.ponorama_img {
  margin-bottom: 40px;
}
.form_input {
  display: flex;
  justify-content: center;
}

.form_input input,
.form_input textarea {
  display: flex;
  width: 100%;

  padding: 10px;
  margin: 12px 0;

  color: #ededed;

  resize: none;

  border: 2px solid #0ef;
  background: transparent;
  outline: none;
  border-radius: 6px;
}

.form_input label {
  line-height: 30px;
  color: #fafafa;
}

.form_input button {
  width: 100px;
  font-weight: 600;
  cursor: pointer;

  margin-top: 20px;
  line-height: 25px;
  color: #333;
  border: none;
  outline: none;
  box-shadow: 0 0 15px #0ef;
  background: #0ef;
  border-radius: 6px;
  transition: 0.5s;
}
.form_input button:hover {
  box-shadow: none;
}
.components__img {
  display: block;
  text-align: center;
}
.components__img img {
  width: 20%;
  padding: 80px 0;
}
.components__img img:last-child {
  margin-right: 0px;
}

/* footer */

.footer {
  padding: 30px 0;
  background-color: #366688;
  color: #fdfaf8e9;
}

.footer__wrapper {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.social__item {
  margin-bottom: 30px;
  margin-left: 30px;
}

/* projekt-gallery */

.zoom-1 img {
  transition: 0.4s;
}
.zoom-1 {
  transition: 0.4s;
}
.zoom-1:hover {
  transform: scale(1.1);
}

.zoom:hover {
  transform: scale(1.1);
}

.overlay-bg {
  top: 0;
  left: 0;
  position: absolute;
  width: 0;
  height: 100%;
}

.overlay-bg.white {
  background-color: #fff;
}
.overlay-bg.orange {
  background-color: orange;
}
.overlay-bg.base {
  background-image: url(../img/bg.jpg);
}

.projekt__title {
  padding: 60px 0;
  margin: 0 auto;
  font-size: 2rem;
  font-weight: 900;
}

.projekt__title-description {
  line-height: 30px;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 30px;
}
.projekt__gallery-title {
  display: inline-block;
  flex-wrap: wrap;
  text-align: center;
}

.BADRUM h1 {
  margin: 0 auto;
  font-size: 1.8rem;
}

/* media */

@media (max-width: 992px) {
}
.header {
  padding: 15px 0;
  width: 100%;
  align-items: center;
}
.container {
  padding: 0 40px;
  width: 100%;
}
.texth1 {
  font-size: 38px;
}

.nav-list {
  font-size: 18px;
}

.hero {
  width: calc(var(--index) * 35);
  left: 39vw;
  top: 18vh;
}

.telephon-icon {
  display: flex;
  justify-content: flex-end;
  align-items: end;
}

.gallery {
  width: 100%;
}
.main-header {
  width: 100%;
}
.gallery__left {
  width: 100%;
}
.gallery__right {
  width: 100%;
}
.ponorama_img img {
  width: 100%;
}

iframe {
  margin: 0 auto;
  padding: 0 20px;
}
.main-title {
  font-size: 80px;
  font-weight: bolder;
}
.second-title {
  font-size: 22px;
  font-weight: bolder;
}
.leader {
  font-size: 19px;
  line-height: 35px;
}
.leader2 {
  font-size: 19px;
  line-height: 35px;
}

/* border */

.border {
  position: absolute;

  width: 65%;
  height: 2.5px;
  background-color: #fff;
  margin-top: 6px;
  left: 0;
}

.text-block__h {
  font-size: 2rem;
}
.text-block__p {
  font-size: 1.5rem;
}
/* projekt media */

.projekt__title h1 {
  text-align: center;
}
.projekt__title-description {
  text-align: center;
}

@media (max-width: 800px) {
  .header {
    width: 100%;
  }
  .container {
    padding: 0 40px;
    width: 100%;
  }
  .texth1 {
    font-size: 30px;
    margin: 0 auto;
  }
  .nav-list {
    font-size: 20px;
  }
  .hero {
    width: calc(var(--index) * 31);
    left: 18vw;
    top: 18vh;
  }
  .main-title {
    padding-bottom: 110px;
    font-size: 55px;
    font-weight: bolder;
  }
  .second-title {
    padding-bottom: 110px;
    font-size: 16px;
    font-weight: bolder;
  }

  .gallery {
    width: 100%;
  }
  .main-header {
    width: 100%;
  }
  .gallery__item {
    width: 92%;
  }

  .gallery__left {
    width: 100%;
    text-align: center;
  }
  .gallery__right {
    width: 100%;
    text-align: center;
  }

  .border {
    margin-left: 58px;
  }

  .ponorama_img img {
    width: 100%;
  }

  .map {
    width: 100%;
  }
  .form__inner {
    width: 90%;
  }
  iframe {
    padding-left: 15px;
  }

  .components__img {
    width: 100%;
  }

  /* projekt media */

  .projekt__title h1 {
    text-align: center;
  }
  .projekt__title-description {
    width: 100%;
    text-align: center;
  }
  .renovering__img img {
    width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 750px) {
  .hero {
    width: calc(var(--index) * 30);
    left: 18vw;
    top: 17vh;
  }

  .border {
    margin-left: 50px;
  }
}
@media (max-width: 730px) {
  .hero {
    width: calc(var(--index) * 29);
    left: 18vw;
    top: 18vh;
  }

  .border {
    margin-left: 46px;
  }
}
@media (max-width: 650px) {
  .hero {
    width: calc(var(--index) * 27);
    left: 18vw;
    top: 16vh;
  }
  .main-title {
    padding-bottom: 30%;
    font-size: 46px;
    font-weight: bolder;
  }
  .second-title {
    padding-bottom: 30%;
    font-size: 18px;
    font-weight: bolder;
  }

  .border {
    margin-left: 42px;
  }
}

@media (max-width: 610px) {
  .header {
    width: 100%;
  }
  .container {
    padding: 0 40px;
    width: 100%;
  }

  .texth1 {
    font-size: 30px;
  }
  .hero {
    width: calc(var(--index) * 26);
    left: 18vw;
    top: 16vh;
  }
  .main-title {
    padding-bottom: 32%;
    font-size: 44px;
    font-weight: bolder;
  }
  .second-title {
    padding-bottom: 35%;
    font-size: 18px;
    font-weight: bolder;
  }

  .main-header {
    width: 100%;
  }
  .gallery__left {
    width: 100%;
    text-align: center;
  }
  .gallery__right {
    width: 100%;
    text-align: center;
  }

  .description_kontakt img {
    width: 82%;
  }
  .description_kontakt p {
    font-size: 1.3rem;
  }
  .nazarhr {
    margin-top: 1px;
  }

  .border {
    margin-left: 38px;
  }

  .ponorama_img img {
    width: 100%;
  }
  .map {
    width: 100%;
    padding: 0 20px;
  }

  iframe {
    height: 720px;
  }
  .info__address {
    line-height: 25px;
  }

  .social {
    width: 100%;
  }
  .social ul {
    width: 100%;
  }
  .footer {
    width: 100%;
  }
}
@media (max-width: 580px) {
  .hero {
    width: calc(var(--index) * 25);
    left: 18vw;
    top: 17vh;
  }

  .main-title {
    padding-bottom: 42%;
    font-size: 44px;
    font-weight: bolder;
  }
  .second-title {
    padding-bottom: 40%;
    font-size: 17px;
    font-weight: bolder;
  }

  .border {
    margin-left: 34px;
  }

  @media (max-width: 550px) {
    .hero {
      width: calc(var(--index) * 24);
      left: 18vw;
      top: 17vh;
    }
  }
  .main-title {
    padding-bottom: 35%;
    font-size: 42px;
    font-weight: bolder;
  }
  .second-title {
    padding-bottom: 35%;
    font-size: 16px;
    font-weight: bolder;
  }
  .gallery {
    width: 100%;
  }

  .border {
    margin-left: 32px;
  }

  @media (max-width: 510px) {
    .hero {
      width: calc(var(--index) * 23);
      left: 18vw;
      top: 17vh;
    }
    .main-title {
      padding-bottom: 45%;
      font-size: 38px;
      font-weight: bolder;
    }
    .second-title {
      padding-bottom: 40%;
      font-size: 15px;
      font-weight: bolder;
    }

    .border {
      margin-left: 30px;
    }
  }

  @media (max-width: 500px) {
    .header {
      width: 100%;
    }
    .container {
      padding: 0 40px;
      width: 100%;
    }
    .header_logo {
      width: 25px;
      height: 25px;
    }

    .texth1 {
      font-size: 25px;
    }
    .hero {
      width: calc(var(--index) * 29);
      left: 18vw;
      top: 12vh;
    }
    .main-title {
      padding-bottom: 10%;
      font-size: 32px;
      font-weight: bolder;
    }
    .second-title {
      padding-bottom: 10%;
      font-size: 12px;
      font-weight: bolder;
    }
    .description_kontakt {
      height: 250px;
      padding-top: 0px;
    }
    .description_kontakt img {
      width: 130px;
      margin: 0 auto;

      padding-left: 0;
    }

    .leader {
      font-size: 11px;
      line-height: 20px;
    }
    .leader2 {
      font-size: 11px;
      line-height: 20px;
    }

    .border {
      margin-left: 28px;
    }
    .text-block__h {
      font-size: 20px;
    }
    .text-block__p {
      font-size: 16px;
    }
    .nazarhr {
      margin-top: 2.5px;
    }
    .nazarhr p {
      width: 120px;
      margin: 0 auto;
    }

    .description_kontakt p {
      padding-top: 10px;
      font-size: 14px;
    }
    .description_kontakt2 img {
      padding-bottom: 2px;
    }
    .ponorama_img img {
      width: 100%;
    }

    iframe {
      width: 50%;
      margin-right: 25px;
      padding-left: 25px;
      height: 700px;
    }
    .info__name {
      line-height: 20px;
      font-size: 19px;
    }
    .info__address {
      line-height: 20px;
      font-size: 12px;
    }
    .contakt__oss {
      line-height: 20px;
      font-size: 16px;
    }
    .nav-list a {
      font-size: 14px;
    }

    .components__img img {
      width: 20%;
    }

    .footer__wrapper {
      width: 100%;
    }

    .copyright p {
      font-size: 12px;
    }

    .social__item img {
      width: 16px;
      margin: 0 auto;
    }
  }
  @media (max-width: 400px) {
    .header {
      width: 100%;
    }
    .container {
      padding: 0 20px;
      width: 100%;
    }

    .header_logo {
      margin: 0;
      width: 20px;
      height: 20px;
    }

    .texth1 {
      font-size: 20px;
    }

    .hero {
      width: calc(var(--index) * 28);
      left: 10vw;
      top: 22vh;
    }
    .main-title {
      padding-bottom: 40%;
      font-size: 34px;
      font-weight: bolder;
    }
    .second-title {
      padding-bottom: 30%;
      font-size: 14px;
      font-weight: bolder;
    }

    .gallery {
      width: 100%;
    }
    .main-header {
      width: 100%;
    }

    .description_kontakt img {
      width: 75%;
    }
    .leader {
      font-size: 12px;
      line-height: 20px;
    }
    .leader2 {
      font-size: 12px;
      line-height: 20px;
    }

    .border {
      margin-left: 28px;
    }
    .text-block__h {
      font-size: 24px;
    }
    .text-block__p {
      font-size: 12px;
    }
    .nazarhr {
      margin-top: 2.5px;
    }
    .nazarhr p {
      width: 120px;
      margin: 0 auto;
    }

    .description_kontakt p {
      padding-top: 10px;
      font-size: 12px;
    }
    .description_kontakt2 img {
      padding-bottom: 2px;
    }
    .ponorama_img img {
      width: 100%;
    }

    iframe {
      width: 50%;
      margin-right: 25px;
      padding-left: 25px;
      height: 600px;
    }
    .info__name {
      line-height: 16px;
      font-size: 16px;
    }
    .info__address {
      line-height: 16px;
      font-size: 10px;
    }
    .contakt__oss {
      line-height: 16px;
      font-size: 14px;
    }

    .components__img img {
      display: inline-block;
      width: 40%;
    }

    .footer ul {
      display: inline;
      width: 100%;
    }
    .footer__wrapper {
      width: 100%;
    }

    .copyright p {
      width: 100%;
    }

    .social__item img {
      width: 16px;
    }
    .social__item {
      margin-bottom: 20px;
      margin-left: 45px;
    }
    /* projekt medid */

    ._projekt__title-description {
      width: 100%;
    }
    .projekt__title {
      width: 100%;
    }

    .renovering__img {
      width: 100%;
    }
  }
}
@media (max-width: 320px) {
  .header {
    width: 100%;
  }
  .container {
    padding: 0 20px;
    width: 100%;
  }

  .header_logo {
    margin: 0;
    width: 20px;
    height: 20px;
  }

  .texth1 {
    font-size: 20px;
  }

  .hero {
    width: calc(var(--index) * 29);
    left: 18vw;
    top: 15vh;
  }
  .main-title {
    padding-bottom: 10%;
    font-size: 24px;
    font-weight: bolder;
  }
  .second-title {
    padding-bottom: 10%;
    font-size: 10px;
    font-weight: bolder;
  }

  .gallery {
    width: 100%;
  }
  .main-header {
    width: 100%;
  }

  .description_kontakt img {
    width: 75%;
  }
  .leader {
    font-size: 12px;
    line-height: 20px;
  }
  .leader2 {
    font-size: 12px;
    line-height: 20px;
  }

  .border {
    margin-left: 18px;
  }
  .text-block__h {
    font-size: 16px;
  }
  .text-block__p {
    font-size: 14px;
  }
  .nazarhr {
    margin-top: 2.5px;
  }
  .nazarhr p {
    width: 120px;
    margin: 0 auto;
  }

  .description_kontakt p {
    padding-top: 10px;
    font-size: 12px;
  }
  .description_kontakt2 img {
    padding-bottom: 2px;
  }
  .ponorama_img img {
    width: 100%;
  }

  .container_label {
    font-size: 12px;
  }

  iframe {
    width: 50%;
    margin-right: 25px;
    padding-left: 25px;
    height: 580px;
  }
  .container_label {
    height: 30%;
  }
  .info__name {
    line-height: 12px;
    font-size: 14px;
  }
  .info__address {
    line-height: 12px;
    font-size: 8px;
  }
  .contakt__oss {
    line-height: 12px;
    font-size: 10px;
  }

  .components__img img {
    display: inline-block;
    width: 40%;
  }

  .footer ul {
    display: inline-flex;
  }

  .copyright p {
    width: 100%;
  }

  .social__item img {
    width: 18px;
  }
  .social__item {
    margin-bottom: 20px;
    margin-left: 35px;
  }
  /* projekt medid */

  .projekt__title h1 {
    display: inline-block;
    width: 20px;
  }

  ._projekt__title-description {
    width: 100%;
  }
  .projekt__title {
    width: 100%;
  }

  .renovering__img {
    width: 100%;
  }
}
