:root {
  --white: white;
  --black: black;
}

body {
  color: #fff;
  background-color: #121217;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  line-height: 20px;
  display: block;
}

h1 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Montserrat, sans-serif;
  font-size: 8vw;
  font-weight: 700;
}

.top {
  z-index: 3;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  border: 25px #fab800;
  border-radius: 0;
  flex-direction: column;
  justify-content: center;
  align-self: auto;
  align-items: center;
  padding-top: 60px;
  display: block;
  position: relative;
}

.navbar {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background-color: #0000;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-left: 0;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
}

.navbarcontainer {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  color: #0000;
  justify-content: center;
  align-items: flex-start;
  width: 90%;
  max-width: 100%;
  padding-left: 0;
  display: flex;
}

.navbar-content {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  padding-left: 0;
  display: flex;
}

.navbar-brand {
  grid-column-gap: 49px;
  grid-row-gap: 49px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 257px;
  height: 78px;
  padding: 21px 0 21px 34px;
  display: flex;
}

.logo {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  object-fit: cover;
  justify-content: center;
  align-items: center;
  width: 190px;
  height: 70px;
  padding: 89px 7px 48px;
  display: flex;
}

.navbar-menu {
  grid-column-gap: 17px;
  grid-row-gap: 17px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  display: flex;
}

.call-box {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  border: 4px solid #fff;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 60px;
  padding: 8px 20px;
  display: flex;
  transform: skew(0deg);
}

.vectors-wrapper {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  object-fit: cover;
  justify-content: center;
  align-items: center;
  width: 15.9991px;
  height: 23.9966px;
  display: flex;
}

._511-686-788 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 140%;
}

.container {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 699px;
  padding: 145px 0 24px 153px;
  display: flex;
}

.top-text {
  grid-column-gap: 638px;
  grid-row-gap: 638px;
  justify-content: space-between;
  align-self: stretch;
  align-items: center;
  width: 40vw;
  max-width: 100%;
  height: 651px;
  padding-right: 0;
  display: block;
}

.budowa-i-remonty-dr-g {
  color: #fff;
  text-transform: uppercase;
  width: 660px;
  height: auto;
  font-family: Rubik, sans-serif;
  font-size: 101px;
  font-weight: 700;
  line-height: 110px;
}

.sm-bar {
  z-index: 5;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-flow: column;
  justify-content: center;
  align-self: auto;
  align-items: center;
  width: 24px;
  margin-right: 75px;
  display: flex;
  position: fixed;
  inset: 0% 0% 0% auto;
}

.vectors-wrapper-2 {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  object-fit: cover;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 18px;
  display: flex;
}

.vectors-wrapper-3 {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  object-fit: cover;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 24px;
  display: flex;
}

.vectors-wrapper-4 {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  border: 2px solid var(--white);
  justify-content: center;
  align-items: center;
  width: .00000275382px;
  height: 63px;
  margin-top: 0;
  display: flex;
}

.text {
  opacity: 1;
  color: #fff;
  text-transform: uppercase;
  width: 150px;
  margin-top: 35px;
  font-family: Rubik, sans-serif;
  font-size: 14px;
  font-weight: 700;
  transform: rotate(-90deg);
}

.perfekto-bruk-brand-element-1 {
  z-index: 1;
  object-fit: contain;
  order: 0;
  align-self: center;
  width: auto;
  height: 60vh;
  margin-top: 289px;
  display: block;
  position: absolute;
  inset: 0% 0% 0% auto;
  overflow: auto;
}

.body {
  border: 30px #fab800;
  border-radius: 0;
  justify-content: space-between;
  display: flex;
}

.btn-icon {
  margin-bottom: 10px;
  position: relative;
}

.btn-icon:hover {
  color: #fff;
  max-width: 170%;
}

.link-block {
  flex-direction: row;
  flex: 0 auto;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  max-width: 100%;
  display: block;
  position: static;
}

