* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', 'Montserrat Fallback', Arial, sans-serif;
}
body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  overflow-x: hidden;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.btn {
  padding: 12px 22px;
  border-radius: 90px;
  display: inline-block;

  background: #ff1782;
  mix-blend-mode: normal;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 21px;
  color: #fff;
  transition: background 0.3s;
  -webkit-appearance: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: #fc68ac;
    transition: background 0.3s;
  }
}

.btn-outline {
  padding: 12px 22px;
  border-radius: 90px;
  display: inline-block;
  background: #fff;
  mix-blend-mode: normal;
  font-style: normal;
  font-weight: 500 !important;
  font-size: 17px !important;
  line-height: 21px !important;
  color: #ff1782 !important;
  border: 2px solid #ff1782;
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    color: #fc68ac !important;
    border: 2px solid #fc68ac;
  }
}

.btn-second {
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 21px;
  color: #ff1782;
  position: relative;
}
.btn-second::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: -20px;
  height: 10px;
  width: 10px;
  background-repeat: no-repeat;
  background-image: url("../img/ikony/ikona_dalej.png");
}
.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 92px 0;
}
.heading h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 34px;
  line-height: 41px;
  color: #000000;
  max-width: 550px;
}
.heading p {
  font-weight: 300;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: #1d1d1f;

  max-width: 550px;
}

nav.ob-menu {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid rgba(196, 196, 196, 0.2);
  height: 75px;
  z-index: 150;
}
nav.ob-menu .container {
  max-width: 90%;
}

nav.ob-menu .navbar {
  display: flex;
  align-items: stretch;
}
nav.ob-menu .navbar .brand {
  margin-right: 20px;
  height: 75px;
  z-index: 200;
}
nav.ob-menu .navbar .brand img {
  height: 100%;
  transform: translate(0, 3px);
}
nav.ob-menu .navbar .brand a {
  height: 100%;
  display: block;
}

@media (max-width: 1190px) {
  nav.ob-menu .navbar .brand img {
    max-height: 53px;
  }
}

nav.ob-menu .main-menu {
  display: flex;
  align-items: stretch;
}
nav.ob-menu .main-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

nav.ob-menu .main-menu ul li {
  display: flex;
  align-items: center;

  position: relative;
}
nav.ob-menu .main-menu ul li a {
  padding-left: 20px;
  padding-right: 20px;
}

nav.ob-menu .main-menu ul li.has-submenu::after {
  content: "";
  background-image: url("../img/ikony/ikona_rozwin.png");
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translate(0, -3px);
  width: 10px;
  height: 10px;
  color: #ff1782;
}
nav.ob-menu .main-menu ul li a,
nav.ob-menu .nav-right a:not(.btn-outline) {
  font-style: normal;
  font-weight: 300;
  font-size: 17px;
  line-height: 21px;
  color: black;
  height: 100%;
  display: flex;
  align-items: center;
}

nav.ob-menu .nav-right a.btn-outline {
  margin-left: 50px;
}

nav.ob-menu .main-menu ul li ul.submenu {
  padding: 20px;
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 100%;
  left: 0px;
  background-color: #fff;
  width: 100%;
  height: auto;
  display: none;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

nav.ob-menu .main-menu ul li ul.submenu li a {
  padding: 12px 0;
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  nav.ob-menu .main-menu ul li ul.submenu li a:hover {
    color: #ff1782;
    transition: color 0.3s;
  }
}

nav.ob-menu .main-menu ul li.has-submenu {
  position: relative;
}
nav.ob-menu .main-menu ul li.has-submenu a {
  padding-left: 20px;
  padding-right: 35px;
}
nav.ob-menu .main-menu ul li:not(.submenu-li)::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 1 px;
  background-color: rgba(196, 196, 196, 0.2);
  transition: background-color 0.3s;
}
nav.ob-menu .main-menu ul li:not(.submenu-li):hover::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ff1782;
  transition: background-color 0.3s;
}

nav.ob-menu .main-menu ul li.has-submenu:hover ul.submenu {
  display: block;
  animation: showMenu 0.2s var(--ob-ease-out);
}
nav.ob-menu .main-menu ul li.has-submenu:hover ul.submenu.submenu-row {
  display: flex;
  animation: showMenu 0.2s var(--ob-ease-out);
}
nav.ob-menu .main-menu ul li.onlyMobileLink {
  display: none;
}

@keyframes showMenu {
  0% {
    transform: translate(0, -10px);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0%);
    opacity: 1;
  }
}
nav.ob-menu .main-menu li.has-submenu ul.submenu-row {
  display: none;
  position: fixed;
  justify-content: center;
  top: 75px;
  left: 0;
  width: 100vw;
  flex-direction: row;
  z-index: 90;
}

nav.ob-menu .main-menu li.has-submenu ul.submenu-row li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
  margin-right: 20px;
}

