html {
    scroll-behavior: smooth;
  }

.up {
  position: fixed;
  right: 5%;
  bottom: 5vh;
  width: 50px;
  z-index: 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
  transition-property: all;
  transition-duration: .3s;
}

.up:hover {
  transform: scale(1.1);
}

  body {
    overflow-x: hidden;
  }

/* menu */

.logo {
    width: 130px;
    height: 30px;
    background: url('../grafika/LOGO.png');
    background-size: contain;
    background-repeat: no-repeat;
    transition-property: all;
    transition-duration: .3s;
}

.logo:hover {
    background: url('../grafika/logo_orange.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 100000000000000;
}

/* menu */

#oferta, #portfolio, #about, #kontakt, #main {
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.2); /* przyciemnienie */
    z-index: 0;
  }

  .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: translateZ(0); /* lekkie parallax */
    will-change: transform;
  }

  .video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* wyższe niż sekcja dla przesuwania */
    object-fit: cover;
    z-index: -1;
    transition: transform 0.1s ease-out;
  }
  
  .content-on-video {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
  }





/* Kafelek wideo */
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  
  /* Efekt powiększenia kafelka po najechaniu */
  .card-img:hover {
    transform: scale(1.05);
  }
  
  /* Offcanvas - Tło i wygląd */
  .offcanvas-body {
    background-color: #222;
    color: white;
    padding: 20px;
  }
  
  .offcanvas-header {
    background-color: #333;
    color: white;
    border-bottom: 1px solid #444;
  }
  
  /* Styl modalu wideo */
  .offcanvas-body video {
    max-width: 100%;
    border-radius: 8px;
  }


/* Footer */

  .footer-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-link:hover {
    color: #fff;
    text-decoration: underline;
  }
  
  footer hr {
    border-color: rgba(255, 255, 255, 0.1);
  }

  .bigB {
    width: 60px;
    height: 60px;
    display: inline;
    left: 20px;
    background: orange;
    border-radius: 40px;
    position: relative;
    margin-bottom: -60px;
    margin-left: 44px;
    display: flex;   
}

.smallB {
    width: 40px;
    height: 40px;
    display: inline;
    left: 0px;
    background: orangered;
    border-radius: 40px;
    position: relative;
    margin-bottom: -85px;
    margin-top: 45px;
    margin-left: 50px;
    display: flex;   
}


.mediumB {
    width: 35px;
    height: 35px;
    display: inline;
    left: -30px;
    background: wheat;
    border-radius: 40px;
    position: relative;
    margin-bottom: -90px;
    margin-top: 5px;
    margin-left: 0px;
    display: flex;   
}
  
.shutter {
  width: 100px;
  height: 100px;
  display: inline;
  z-index: 100;
  position: absolute;
  margin-left: 80px;
}

.offcanvas {
  width: 60% !important;
  z-index: 1000000000000000000000000000000000000000000000000000000000000000000000 !important;
}

.virtBox {
  height: 80px;
}

.bg-black-transparent {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

#offcanvasRight2 video {
  width: 30% !important;
}

.accordion-button:not(.collapsed) {
  background-color: #FFCC00;
  color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}
.card video {
  height: auto;
  max-height: 100%;
  width: 100%;
  object-fit: cover; /* lub 'contain', zależnie od efektu */
  display: block;
}

.icons img {
  width: 25px;
  margin-left: 20px;
  transition-property: all;
  transition-duration: .3s;
}

.icons img:hover {
  transform: scale(1.2);
}

.modal  {
  z-index: 10000000000000000000000000000000;
}

.contact {
  margin-left: 40%;
}

.contact a {
  color: white;
  transition-property: all;
  transition-duration: .3s;
  text-decoration: none;
}

.contact a:hover {
  color: orange;
}

.contact a img {
  width: 35px;
  margin-right: 10px;
  transition-property: all;
  transition-duration: .3s;
}

.contact li img:hover {
  transform: scale(1.1);
}

.contact li {
  list-style: none;
  line-height: 50px;
}

  /* Responsywność */
  @media (max-width: 768px) {
    html {
      overflow-x: hidden;
    }

    .card-body {
      padding: 1rem;
    }
    .offcanvas-body {
      padding: 1rem;
    }
    .footer h5 {
        text-align: center;
      }
    
      .footer p, .footer ul {
        text-align: center;
      }

   
      .virtBox {
        height: 680px;
      }

      .offcanvas {
        width: 95% !important;
       
      }
      #offcanvasRight2 video {
        width: 90% !important;
      }
      .contact {
      margin-left: 5%;
}
    }
  
  