/* General Styles for Floating Menu */
.floating-menu {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border: 0.2vw solid rgb(34, 34, 59);
    background-color: #14161e;
    border-radius: 20px;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3vh;
    justify-self: center;
    font-size: 1vw;

    height: 10%;
    width: 100%;
}

/* Logo within the Floating Menu */
.floating-menu .logo {
    display: none; /* Hide the logo in the floating menu */
}

.floating-menu .menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

.floating-menu .menu a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.floating-menu .menu a img {
    width: 20px;
    height: 20px;
}

/* Hover Effect */
.floating-menu .menu a:hover {
    background-color: #555;
}

/* Media Query for Mobile Devices */
@media (max-width: 600px) {
    .floating-menu {
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        border-radius: 0;
        padding: 10px 0;
    }

    .floating-menu .menu {
        flex-direction: row;
        justify-content: space-around;
    }

    .floating-menu .menu a {
        padding: 10px;
    }

    .floating-menu .menu a img {
        margin-bottom: 5px;
    }
}
