﻿@import '/UI/Style.scss';

GrenadeTimer {
    position: absolute;
    opacity: 0;
    width: 120px;
    height: 100%;
    aspect-ratio: 1;
    font-family: $font-main;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s ease-in-out;

    &.visible {
        opacity: 1;
    }

    > .timer-circle {
        width: 100%;
        aspect-ratio: 1;
        border-radius: 50%;
        background-size: 100%;
        mask-image: radial-gradient(black 0%, black 35%, white 35%, white 100%);
        mask-size: 100%;
        image-rendering: anisotropic;
    }

    > .time {
        position: absolute;
        left: 100%;
        margin-left: 20px;
        color: white;
        font-size: 32px;
    }
}
