@-webkit-keyframes popUp {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes popUp {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes slideUp {
    from {
        transform: translateY(5px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(5px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

.profile {
    -webkit-animation: popUp ease-in-out 350ms;
    animation: popUp ease-in-out 350ms;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.17);
    margin-top: 40px;
    padding: 25px;
    position: relative;
}

.profile__account {
    align-self: center;
    display: flex;
    flex: 1;
    justify-content: center;
    padding-left: 135px;
}

.profile__button {
    border-radius: 50px;
    border: 1px solid #000000;
    color: #000000;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
    transition: ease-in-out 250ms background, ease-in-out 250ms color;
}

.profile__button:hover {
    background: #000000;
    color: #ffffff;
}

.profile__edit {
    display: flex;
    justify-content: center;
    align-items: center
}

.profile__header {
    display: flex;
    margin-bottom: 20px;
}

.profile__icon {
    flex: none;
    font-size: 1.5em;
    margin-right: 10px;
    padding-top: 3px;
}

.profile__icon--gold {
    color: #eab100;
}

.profile__icon--blue {
    color: #8faae8;
}

.profile__icon--pink {
    color: #ff86af;
}

.profile__key {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
}

.profile__picture {
    background: #ffffff;
    border-radius: 100px;
    border: 10px solid #ffffff;
    height: 125px;
    position: absolute;
    top: -40px;
    width: 125px;
}

.profile__picture:before {
    border-radius: 100px;
    box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.17);
    content: "";
    height: calc(100% + 20px);
    left: -10px;
    position: absolute;
    top: -10px;
    width: calc(100% + 20px);
    z-index: -1;
}

.profile__picture img {
    border-radius: 100px;
    height: 100%;
    width: 100%;
}

.profile__stat {
    -webkit-animation: slideUp ease-in-out 350ms forwards;
    animation: slideUp ease-in-out 350ms forwards;
    border-right: 1px solid #e9e9e9;
    display: flex;
    flex: 1;
    justify-content: center;
    opacity: 0;
    padding: 10px 4px;
    transform: translateY(5px);
}

.profile__stat:last-of-type {
    border-right: none;
}

.profile__stat:nth-child(1) {
    -webkit-animation-delay: 400ms;
    animation-delay: 400ms;
}

.profile__stat:nth-child(2) {
    -webkit-animation-delay: 500ms;
    animation-delay: 500ms;
}

.profile__stat:nth-child(3) {
    -webkit-animation-delay: 600ms;
    animation-delay: 600ms;
}

.profile__stats {
    display: flex;
}

.profile__username {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.profile__value {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}


.live-icon {
    display: inline-block;
    position: relative;
    top: calc(50% - 5px);
    background-color: red;
    width: 10px;
    height: 10px;
    margin-left: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.live-icon:before {
    content: "";
    display: block;
    position: absolute;
    background-color: rgba(255, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-animation: live 2s ease-in-out infinite;
    animation: live 2s ease-in-out infinite;
    z-index: -1;
}

@-webkit-keyframes live {
    0% {
        transform: scale(1, 1);
    }

    100% {
        transform: scale(3.5, 3.5);
        background-color: rgba(255, 0, 0, 0);
    }
}

@keyframes live {
    0% {
        transform: scale(1, 1);
    }

    100% {
        transform: scale(3.5, 3.5);
        background-color: rgba(255, 0, 0, 0);
    }
}