@import '/UI/Style.scss';

Button {
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: $font-main;
    background-color: $light-gray;
    color: $white;
    text-transform: uppercase;
    font-size: 32px;
    transition: all 0.075s ease-in-out;
    flex-shrink: 0;

    .icon {
        height: 100%;
        margin: 0px 10px 0px 10px;
        aspect-ratio: 1;
        image-rendering: pixelated;
    }

    &:not(.disabled) {
        &:hover {
            transform: scale(1.05);
            cursor: pointer;
            sound-in: 'hover';
            filter: brightness(130%);
        }

        &:active {
            transform: scale(1.02);
            sound-in: 'light_click';
        }
    }

    &.red {
        background-color: $red;
    }

    &.green {
        background-color: $green;
    }

    &.white {
        color: $gray;
        background-color: $white;
    }

    &.disabled {
        opacity: 0.3;

        &.white {
            opacity: 0.8;
            filter: brightness(30%);
        }
    }
}