    body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        background-color: white;
        overflow-x: hidden;
    }

    .nav-bar {
        background-color: white;
        width: 100%;
        height: 140px;
        transition: height 0.3s;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        z-index: 1;
    }

    .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: 0px;
        position: relative;
        top: 0;
        transition: top 0.3s;
    }

    .tile {
        text-align: center;
        position: relative;
        max-width: 500px;
        max-height: 500px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden; /* Dodaj overflow: hidden */
        transition: background-color 0.3s;
    }

    .tile:hover {
        cursor: pointer;
        background-color: orange;
        transition: background-color 0.3s;
    }

    .overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }


    .tile img {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        transition: transform 0.3s; /* Skróć czas trwania przejścia */
    }

    .tile:hover img {
        opacity: 0.1; /* Zmniejsz przezroczystość obrazków po najechaniu */
        transform: scale(1.03); /* Dodaj efekt zmiany rozmiaru obrazków */
        transition: opacity 0.3s, transform 0.3s; /* Dodaj efekty przejścia */
    }




    .logo {
        margin-left: 40px;
        height: 50px;
        display: block;
        padding-bottom: 42px;

    }


    .nav-container {
        background-color: black;
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .tile .overlay {
        position: absolute;
        top: 50%; /* Przesuń napis na 50% wysokości kafelka */
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-50%); /* Wycentruj napis na pionowo */
        height: 20px;
        opacity: 0;
        transition: top 0.3s, opacity 0.3s;
    }

    .tile:hover .overlay {
        top: 50%; /* Pozostaw napis na 50% wysokości kafelka po najechaniu */
        opacity: 1;
    }
    .project, .subtext {
        color: white;
        position: relative;
        top: -20px;
        opacity: 0;
        transition: top 0.3s, opacity 0.3s;
    } 
    .subtext {
        font-family: "Montserrat", sans-serif; /* Poprawiono nazwę czcionki i dodano fallback */
        font-size: 12px;
    }

    .tile:hover .project {
        top: 0;
        opacity: 1;
    }  

    .tile:hover .subtext {
        top: 0;
        opacity: 1;
    }
    .button {
        color: white !important;
        display: inline-block;
        width: 100px;
        height: 20px;
        padding: 5px 10px;
        border: 1px solid #fff; /* Biała cienka ramka */
        background-color: transparent; /* Przezroczyste tło */
        text-align: center;
        text-decoration: none;
        font-size: 12px;
        transition: background-color 0.3s; /* Dodaj efekty przejścia */
        margin-top: 20px;
    }

    .button:hover {
        background-color: #fff; /* Tło staje się białe po najechaniu */
        color: orange !important; /* Kolor tekstu staje się pomarańczowy po najechaniu */
    }

    /* Style dla menu w pasku nawigacji */
    .menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex; 
        align-items: center;

     }

    .menu li {
        margin-right: 40px; /* Odstęp między pozycjami menu */
    }

    .menu a {
        text-decoration: none;
        color: white; /* Kolor tekstu */
        font-family: 'Montserrat', sans-serif; /* Czcionka */
        font-size: 16px; /* Rozmiar czcionki */
        transition: color 0.3s; /* Dodaj efekty przejścia dla koloru tekstu */

    }

    /* Stylowanie na hover */
    .menu a:hover {
        color: orange;
    }

    /* Stylowanie linków nawigacji */
    .menu a {
        text-decoration: none;
        color: black; /* Kolor tekstu */
        font-family: 'Montserrat', sans-serif; /* Czcionka */
        font-size: 12px; /* Rozmiar czcionki */
    }

    .wrapper-menu {
      width: 50px;
      height: 50px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      transition: transform 330ms ease-out;
      margin-right: 50px;    
      z-index: 1;
      padding-bottom: 43px;
    }

    .wrapper-menu.open {
      background-color: white; /* Nowy kolor tła */
      color: white; /* Nowy kolor tekstu */
      transform: rotate(-45deg);
    }

    .line-menu {
      background-color: black;
      border-radius: 5px;
      width: 100%;
      height: 6px;
      z-index: 999;
    }

    .line-menu.half {
      width: 50%;
    }

    .line-menu.start {
      transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
      transform-origin: right;
    }

    .open .line-menu.start {
      transform: rotate(-90deg) translateX(3px);

    }

    .line-menu.end {
      align-self: flex-end;
      transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
      transform-origin: left;
    }

    .open .line-menu.end {
      transform: rotate(-90deg) translateX(-3px);
    }


    .black-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: black;
      opacity: 0;
      z-index: 1;
      animation: fadeIn 0s ease-in-out 0s forwards; /* Dodaj animację fadeIn */
      align-items: center;
    }

    @keyframes fadeIn {
      from {
        opacity: 0; /* Rozpocznij z pełną przezroczystością */
      }
      to {
        opacity: 1; /* Kończ na pełnej przezroczystości */
      }
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(30px); /* Start from a lower position */
      }
      to {
        opacity: 1;
        transform: translateY(0); /* Slide in to the normal position */
      }
    }

    .centered-menu {
        z-index: 1;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-family: 'Montserrat', sans-serif; /* Ustawiony font Montserrat */
        font-size: 20px; /* Rozmiar czcionki 15px */
        font-weight: bold;
        line-height: 40px; /* Odstęp między kategoriami 30px */
        text-decoration: none; /* Usunięcie domyślnego podkreślenia linków */
        list-style: none;
        padding: 0; /* Usunięcie domyślnego wcięcia w lewo */

    }

    .centered-menu li a {
        color: white; /* Kolor tekstu pomarańczowy */
        text-decoration: none; /* Usunięcie domyślnego podkreślenia linków */
        transition: color 0.3s; /* Płynna zmiana koloru podczas hover */
    }

    .centered-menu li {
        text-align: center;
        margin: 10px 0; /* Dodaj marginesy dla wyśrodkowania pionowego */
    }

    .centered-menu li a:hover {
        color: orange; /* Kolor tekstu zmienia się na czarny podczas hover */
    }

    .nav-bar.sticky + .container {
        top: 70px; /* Wysokość nav-bar */
    }

    body {
        margin: 0;
        padding: 0;
    }

    .footer {
        background-color: black;
        color: white;
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: auto;
        padding: 0px;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;

    }

    .footer p {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        text-transform: uppercase;
        margin: 0;
    }

    .element4 {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 2s, transform 2s;
    }

    .phone-frame {
        position: relative;
        display: inline-block;
        max-width: 500px;
        padding-bottom: 100px;
        margin: 0 auto;
     }

    .image-container, .custom-video {
        position: absolute;
        top: -700px; /* Przesunięcie wszystkich elementów o 50px od obrazka */
        left: 50%;
        transform: translateX(-50%);
        max-width: 500px;
    }

    .image-container img {
        max-width: 1000px;
    }

    .image-container {
        z-index: 2;
    }

    .custom-video {
        position: absolute;
        max-height: 700px;
        max-width: 500px;
        overflow-x: hidden;
        transform: translateX(-50%);
        top: -580px;
    }

     #play-button {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px 20px;
        background-color: white;
        color: dimgrey;
        border: none;
        cursor: pointer;
        transition: transform 0.2s, filter 0.2s;
    }

    .hover-effect:hover i {
        transform: scale(1.1);
        filter: brightness(1.2);
        cursor: pointer;
        }

    
@media screen and (max-width: 1200px) {
    .nav-bar {
        height: 70px; /* Zmiana wysokości na 70px na urządzeniach mobilnych */
    }
    .logo {
        height: 35px;
        padding-bottom: 15px;
    }
    .wrapper-menu {
        height: 35px;
        width:  35px;
        padding-bottom: 15px;
    }  
 

    }


   