@import '../../colors';

.container {
    background: linear-gradient(45deg, darken($brand-blue, 15%), darken($brand-blue, 20%) 80%);
    padding: 40px 0;
    width: 100vw;
}

.player-primary-data {
    display: flex;
    width: 95%;
    padding-left: 5%;
    position: relative;
        
    .details {
        width: 100%;
        position: relative;
    }
    
    .name {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 1px;
        color: white;
    }

    .role {
        position: absolute;
        bottom: 60px;
        left: 0;
        color: lighten($brand-red, 15%);
        font-size: 1rem;
        display: flex;
        align-items: center;
        font-weight: 500;
        line-height: 1.5;

        ion-icon {
            margin-right: 10px;
            font-size: 2rem;
            vertical-align: middle;
            color: lighten($brand-red, 15%);
        }
    }
}

.stats-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0 5%;
    
    h4 {
        color: $green;
        font-size: 1.5rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        margin: 0;
    }
}

.statistics {
    display: flex;
    width: 100%;
    padding: 0 5%;
    list-style: none;
    margin: 20px auto;
    justify-content: space-between;
    z-index: 1;
    position: relative;
    background-color: rgba(darken($brand-blue, 20%), 0.8);
    box-shadow: 0px -10px 10px rgba(darken($brand-blue, 20%), 0.8);

    li {
        width: 27vw;
        height: 27vw;
        background-color: rgba($brand-blue, 0.8);
        border: 1px solid rgba($blue-grey, 0.3);
        border-radius: 10px;
        color: white;
        padding: 10px;
        overflow: hidden;
        position: relative;

        &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            background-color: rgba($blue-grey, 0.1);
            width: 100%;
            height: 100%;
        }
    }

    label {
        font-weight: 500;
        font-size: 0.8rem;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    h5 {
        margin: 0;
        font-weight: 700;
        font-size: 1.5rem;
        position: absolute;
        right: 10px;
        bottom: 10px;
    }
}

.about {
    background-color: darken($brand-blue, 10%);
    box-shadow: 0px 0px 10px darken($brand-blue, 20%);
    border-radius: 10px;
    overflow: hidden;
    width: 90%;
    margin: 0 auto 40px auto;
    padding: 0px 0px 5px 0px;

    header {
        font-size: 1rem;
        font-weight: 500;
        color: white;
        padding: 15px 5%;
        border-bottom: 1px solid lighten($brand-blue, 5%);
        margin: 0;
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        width: 90%;
    }

    li {
        padding: 20px 10px;
        width: 100%;
        border-bottom: 1px solid lighten($brand-blue, 5%);
        text-align: left;

        &:last-child {
            border-bottom: none;
        }
    }

    label {
        color: lighten($brand-blue, 20%);
        font-size: 1rem;
        display: block;
        line-height: 1.3;
        display: block;
        margin-bottom: 10px;
    }

    p {
        font-size: 0.9rem;
        color: white;
        font-weight: 500;
        line-height: 1.5;
        margin: 0;
        opacity: 0.8;
    }
}