.burger-menu {
  display: none;
}

@media (max-width: 1230px) {
  .burger-menu {
    display: block;
    /* padding: 25px 0; */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999; 
  }

  .toggle-button {
    display: flex;
    width: 96%;
    padding: 10px 10px 10px 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
  }

  .toggle-button .wolverine {
    display: inline-block;
    height: 26px;
    padding: 0px 0px;
    cursor: pointer;
    -webkit-user-select: none;
    opacity: .97;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
  }

  .toggle-button .wolverine span {
    display: inline-block;
    text-transform: uppercase;
    line-height: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: var(--white);
    margin-left: 0px;
    width: 0px;
    overflow: hidden;
  }

  .toggle-button .wolverine .claws {
    position: relative;
    top: -2px;
    width: 26px;
    height: 4px;
    background: var(--white);
    display: inline-block;
  }

  .toggle-button .wolverine .claws:before,
  .toggle-button .wolverine .claws:after {
    display: block;
    content: "";
    height: 4px;
    width: 26px;
    background: var(--white);
    position: absolute;
    z-index: -1;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: all .1s .2s, -webkit-transform .2s ease;
    -webkit-transition-delay: ease, 0s;
    -moz-transition: all .1s .2s ease, -moz-transform .2s ease;
    -o-transition: all .1s .2s ease, -o-transform .2s ease;
    transition: all .1s .2s ease, transform .2s ease;
  }

  .toggle-button .wolverine .claws:before {
    top: 8px;
  }

  .toggle-button .wolverine .claws:after {
    top: -8px;
  }

  .nav-control {
    position: absolute;
    left: -9999px;
    width: 100%;
    clip: rect(0, 0, 0, 0);
  }

  .nav-control:checked~.navigation {
    left: 0;
    opacity: 1;
    transition: left 0.3s, opacity 0.3s;
  }

  .nav-control:checked~.navigation ul li {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  .nav-control:checked~.toggle-button .wolverine .claws {
    -webkit-transition: all .1s 0s;
  }

  .burger-menu .navigation {
    background: var(--deepSeaGreen);
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    bottom: 0;
    left: -100%;
    overflow: hidden;
    transition: left 0.3s;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .burger-menu .nav-control:checked+.navigation {
    left: 0;
    opacity: 1;
    transition: left 0.3s, opacity 0.3s;
    overflow-y: auto; /* Dodajemy overflow-y: auto */
  }

  .burger-menu .nav-control:checked {
    overflow: hidden !important;
  }

  .navigation .logo-container {
    height: 160px;
    width: 160px;
    z-index: 1;

  }

  .navigation .logo-container img {
    width: 100%;
    background-color: var(--deepSeaGreen);
    border-radius: 50%;
    padding: 0 10px 10px 10px;
  }

  .navigation a:not(.logo-container) {
    width: 180px;
    text-align: center;
    color: var(--white);
    font-family: var(--font);
    font-size: 1.4rem;
  }

  .navigation h1 a:not(.logo-container):hover {
    background-color: var(--white);
    border-radius: 20px;
    color: var(--deepSeaGreen);
  }

  .navigation .logo-container a:hover {
    /* Wyłączanie stylowania hover dla linków wewnątrz klasy .logo-container */
    background-color: transparent;
    border-radius: 0;
    color: var(--black);
    text-decoration: none;
    padding: 0;
  }

  .navigation h1 a {
    color: var(--white);
    font-weight: bolder;
    width: 90%;
    text-align: center;
    z-index: 101;
    letter-spacing: 3px;

    display: block;
    font-size: 40px;
    padding: 10px 10px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: all .3s ease;
  }

  /* czamu ten hover nie działa? */
  .navigation h1 a:hover {
    background: var(--white) !important;
    color: var(--deepSeaGreen);
  }
}