/* Ogólne ustawienia */
h3 {
  font-size: 2em;
  padding: 1% 0% 0% 1%;
}

.topTitle,
.titlenav {
  font-size: 1px;
  display: none;
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  position: fixed;
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
  z-index: 999;
}

.logo {
  margin: 0 1% 0 1%;
}

.logo img {
  padding: 1% 20%;
  float: left;
}

.logoTitle {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.topPhone {
  position: absolute;
  margin: 0 auto;
  left: 43%;
  height: 49px;
  padding: 0px 13px 2px 1px;
  text-align: center;
  border-radius: 10px;
  background-color: #35c951;
}

p.telTop {
  margin-top: 13px;
  padding: 0px 0px 0px 6px;
}

.telTop a {
  text-decoration: none;
  list-style: none;
  color: white;
}

#bannerTop {
  background-color: #ffffff;
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}

.overlay-text {
  text-align: center;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

.overlay-text h3 {
  text-shadow: 5px 4px rgb(95, 95, 95);
}

.overlay-text p {
  color: #333;
}

#bannerTop img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-left: 0;
  margin-right: auto;
}

/* nav {
  position: fixed;
  width: 100%;
}

.navbar ul {
  float: right;
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin: 0 15px;
}

.navbar ul li a {
  color: #000000;
  text-decoration: none;
} */

section {
  padding: 30px 0px;
  text-align: center;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}


ul.ofertatext {
  position: relative;
  list-style: none;
  width: 93%;
  text-align: left;
  margin: 0 auto;
  margin-top: 3%;
  line-height: 50px;
}

.selectotCheck {
  background: #6B9F1E;
  border-radius: 99px;
  padding: 10px;
  display: inline-flex;
  color: #ffffff;
}

.imgOferta img {
  position: relative;
  width: 40%;
  max-width: 520px;
  float: left;
  margin: 0% 2%;
  border-radius: 10px;
}

#o-firmie {
  background-color: #d8d8d8;
  min-height: 47vh;
}

#o-firmie p,
#oferta p {
  padding: 1% 15%;
  text-align: justify;
}

#oferta {
  min-height: 70vh;
}

#cennik {
  clear: both;
  background-color: #d8d8d8;
  min-height: 40vh;
}
p.kontaktMy {
  font-size: 1.2em;
  font-weight: bold;
  padding: 0% 0% 0% 1%;
}

i.fa.fa-phone.kontaktIco {
  font-size: 40px;
  color: #35c951;
}

i.fa.fa-envelope.kontaktEmail {
  font-size: 40px;
  color: #35c951;
}

.kontaktTel {
  width: 50%;
  float: inline-end;
}

.kontaktEmail {
  width: 50%;
}

/* Stylizacja strzałki do góry */
.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 50px;
  height: 50px;
  background-color: #36c951;
  color: white;
  text-align: center;
  line-height: 50px;
  font-size: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  /* Ukryta na początku */
  z-index: 1000;
}

/* Dodanie animacji pojawiania się */
.scroll-to-top.show {
  display: block;
}

a.mailkontakt {
  color: white;
}

.cookie-banner {
  color: white;
  background: #424a53;
  padding: 9px;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 0.6em;
}



/* Responsywność */
@media (max-width: 768px) {
  ul.ofertatext {
    padding: 1% 6%;
    width: 88%;
  }

  .imgOferta img {
    width: 80%;
  }
  .kontaktTel {
    width: 99%;
    float: none;
  }
  
  .kontaktEmail {
    width: 99%;
  }
}

@media (max-width: 1240px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 20px;
    /* Ustawienie linków po prawej stronie pod hamburgerem */
    top: 50px;
    background: #333;
    width: auto;
    /* Dopasowanie szerokości do treści */
    padding: 10px;
    border-radius: 5px;
  }

  /* Pokazanie hamburgera */
  .hamburger {
    display: block;
  }

  /* Stylizacja nawigacji po otwarciu hamburger menu */
  nav ul.active {
    display: flex;
    position: absolute;
    top: 33px;
    right: 5px;
    background-color: #cccccc;
  }

  .navbar ul li {
    margin: 14px 20px;
  }

  .slogan {
    font-size: 1.4em;
    padding: 9% 0;
  }

  .slogantitle {
    font-size: 1em;
    padding: 28% 0%;
  }

  .imgOferta img {
    float: none;
  }
}