@import '/UI/Style.scss';

ColorWheel {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 100px;
    justify-content: center;
    align-items: center;
    transition: opacity 0.25s ease-in-out;
    opacity: 0;
    display: none;
    font-size: 28px;
    font-family: $font-main;

    &.visible {
        display: flex;
        pointer-events: all;
        opacity: 1;
    }

    >.title {
        position: absolute;
        margin-bottom: 650px;
        padding: 5px 20px;
        color: $gray-darker;
        background-color: white;
    }

    >.wheel-fraction {
        position: absolute;
        width: 500px;
        aspect-ratio: 1;
        border-radius: 50%;
        transition: transform 0.15s ease-in-out;
        z-index: 1;
        mask-image: radial-gradient(black 0%, black 30%, white 30%, white 100%);
        mask-size: 100%;
        image-rendering: anisotropic;

        &.selected {
            transform: scale(1.1);
            z-index: 99;
        }
    }

    >.current {
        margin-top: 150px;
        padding: 5px 20px;
        color: $white;
        text-transform: uppercase;

        &.dark {
            color: $gray;
        }
    }
}