@import '/UI/Style.scss';

ActiveGear {
    position: absolute;
    right: 0px;
    bottom: 50px;
    width: 575px;
    height: 200px;
    color: $white;
    font-family: $font-main;
    font-size: 26px;
    transition: transform 0.25s ease-in-out;

    .inputs {
        position: absolute;
        padding-right: 30px;
        margin-top: 100px;
        height: 36px;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
        top: 100px;
        text-transform: uppercase;
        gap: 40px;

        >* {
            flex-shrink: 0;
        }
    }

    &:intro {
        transform: translateX(100%);
    }

    >.background {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-position: right;
        background-repeat: no-repeat;
    }

    >.gear-icon {
        position: absolute;
        right: 80px;
        bottom: 10px;
        max-width: 250px;
        background-size: contain;
        background-position: right;
        background-repeat: no-repeat;
    }

    >.info {
        position: absolute;
        top: 90px;
        left: 30px;
        flex-direction: column;

        >.name-container {
            >p {
                padding: 2px 15px;
                justify-content: center;
                align-items: center;
                background-color: $gray-darker;
                text-transform: uppercase;
            }
        }

        >.blocks {
            font-size: 32px;
            width: 100%;
            justify-content: center;
            margin-top: 5px;
        }

        >.ammo {
            flex-direction: row;
            margin-left: 5px;
            height: 20px;
            flex-wrap: wrap;
            flex-direction: row;
            width: 290px;
            margin-top: 10px;

            >.bullet {
                max-width: 12px;
                height: 100%;
                flex-grow: 1;
                flex-shrink: 1;
                background-color: $white-dark;
                border-right: 2px $gray-brighter;
                /* gap gets pixel imperfections, border seems to work better for this :DDD */

                &.has {
                    background-color: $white;
                }
            }

            >.text {
                margin-left: 10px;

                >p {
                    color: $white;

                    &.max {
                        color: $white-dark;
                    }
                }
            }

            >.drill {
                margin-left: 10px;
                color: $white-dark;
            }

            >.drill p {
                margin-left: 10px;
                color: $white;
            }
        }
    }
}