body {
  background-position: center top;
  background-color: aliceblue;

  background-repeat: no-repeat;
  border-top-style: solid;

  background-attachment: fixed;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
}

.bg_header {
  background-image: url("../img/slader_panorama.jpg");
  object-fit: fill;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 700px;
  object-fit: cover;

  object-fit: fill;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #E2E2E2;
}

@media (max-width: 1112px) {
.bg_header{
  height: 500px;
}



}


@media (max-width: 500px) {
  .bg_header{
    height: 350px;
  }
  
  }
  




.bg_header h1 {
  z-index: 50;
  font-size: 110px;
  font-family: 'Times New Roman', Times, serif;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
  user-select: none;
}

.bg_header p {
  z-index: 50;
  font-family: 'Times New Roman', Times, serif;
  font-size: 45px;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
  text-align: center;
  text-transform: uppercase;
  user-select: none;
}

/*O FIRMIE*/

h4 {
  padding: 50px;
  text-align: center;
  font-size: 28px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text {

  max-width: 1000px;
  font-size: 20px;
  padding: 20px 20px 20px 20px;
  text-align: justify;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-bottom: 70px;


}h4

.photoMain {
  width: 40%;
  height: 40%;

}


li{
  margin-bottom: 1em;
}


.fa-sort-down{
position: relative;
  top: -4px;
  margin-left: 10px;

}


.ofirmie {
  display: flex;
  justify-content: center;
  background-color: rgba(116, 116, 116, 0.11);
  flex-direction: column;
  align-content: center;
  align-items: center;
  padding: 50px;
}


/*OFERTA*/


a{
  text-decoration: none;
}

.kon{
  color: #999999;
}

.kon:hover {
  color: #ffffff;
  transition: .1s;
}

.oferta {

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: auto;
  padding-top: 30px;
  max-width: 1600px;
  padding-bottom: 15px;

}

.oferta .item {
  float: left;
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
  box-shadow: 0px 25px 20px 0px rgb(31, 30, 30, 0.3);
  margin-right: 35px;
  margin-left: 35px;
  margin-bottom: 55px;


}

.oferta h2 {
  font-weight: normal;
}



.oferta .item img {
  border-style: none;
  transition-duration: 0.6s;
  padding-top: 0px;
  vertical-align: middle;
}

.oferta .item div {
  color: black;

  font-size: 24px;
  text-decoration: none;
  transition-duration: 0.6s;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.item{
  overflow: hidden;
}



.item>div>img{
  transition: transform 0.25s;
}


.item:hover img{
  transform: scale(1.1);
}


.item:hover::before {
  animation: slick-hover-2 3s 0.4s linear infinite;
  transform: translateY(-20px) translateX(-20px);
}

.item:hover::after {
  animation: slick-hover 3s 0.4s linear infinite reverse;
  transform: translateY(20px) translateX(20px);
}

@keyframes hoverPop {

  0%,
  100% {
    transform: scale(1);
  }

  33% {
    transform: scale(1.05);
  }

  66% {
    transform: scale(0.9);
  }
}

@keyframes slick-hover {
  0.00% {
    transform: translateY(20px) translateX(20px);
  }

  16.67% {
    transform: translateY(-13px) translateX(-9px);
  }

  33.33% {
    transform: translateY(4px) translateX(12px);
  }

  50.00% {
    transform: translateY(20px) translateX(-20px);
  }

  66.67% {
    transform: translateY(-3px) translateX(8px);
  }

  83.33% {
    transform: translateY(-15px) translateX(-11px);
  }

  100.00% {
    transform: translateY(20px) translateX(20px);
  }
}

@keyframes slick-hover-2 {
  0.00% {
    transform: translateY(-20px) translateX(-20px);
  }

  16.67% {
    transform: translateY(3px) translateX(-5px);
  }

  33.33% {
    transform: translateY(18px) translateX(-10px);
  }

  50.00% {
    transform: translateY(-20px) translateX(20px);
  }

  66.67% {
    transform: translateY(15px) translateX(-4px);
  }

  83.33% {
    transform: translateY(-1px) translateX(15px);
  }

  100.00% {
    transform: translateY(-20px) translateX(-20px);
  }
}





h3 {
  font-size: 24px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: block;
  text-align: center;

}


/*MENU*/



.navbar {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  position: fixed;
  z-index: 10001;
  background-color: rgb(240, 248, 255);
  width: 100%;
  margin-top: -3px;
  box-shadow: -1px 7px 8px -5px rgba(66, 68, 90, 1);
}

.brand-title {
  font-size: 1.5rem;
  margin: .5rem;
}

.navbar-links {
  height: 100%;
}

.navbar-links ul {
  display: flex;
  margin: 0;
  padding: 0;
  margin-top: 20px;
}

.navbar-links li {
  list-style: none;
}

.navbar-links li a {
  display: inline-block;
  font-family: Tahoma;
  text-align: center;
  font-size: 18px;
  color: black;
  text-decoration: none;
  padding: 1.2rem 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.navbar-links li a:hover {
  color: #203857;


  transition: 0.3s ease 0s;



}

.navbar-links li a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #203857;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-links li a:hover::before {
  transform: scaleX(1);
}

.toggle-button {
  position: absolute;
  top: 0.95rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  margin-top: 14px;
}

.logo{
  padding: 20px;
  width: 100px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: black;
  border-radius: 10px;
}

@media (max-width: 1112px) {

  .logo {
    margin-left: auto;
    margin-right: auto;


    padding-top: 0rem;
    padding-left: 0rem;

  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .toggle-button {
    display: flex;
    color: blue;
  }

  .navbar-links {
    display: none;
    width: 100%;
  }

  .navbar-links ul {
    width: 100%;
    flex-direction: column;
  }

  .navbar-links ul li {
    text-align: center;
  }

  .navbar-links ul li a {
    padding: .5rem 1rem;
  }

  .navbar-links.active {
    display: flex;
  }
}



/*desktop*/
@media (min-width: 1024px) {

  .logo {

    float: left;
  }

}


.google-maps {
  width: 100%;
  border: 0px;
  height: 420px;
}

.footer {
  position: relative;
  height: auto;
  background-color: #070617;
  padding: 50px;
}

.footer .col {
  text-align: center;
  width: 400px;
  height: auto;
  float: left;
  box-sizing: border-box;
  padding: 20px 20px 20px 20px;
}

.footer .col h3 {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  line-height: 17px;

  color: rgba(255, 255, 255, 0.9);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.250em;
}

.footer .col ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer .col ul li {
  color: #999999;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  padding: 5px 0px 5px 0px;
  cursor: pointer;
  transition: .2s;
}

.social ul li {
  display: inline-block;
  padding-right: 5px !important;
}

.footer .col ul li:hover {
  color: #ffffff;
  transition: .1s;
}

.clearfix {
  clear: both;
}


.contain{
  margin: 0 auto;
}
@media only screen and (min-width: 1280px) {
  .contain {
    width: 1200px;
    margin: 0 auto;
  }
}




@media only screen and (max-width: 1279px) {
  .contain .social {
    width: 1000px;
    display: block;
  }

  .footer .col {
    width: 33%;
  }

  .social h1 {
    margin: 0px;
  }
}

@media only screen and (max-width: 950px) {
  .footer .col {
    width: 33%;
  }

  .footer .col h1 {
    font-size: 14px;
  }

  .footer .col ul li {
    font-size: 13px;
  }
}

@media (max-width:750px) {
 

  .bg_header p {
    font-size: 50px;
  }
}


@media only screen and (max-width: 1170px) {
  .bg_header h1 {
    font-size: 120px;
  }
}

@media only screen and (max-width: 945px) {
  .bg_header h1 {
    font-size: 80px;
  }
}




@media only screen and (max-width: 500px) {
  .footer .col {
    width: 50%;
  }

  .footer .col h1 {
    font-size: 14px;
  }

  .footer .col ul li {
    font-size: 13px;
  }

  .bg_header h1 {
    font-size: 40px;
  }

  .bg_header p {
    font-size: 45px;
  }
}

@media (max-width:405px) {
  .bg_header p {
    font-size: 30px;
  }
}

@media only screen and (max-width: 340px) {
  .footer .col {
    width: 100%;
  }
}

h2 {
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 100px;
}





  .umowe{
   width: 930px;
   margin: 0 auto;
margin-top: -80px;
padding: 40px 40px 40px 40px;
  }

  @media only screen and (max-width: 600px) {
    .umowe{
      width: 80%;
    }
  }

 .text_footer{
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 11px;
  line-height: 17px;
  padding: 20px 0px 5px 0px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.250em;
 }







 .container {
  width: 100%;
  max-width: 1100px;
  display: flex;
  height: 100%;
  align-items: stretch;
}

.block1 {
  flex: 1 1 50%;
}

.block1 img {
  display: block;
  width: 100%;
  height: auto;
}

.block2 {
  flex: 1 1 50%;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #636363;
}

.block2 h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 20px;
  text-align: left;
  color: black;
}

ul{
  padding: 20px;
}

.block2 p {
  margin: 0 0 20px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  border: 1px solid #000; 
  border-radius: 0;
  background-color: transparent;
  width: max-content;
  transition: 0.5s;
}

.button:hover {
  background-color: #000;
  color: #fff;
  transition: 0.5s;
}


@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .block1, .block2 {
    flex: 1 1 100%;
    padding: 5px;
  }
}


@media screen and (max-width: 480px) {
  .block1, .block2 {
    padding: 2px;
  }
}




.but{
  
color: white;
background-color:#203857 ;
text-align: center;
width: 100px;
margin-bottom: 15px;
margin-top: 15px;
}


.but a {
  color: white !important;
}



.lag {
  display: none;
  position: absolute;
background-color: #203857;
  margin-left: 38px;
}


.knopka:hover + .lag,
.lag:hover {
  display: block;
}







.lag .but a {
  font-size: 16px; 
padding: 1px;
}




















@media (max-width: 767px) {
 
  .lag .but a {
      font-size: 12px;
  }

 
  .lag {
      display: none;
  }

  .knopka:hover + .lag,
  .lag:hover {
      display: block;
  }
}



@media (max-width: 1112px) {
 
  .lag .but a {
    font-size: 12px;
  }


  .lag {
    display: none;
    max-height: 300px; 
    overflow-y: auto;
  }


  .knopka-container:hover .lag {
    display: block;
  }


  .lag-container {
    display: flex;
    justify-content: center;
    margin-right: 38px;
  }
}


.knopka-container:hover .lag {
  display: block;
}



@media (max-width: 1920px) {


 
  .lag {
    display: none;
    max-height: 300px; 
    overflow-y: auto; 
  }
}