nav.ob-menu .main-menu li.has-submenu ul.submenu-row li a img {
  align-self: center;
  max-height: 100px;
}
nav.ob-menu .main-menu li.has-submenu ul.submenu-row li a p {
  font-weight: 600;
  margin-top: 10px;
}
nav.ob-menu .main-menu li.has-submenu ul.submenu-row li a p:last-of-type {
  font-weight: 400;
  margin-top: 5px;
}
nav.ob-menu .main-menu li.has-submenu ul.submenu-row li a p span.light {
  font-weight: 300;
}

nav.ob-menu .nav-right {
  margin-right: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
}

nav.ob-menu .mobile-menu {
  display: none;
}

@media (max-width: 1190px) {
  nav.ob-menu {
    height: 60px;
  }
  nav.ob-menu .navbar .brand {
    height: 60px;
  }
  nav.ob-menu .main-menu {
    position: absolute;
    background-color: white;
    top: 60px;
    left: 0px;
    width: 100%;
    max-height: 80vh;
    max-height: 80dvh;
    overflow-y: auto;
    overscroll-behavior: contain;

    /*
     * Zamknięte menu zostaje w układzie, tylko niewidoczne, więc znika tak samo płynnie, jak się pojawia, a otwarcie
     * w połowie zamykania zawraca z miejsca, w którym było. Wyjście jest krótsze niż wejście.
     */
    visibility: hidden;
    opacity: 0;
    transform: translate(0, -8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
  }
  nav.ob-menu .main-menu.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 240ms var(--ob-ease-out), transform 240ms var(--ob-ease-out);
  }

  nav.ob-menu .main-menu ul {
    flex-direction: column;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  nav.ob-menu .main-menu ul li a {
    font-weight: 500;
    font-size: 17px;
    line-height: 40px;
  }

  nav.ob-menu .nav-right {
    display: none;
  }

  nav.ob-menu .mobile-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    margin-right: 0px;
  }
  nav.ob-menu .mobile-menu a.phone {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #ff1782;
    margin-right: 15px;
  }

  nav.ob-menu .main-menu ul li {
    flex-direction: column;
  }
  nav.ob-menu .main-menu ul li a,
  nav.ob-menu .main-menu ul li.has-submenu a,
  nav.ob-menu .main-menu ul li.has-submenu ul.submenu li {
    padding-left: 0px;
    padding-right: 0px;
  }
  nav.ob-menu .main-menu ul li:not(.submenu-li)::before,
  nav.ob-menu .main-menu ul li:not(.submenu-li)::after {
    display: none;
  }

  nav.ob-menu .main-menu ul li.has-submenu ul.submenu,
  nav.ob-menu .main-menu ul li.has-submenu:hover ul.submenu {
    display: none;
  }
  nav.ob-menu .main-menu ul li ul.submenu,
  nav.ob-menu .main-menu ul li.has-submenu ul.submenu-row {
    display: block;
    box-shadow: none;
  }

  nav.ob-menu .main-menu li.has-submenu ul.submenu-row {
    position: static;
  }
  nav.ob-menu .main-menu ul li ul.submenu {
    padding: 0;
    position: static;
  }
  nav.ob-menu .main-menu ul li.has-submenu ul.submenu li {
    padding-left: 20px;
    padding-right: 20px;
  }
  nav.ob-menu .main-menu ul li.has-submenu ul.submenu li a {
    margin-left: 0px;
    margin-right: 0px;
  }
  nav.ob-menu .main-menu ul li.has-submenu ul.submenu li a p {
    margin-top: 0px;
    font-size: 13px;
    line-height: normal;
  }
  nav.ob-menu .main-menu ul li.has-submenu ul.submenu li a img {
    display: none;
  }
  nav.ob-menu .main-menu ul li.has-submenu:hover ul.submenu.submenu-row {
    display: block;
    animation: none;
  }

  nav.ob-menu .main-menu ul li.onlyMobileLink {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  nav.ob-menu .main-menu ul li.onlyMobileLink a.btn {
    color: #fff;
    width: 90%;
    line-height: normal;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #ff1782;
  }
  nav.ob-menu .main-menu ul li.onlyMobileLink a.btn-outline {
    width: 90%;
    margin-bottom: 20px;
    line-height: normal;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 340px) {
  nav.ob-menu .mobile-menu a.phone{
    display: none;
  }
}

/* Hero heading */
.heroHeading {
  width: 100%;
  margin-top: 75px;
  background-color: #eee;
  background-image: url("../img/naglowek/kropki_naglowek.svg");
  background-repeat: no-repeat;
  background-size: auto 100%;
  position: relative;
}
.heroHeading::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  height: calc(100% - 28px);
  width: 140px;
  background-image: url("../img/naglowek/naglowek_fotobudki.png");
  background-repeat: no-repeat;
  background-size: auto 100%;
}

@media (max-width: 1190px) {
  .heroHeading {
    margin-top: 60px;
  }
}

@media (max-width: 767px) {
  .heroHeading::after {
    display: none;
  }
}
.heroHeading .heroHeading--container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
.heroHeading .heroHeading--container h1 {
  font-weight: 500;
  font-size: 34px;
  line-height: 41px;
  margin: 0px;
  text-align: center;
}
.heroHeading .heroHeading--container p {
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.how-to-start {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  margin-left: auto;
  margin-right: auto;
}

.how-to-start-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.how-to-start-item .icon {
  width: 80px;
  height: 80px;
  border: 2px solid #ff1782;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;

  transition: background-color 0.2s;
}
.how-to-start-item .icon img {
  align-self: center;
}
.how-to-start-item .icon img:nth-of-type(2) {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .how-to-start-item:hover .icon {
    background-color: #ff1782;
    transition: background-color 0.3s;
  }

  .how-to-start-item:hover .icon img:nth-of-type(1) {
    display: none;
  }

  .how-to-start-item:hover .icon img:nth-of-type(2) {
    display: block;
  }
}

.how-to-start-item p {
  font-size: 17px;
  line-height: 28px;
  text-align: center;
}
.how-to-start-item p span {
  font-weight: 500;
  display: block;
}

@media (max-width: 1190px) {

  .how-to-start {
    display: grid;
    grid-template-columns: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .how-to-start-item {
    display: flex;
    text-align: left;
    width: 100%;
  }
  .how-to-start-item .icon{
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .how-to-start-item img{
    align-self: center;
  }
  .how-to-start-item p {
    font-size: 17px;
    line-height: 28px;
    text-align: left;
  }

}

[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/** CONTACT PAGE **/
.contactForm--container h4 {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 40px;

  font-weight: 500;
  font-size: 24px;
  line-height: 29px;

  color: #000000;
}

.contactForm--container form {
  display: block;
  margin: 0 auto;
  max-width: 800px;
  padding: 30px;

  border: 1px solid #c4c4c4;

  border-radius: 4px;

  margin-bottom: 80px;
}

.contactForm--container form input[type="submit"] {
  background: #ff1782;
  mix-blend-mode: normal;
  border-radius: 90px;

  font-weight: 500;
  font-size: 17px;
  line-height: 21px;

  text-align: center;

  color: #ffffff;
  border: none;

  margin-top: 30px;
  margin-bottom: 30px;
  padding: 20px 10px;

  width: 100%;

  cursor: pointer;
}

.contactForm--container form input[for="accept"] {
  font-size: 14px;
  line-height: 17px;
  -webkit-appearance: none;
  color: #767676;
}
input[for="accept"] {
  min-width: 30px;
}
.callToActionFooter {
  background-image: url("../img/kropki_sekcja_4.svg");
  background-repeat: no-repeat;
  background-size: auto 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  margin-top: 100px;
  padding-bottom: 150px;
}

.callToActionFooter .heading h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 34px;
  line-height: 44px;
  max-width: 600px;
  text-align: center;

  color: #1d1d1f;
}
.callToActionFooter .heading p {
  margin-top: 20px;

  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: #1d1d1f;
}

.callToActionFooter img {
  margin-top: 80px;
  max-width: 100%;
}

.callToActionFooter a.btn {
  margin-top: 120px;
  padding: 12px 40px;
}
@media (max-width: 1190px) {
  .callToActionFooter {
    background-image: url("../img/mobile_kropki_sekcja6.svg");
  }
}
footer {
  border-top: 1px solid rgba(196, 196, 196, 0.65);
  padding-top: 50px;
  background: #1f3d5c;
}
@media (max-width: 1190px) {
  footer {
    padding-top: 50px;
    padding-bottom: 80px;
  }
}
footer .brand img {
  margin-bottom: 20px;
}
footer .brand p {
  margin-bottom: 20px;
  max-width: 260px;
}
footer .brand a.btn {
  margin-bottom: 20px;
}

footer .brand a.help {
  color: #ff1782;
}

footer p {
  color: #fff;
  font-size: 15px;
  line-height: 19px;
}
footer h6 {
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 21px;
  color: #fff;
  margin: 0px;
  margin-bottom: 20px;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}
footer a {
  color: #fff;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 25px;
}

footer ul li a {
  color: #fff;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 25px;
}
@media (max-width: 1190px) {
  footer hr{
    display: none;
  }
}
footer .copyright {
  margin-top: 70px;
  padding: 14px 0;
  text-align: center;
  border-top: 0.5px solid rgba(196, 196, 196, 0.65);
}

footer .copyright p,
footer .copyright a {
  color: rgba(196, 196, 196, 0.65);
  font-style: light;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
}
