

#menu {
    width: 75px;
    height: 75px;
    position: fixed;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    font-size: 200%;
}

.menu-button {
    opacity: 0;
    z-index: -1;
}

.menu-button {
    width: 75px;
    height: 75px;
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 50%;
    background-size: 100%;
    overflow: hidden;
    text-decoration: none;
    background-image: url('../img/core/icons/bus_company.png');
}

#menu:not(:target)>a:first-of-type,
#menu:target>a:last-of-type {
    opacity: 1;
    z-index: 1;
}

#menu:not(:target)>.icon-plus:before,
#menu:target>.icon-minus:before {
    opacity: 1;
}

.menu-item {
    width: 55px;
    height: 55px;
    position: absolute;
    left: 10%;
    line-height: 5px;
    top: 5%;
    border-radius: 50%;
    transform: translate(0px, 0px);
    transition: transform 500ms;
    z-index: -2;
    transition: .5s;
    background-color: #ffffff;
    background-size: cover;       /* Dostosowuje wielkość obrazka do elementu */
    background-repeat: no-repeat; /* Zapobiega powtarzaniu się obrazka */
    background-position: center;  /* Ustawia obrazek na środku */
    border: 1px solid #000000;
}


.menu-item:hover{
opacity: 0.5;
  box-shadow: 0 5px 10px black; 
}


.menu-item a {
    color: #fff;
    position: relative;
    top: 15%;
    left: 0;
    text-decoration: none;
}

#menu:target>.menu-item:nth-child(6) {
    transform: rotate(75deg) translateY(-75px) rotate(300deg);
}

#menu:target>.menu-item:nth-child(5) {
    transform: rotate(25deg) translateY(-80px) rotate(-20deg);
}

#menu:target>.menu-item:nth-child(3) {
    transform: rotate(-25deg) translateY(-80px) rotate(20deg);
}

#menu:target>.menu-item:nth-child(4) {
    transform: rotate(-75deg) translateY(-75px) rotate(60deg);
}


.content{
  position: absolute;
  text-align: center;
  margin: -10px 0 0 -30px;
  top: 70%;
  left: 50%;
  font-size: 20px;
}

