/**
 * RA About Me Widget Front-End Styles
 *
 * @package RA About Me Widget
 */


/* Main Widget Container */

.ra-about-widget {
    width: 100%;
    box-sizing: border-box;
}



/* Background Image */

.ra-about-background {

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    min-height: 350px;

    position: relative;

    overflow: hidden;

}



/* Default Background When No Image Exists */

.ra-about-background:not([style]) {

    background-color: #ffffff;

}



/* Overlay */

.ra-about-overlay {

    min-height: 350px;

    padding: 30px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: rgba(0,0,0,0.00);

    box-sizing: border-box;

}



/* Avatar */

.ra-user-avatar {

    margin-bottom: 15px;

}



.ra-user-avatar-image {

    width: 200px;

    height: 200px;

    object-fit: cover;

    border-radius: 50%;

    border: 4px solid #ffffff;

}





/* User Name */

.ra-user-name {

    margin: 5px 0;


    font-size: 26px;

    line-height: 1.2;

}





/* Tagline */

.ra-user-tagline {


    font-size: 16px;

    font-style: italic;

    margin: -10px 0px 15px 0px;

}





/* Description */

.ra-user-description {



    max-width: 500px;

    font-size: 15px;

    line-height: 1.6;

    margin-bottom: 20px;

}






/* Posts Link */

.ra-user-posts {

    display: inline-block;

    padding: 10px 22px;

    background: #ffffff;

    color: #333333;

    text-decoration: none;

    border-radius: 5px;

    transition: all .3s ease;

}



.ra-user-posts:hover {

    opacity: .85;

    text-decoration: none;

}





/*
|--------------------------------------------------------------------------
| Custom Class Support
|--------------------------------------------------------------------------
*/

.ra-about-widget * {

    box-sizing: border-box;

}





/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 600px) {


    .ra-about-background {

        min-height: 300px;

    }



    .ra-about-overlay {

        min-height: 300px;

        padding: 25px 15px;

    }



    .ra-user-name {

        font-size: 22px;

    }



    .ra-user-avatar-image {

        width: 95px;

        height: 95px;

    }


}