:root {
    --identity-color: rgba(57, 180, 74, 1);
}

.identity-box {
    background-color: #323D42;
    display: flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0px 20px 100px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    position: relative;
    padding: 12px 0;
    transition: 0.3s;
}

.identity-box:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 20px 100px rgba(0, 0, 0, 0.5);
}

.identity-box * {
    color: #ffffff;
    transition: 0.3s;
}

.identity-box:hover * {
    color: #323D42;
}

.identity-box .author-direction {
    position: relative;
    width: 50px;
}

.identity-box .author-direction span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 28px;
    font-weight: 300;
    font-family: montserrat, Sans-serif;
}

.identity-box:hover .author-direction span {
    color: var(--identity-color);
}

.identity-box .author-photo {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    line-height: 0;
    border: 3px solid #ffffff;
    background-color: #ffffff;
}

.identity-box:hover .author-photo {
    border-color: var(--identity-color);
}

.identity-box .right-content {
    padding: 24px;
}

.identity-box .author-name {
    font-size: 28px;
    font-weight: 300;
    position: relative;
    line-height: 1.6em;
    margin-bottom: 24px;

}

.identity-box .author-name:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0px;
    height: 2px;
    background-color: var(--identity-color);
    border-radius: 10px;
    transition: 0.3s;
}

.identity-box:hover .author-name:before {
    width: 80px;
}

.identity-box .identity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.identity-box .identity-list li {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 300;
}

.identity-box .link-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.identity-box .identity-list li .item-link {
    display: flex;
}

.identity-box .identity-list li:last-child {
    margin-bottom: 0;
}

.identity-box .identity-list li .icon {
    width: 25px;
    min-width: 25px;
    height: 25px;
    line-height: 1;
    margin-right: 15px;
    float: left;
}

.identity-box .identity-list li .icon svg {
    max-width: 100%;
    max-height: 100%;
}

.identity-box:hover .identity-list li .icon * {
    color: var(--identity-color);
}

@media screen and (max-width: 768px) {
    .identity-box .author-direction {
        width: 26px;
    }

    .identity-box .author-direction span {
        font-size: 14px;
    }

    .identity-box .author-photo {
        width: 80px;
        height: 80px;
    }

    .identity-box .right-content {
        padding: 12px;
    }

    .identity-box .author-name {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .identity-box .identity-list li {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .identity-box .identity-list li .icon {
        width: 12px;
        height: 20px;
        margin-right: 6px;
    }

    .identity-box {
        padding: 6px 0;
    }

    .identity-box .author-name:before {
        bottom: 0px;
        height: 1px;
    }

    .identity-box li.mobile .link-overlay {
        z-index: 4;
    }
}