*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

html
{
    font-size: 10px;
}

body 
{
    background-color: #333;
}

a
{
    text-decoration: none;
    color: #fff;
}

section
{
    padding: 10rem 0;
    background-color: #333;
}

.heading
{
    text-transform: uppercase;
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-right: -3px;
    margin-bottom: 5rem;
    text-align: center;
    color: #fff;
    position: relative
}

.heading:after
{
    content: "";
    width: 10rem;
    height: .8rem;
    background: red;
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2rem;
}

.card-wrapper
{
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
}

.card
{
    width: 34rem;
    background-color: #ebeef8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    box-shadow: .5rem .5rem 3rem rgba( 0, 0, 0, 0.2);
}


.card .card-img
{
    width: 100%;
    height: 26rem;
    object-fit: cover;
    -webkit-clip-path: polygon( 0 0, 100% 0, 100% 78%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0% 100%);
}

.profile-img
{
    width: 15rem;
    height: 15rem;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -11rem;
    z-index: 999;
    border: 1rem solid #ebeef8;
}

.card h1
{
    font-size: 2.5rem;
    color: #333;
    margin: 1.5rem 0;
}

.Job-title
{
    color: #777;
    font-size: 1.5rem;
    font-weight: 300;
}

.about
{
    font-size: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    text-align: center;
    color: #333;
}

.card .btn
{
    padding: 1rem 2.5rem;
    background-color: #445ae3;
    border-radius: 2rem;
    margin: 1rem 0;
    text-transform: uppercase;
    color: #eee;
    font-size: 1.4rem;
    transition: all .5s;
}

.card .btn:hover
{
    transform: translateY(-2px);
    box-shadow: .5rem .5rem 2rem rgba( 0, 0, 0, .2);
}

.card .btn:active
{
    transform: translateY(0);
    box-shadow: none;
}

@media screen and (min-width: 800px)
{
    .card-wrapper
    {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .card
    {
        margin: 5rem;
        transition: transform .5s;
    }  

    @keyframes fadeIn
    {
        from
        {
            opacity: 0;
        }
        to 
        {
            opacity: 1;
        }
    }

    .card:nth-child(1)
    {
        animation: fadeIn .5s .5s backwards;
    }

    .card:nth-child(2)
    {
        animation: fadeIn .5s 1.5s backwards;
    }

    .card:nth-child(3)
    {
        animation: fadeIn .5s 2s backwards;
    }

    .card:nth-child(4)
    {
        animation: fadeIn .5s 2.5s backwards;
    }

    .card:nth-child(5)
    {
        animation: fadeIn .5s 3s backwards;
    }

    .card:nth-child(6)
    {
        animation: fadeIn .5s 3.5s backwards;
    }

    .card:hover 
    {
        transform: scale( 1.05);
    }
}

/*navbar*/

header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
}

header.sticky
{
    background: #fff;
    padding: 20px 100px;
    box-shadow: 0 5px 20px rgba( 0, 0, 0, 0.1);
}

header .logo 
{
    color: black;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
}

header.sticky .logo
{
    color: #111;
}

header ul
{
    position: relative;
    display: flex;
}

header ul li 
{
    position: relative;
    list-style: none;
}

header ul li a 
{
    position: relative;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    margin: 0 15px;
    color: black;
    text-decoration: none;
}

header.sticky ul li a
{
    color: #111;
}
