body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.menu {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    transition: transform 0.5s ease-in-out, opacity 0.4s ease-in-out;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: none;
}

li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

li span {
    margin-left: 10px;
    color: #333;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}


.fab {
    width: 56px;
    height: 56px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    border: 1px solid #CCCCCC;
}

.fab img {
    width: 24px;
    height: 24px;
}

#fab-close {
    width: 56px;
    height: 56px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    border: 1px solid #CCCCCC;
    margin-bottom: 10px;
}

#fab-close img {
    width: 24px;
    height: 24px;
}

.fab:hover {
    transform: scale(1.1);
}

.menu.open ul {
    display: block;
    animation: menuSlideIn 0.4s ease-in-out;
}

.menu.closing ul {
    animation: menuSlideOut 0.4s ease-in-out forwards;
}

@keyframes menuSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes menuSlideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(20px);
        opacity: 0;
    }
}

.menu.open #fab-close {
    display: flex;
}

.menu.closing #fab-close {
    display: none;
}

.menu ul li:nth-child(1) .fab {
    background-color: #FFFFFF;
}

.menu ul li:nth-child(2) .fab {
    background-color: #F5F5F5;
}

.menu ul li:nth-child(3) .fab {
    background-color: #D9D9D9;
}