.paragraph {
  padding-top: 30px;
  font-size: 18px;
  line-height: 23px;
}

.bold-text {
  font-weight: 400;
}

.div-block {
  position: fixed;
  inset: 0%;
}

.pop-up-container {
  z-index: 6;
  color: #cf1e1e;
  background-color: #0000;
  width: 100vw;
  height: 30vh;
  margin: auto;
  display: block;
  position: fixed;
  inset: auto 0% 0%;
  overflow: visible;
}

.pop-window-bg {
  background-color: #6e2f2f;
  background-image: url('../images/bg-ziemia-ogrodowa.jpg');
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 18px;
  width: 440px;
  height: 270px;
  padding: 35px;
  position: absolute;
  inset: auto 60px 60px auto;
  box-shadow: 0 20px 50px 10px #0000008c;
}

.h2-popup {
  color: #fff;
  text-transform: uppercase;
  font-family: Rubik, sans-serif;
}

.text-popup {
  color: #fff;
  font-family: Rubik, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.div-block-2 {
  position: absolute;
  inset: 0% 0% auto auto;
}

.image {
  padding: 25px;
}

.close-popup {
  cursor: pointer;
  position: absolute;
  inset: 0% 0% auto auto;
}

.container-main {
  background-image: url('../images/top-perfekto-bruk-budowa-remonty-drog.jpg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border: 30px solid #fab800;
  width: 100vw;
  height: 100vh;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 991px) {
  .top {
    z-index: 2;
    position: relative;
  }

  .navbar {
    justify-content: space-around;
    align-items: center;
    padding-right: 0;
  }

  .navbarcontainer {
    justify-content: space-around;
  }

  .navbar-menu {
    align-items: stretch;
    width: 200px;
    max-width: 100%;
  }

  .call-box {
    flex-wrap: nowrap;
    flex: 0 auto;
    order: 0;
    justify-content: space-around;
    align-self: flex-end;
    max-width: 100%;
    display: flex;
    position: absolute;
  }

  .container {
    height: auto;
    padding-left: 89px;
  }

  .top-text {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    justify-content: space-between;
    width: 60vw;
    height: auto;
    padding-right: 57px;
  }

  .budowa-i-remonty-dr-g {
    width: 470px;
    font-size: 76px;
    line-height: 80px;
  }

  .perfekto-bruk-brand-element-1 {
    padding-left: 121px;
  }
}

@media screen and (max-width: 767px) {
  .navbar {
    padding-left: 0;
  }

  .navbar-brand {
    padding-left: 15px;
  }

  .container {
    padding-left: 36px;
  }
}

@media screen and (max-width: 479px) {
  .top {
    padding-top: 34px;
  }

  .navbar {
    padding-left: 0;
  }

  .navbar-brand {
    padding-left: 23px;
  }

  .container {
    height: auto;
    padding-top: 59px;
    padding-left: 34px;
  }

  .top-text {
    width: 69vw;
    height: 50%;
    padding-right: 0;
  }

  .budowa-i-remonty-dr-g {
    width: 60vw;
    font-size: 38px;
    line-height: 38px;
  }

  .sm-bar {
    z-index: 5;
    height: 100vh;
    margin-right: 46px;
  }

  .perfekto-bruk-brand-element-1 {
    display: none;
  }

  .body {
    justify-content: center;
    height: 100vh;
  }

  .paragraph {
    width: 220px;
    font-size: 24px;
    line-height: 20px;
  }

  .bold-text {
    font-size: 14px;
    line-height: 16px;
  }

  .pop-up-container {
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    display: none;
    inset: 0%;
  }

  .pop-window-bg {
    width: 290px;
    margin-left: auto;
    margin-right: auto;
    inset: auto 0% 12px;
  }

  .h2-popup {
    font-size: 24px;
    line-height: 26px;
  }

  .text-popup {
    font-size: 14px;
    line-height: 18px;
  }

  .container-main {
    background-position: 50% 0;
    border-width: 22px;
  }
}


