﻿$p1: #F6D953;
$p2: #DB3D76;
$p3: #3DBFDB;
$p4: #FF881B;

WinnerDisplay {
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;

    > .container {
        position: absolute;
        transition: all 0.5s bounce-out;
        flex-direction: column;
        align-items: center;

        &:intro, &:outro {
            transform: scale( 0.5 0.5 );
            opacity: 0;
        }

        > .name {
            background-color: black;
            margin-top: 30px;
            border-radius: 8px;
            justify-content: center;
            align-items: center;
            width: 250px;
            height: 48px;

            > .label {
                font-family: LilitaOne;
                font-size: 30px;
                color: white;
            }
        }

        > .logo {
            position: absolute;
            background-image: url( textures/ui/winner.png );
            background-size: cover;
            width: 950px;
            height: 300px;
            bottom: 270px;
        }

        > .avatar {
            background-image: url( textures/ui/diamond-outer.png );
            background-size: cover;
            justify-content: center;
            align-items: center;
            width: 230px;
            height: 244px;
            margin-top: 32px;
            margin-bottom: -24px;

            > .inner {
                background-size: cover;
                width: 168px;
                height: 180px;
            }

            > .head {
                position: absolute;
                background-image: url( textures/ui/tank.png );
                background-size: cover;
                width: 144px;
                height: 250px;
                bottom: 58px;
            }
        }

        &.p1 {
            .avatar .inner {
                background-image: url( textures/ui/p1/inner-diamond.png );
            }
        }
    }

    > .banner {
        transition: all 0.5s bounce-out;
        backdrop-filter-blur: 16px;
        position: absolute;
        border-top: 6px solid black;
        border-bottom: 6px solid black;
        background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(219,61,118,0.5) 50%, rgba(255,255,255,0.5) 100%);
        width: 100%;
        height: 40%;

        &.p1 {
            background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba($p1,0.5) 50%, rgba(255,255,255,0.5) 100%);
        }

        &:intro {
            transform: scale( 1 0.5 );
            opacity: 0;
        }
    }
}
