﻿.option-menu {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 70px;
    height: 300px;
    z-index: 1000;
}


/* =========================================
   Main button
   ========================================= */

.main-option {
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0e1331;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}


/* =========================================
   Option list
   ========================================= */

.option-list {
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 60px;
    height: 60px;
    z-index: 5;
}


/* =========================================
   All option buttons
   ========================================= */

.option-button {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0e1331;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0) scale(0.5);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.25s ease;
}


    /* =========================================
   Images
   ========================================= */

    .option-button img,
    .main-option img {
        width: 60%;
        height: 60%;
        object-fit: contain;
        pointer-events: none;
    }


/* =========================================
   Expanded menu
   ========================================= */

.option-menu.open .option-button {
    opacity: 1;
    pointer-events: auto;
}


    /* =========================================
   Expanded positions
   ========================================= */

    .option-menu.open .option-button:nth-child(1) {
        transform: translateY(-70px) scale(1);
    }
    .option-menu.open .option-button:nth-child(2) {
        transform: translateY(-140px) scale(1);
    }

    .option-menu.open .option-button:nth-child(3) {
        transform: translateY(-210px) scale(1);
    }

/* =========================================
   Hover feedback
   ========================================= */

.option-button:hover,
.main-option:hover {
/*    background: #444;*/
}
