input[type="checkbox"] {
    display: none;
}

.container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    width: 320px;
    height: 528px;
    margin: 50px auto;
    z-index: 10;
}


.btn {
    background: #e74c3c;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.btn svg {
    position: relative;
    top: 1px;
    right: 1px;
}

.btn--large {
    width: 60px;
    height: 60px;
}

.btn--menu:after,
.btn--menu:before {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    position: absolute;
    top: 29px;
    left: 18px;
    transition: transform 100ms;
}

.btn--menu:after {
    transform: translateY(-5px);
}

.btn--menu:before {
    transform: translateY(5px);
}

.btn--share {
    background: #f39c12;
}

.btn--star {
    background: #2ecc71;
}

.btn--comment {
    background: #16a085;
}

.actions-menu {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 15px;
    z-index: 10;
}

.actions-menu .btn {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0;
    transition: top 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        left 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 200ms;
}

.actions-menu .btn--menu {
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: 0;
}

.btn--menu,
#actionMenuButton:checked+.actions-menu>.btn {
    opacity: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#actionMenuButton:checked+.actions-menu>.btn--menu:after {
    transform: rotate(45deg);
}

#actionMenuButton:checked+.actions-menu>.btn--menu:before {
    transform: rotate(-45deg);
}

#actionMenuButton:checked+.actions-menu>.btn--share {
    top: -50px;
}

#actionMenuButton:checked+.actions-menu>.btn--star {
    top: -100px;
}

#actionMenuButton:checked+.actions-menu>.btn--comment {
    top: -150px;
}