:root {
    /* colors */
    --eerie-black: hsl(0, 0%, 13%);
    --white: #ffffff;
    --cultured: #ebebeb;
    --gray: #A2A2A2;
    --silver-lines: #B9B9B9;
    --lovo-trans-blue: #0a203e;
    --lovo-dark-blue: #031E5E;
    --lovo-light-blue: #072B9D ;
    --lovo-background-light: #072144;
    --lovo-background-dark: #000000;


    /* typography */
    --fs-1: 1.563rem;
    --fs-2: 1.375rem;
    --fs-3: 1.25rem;
    --fs-4: 1.125rem;
    --fs-5: 1rem;
    --fs-6: 0.938rem;
    --fs-7: 0.875rem;
    --fs-8: 0.813rem;
    --fs-9: 0.75rem;
    --fs-10: 0.688rem;
    --fs-11: 0.625rem;

    --weight-300: 300;
    --weight-400: 400;
    --weight-500: 500;
    --weight-600: 600;
    --weight-700: 700;


    /* border-radius */
    --border-radius-lg: 15px;
    --border-radius-md: 10px;
    --border-radius-sm: 5px;


    /* transition */
    --transition-timing: 0.2s ease;    

}




h1 {
    font-family: sans-serif;
    font-size: 3em;
    text-align: left;
}

p {
    font-size: 1em;
    font-weight: 500;
    text-align: left;
    color: #eeeeee;
    font-family: sans-serif;
    margin: 30px 0px 10px;
}

main {
    padding: 0 85px ;
    margin: 0 5em;
    display: flex;
    flex-direction: column;
}

.intro {
    display: flex;
    margin: 30px 0 30px 0;
    max-width: 1000px;
    /* flex-direction: row; */
}

.intro-headings {
    margin-top: 10px;
    margin-bottom: 50px;
}

.intro-headings {
    width: 60%;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 40px;
}

.accent {
    font-style: italic;
    font-family: serif;
    font-weight: 500;
}

.accent-paragraph {
    font-style: italic;
    font-family: serif;
    font-weight: 600;
}

.header-graphic {
    width: 40%;
    align-items: right;
    z-index: 5;
    background-image: url(/images/lov_outline_logo.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    margin-right: 30px;
    /* margin-top: 200px; */
    align-self: right;
    filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(130deg) brightness(95%) contrast(80%);
}

/* .header-graphic img {
    background-image: url(/images/lov_outline_logo.png);
    width: 500px;
    align-self: right;
    filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(130deg) brightness(95%) contrast(80%);
} */


/* ----------- TEAM CARDS ----------- */

.team-cards {
    display: flex;
    /* grid-template-columns: repeat(4, 1fr); */
    /* grid-template-rows: repeat(3, 1fr); */
    align-items: center;
    align-content: center;
    z-index: 10;
    /* margin-bottom: 20px; */
}

.profile-card {
    display: flex;
    /* flex-basis: 25%; */
    /* flex-grow: 1; */
    /* display: flex; */
    /* justify-content: center; */
    /* justify-self: center; */
    /* justify-items: center; */
    /* align-items: center; */
    width: 185px;
    height: 185px;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 2.5px 5px 22px rgba(0, 0, 0, 0.4);
    transition: .6s;
    margin: 25px;
    transition: all .6s;
    overflow: hidden;
}

.profile-card:hover {
    display: flex;
    border-radius: 10px;
    width: 425px;
}

.profile-card .pfp {
    /* background-size: fill; */
    /* background: no-repeat; */
    /* object-fit: fill; */
    width: 100%;
    height: 100%;
    transition: .6s;
    z-index: 99;
}

.profile_socials {
    position: relative;
    /* bottom: 8px; */
    /* right: 35px; */
    top: 1px;
    left: 3px;
    width: 20px;
    height: 20px;
    /* background-color: #fff; */
    color: #0072b1;
    text-align: center;
    align-items: center;
    font-size: 1.2em;
    z-index: 100;
    /* opacity: 0; */
    transition: all 2s;
    transition: opacity 0.6s;
}

.name_social {
    display: flex;
    align-items: center;
}

.profile_socials a{
    text-decoration: none;
    color: #0072b1;
    font-size: 18px;
}

.profile_socials a:hover {
    color: #29a7ec;
}

.pfp img {
    width: 185px;
    height: 185px;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
}

.profile-card:hover img {
    border-radius: 10px;
}

.caption {
    transform: translateX(-30px);
    width: 240px;
    opacity: 0;
    transition: .6s;
    margin-left: 45px;
}

.profile-card:hover .caption {
    opacity: 1;
}

.profile-card:hover .profile_socials {
    opacity: 1;
}

.caption {
    margin-top: 5px;
}

.caption h3 {
    font-size: 18px;
}

.caption h5{
    font-size: 14px;
    color: #0c52a1;
    /* margin: -15px 0 6px 0; */
    margin-top: 5px;
}

.caption p {
    font-size: 15px;
    /* text-align: justify; */
    /* text-justify: inter-word; */
    margin: 10px 0 0px 0;
    color: black;
    width: 90%;
}


/* ----------- JOIN OUR TEAM ----------- */

.join-us {
    display: flex;
    max-width: 1000px;
    height: auto;
    margin: 40px 0;
    background: var(--lovo-dark-blue);
    border-radius: var(--border-radius-lg);
    align-items: center;
}

.join-desc {
    width: 70%;
    margin: 20px;
    margin-top: -5px;
    padding: 5px 0 5px 10px;
}

.join-desc h1 {
    font-size: 34px;
    color: var(--cultured);
    font-weight: bolder;
    margin-bottom: 15px;
}

.join-desc h3 {
    max-width: 90%;
    color: var(--cultured);
    font-weight: var(--weight-500);
    text-align: justify;
}

.join-us a {
    width: 40%;
    align-items: right;
    margin-right: 30px;
    align-self: right;
    /* filter: invert(5%) sepia(13%) saturate(3207%) hue-rotate(100deg) brightness(95%) contrast(80%); */
    animation: rotateHue 10s linear infinite;
}


.apply-section {
    margin-right: 20px;
}

.empty-profile-card {
    /* display: flex; */
    /* margin-right: 90px; */
    /* margin-top: 20px; */
    width: 185px;
    height: 185px;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    transition: .6s;
    margin: 25px;
    transition: all .6s;
    overflow: hidden;
}

.empty-profile-card h3 {
    margin-left: 34px;
    margin-top: 7px;
}

.empty-profile-card:hover {
    display: flex;
    border-top-left-radius: 45%;
    border-top-right-radius: 45%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 220px;
}

@keyframes rotateHue {
    0% {
      filter: invert(0%) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(95%) contrast(80%);
    }
    50% {
      filter: invert(0%) sepia(100%) saturate(1000%) hue-rotate(360deg) brightness(95%) contrast(80%);
    }
    100% {
        filter: invert(0%) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(95%) contrast(80%);
    }
}


/* ----------- JOIN OUR TEAM ----------- */

/* Mobile Phones */
@media screen and (max-width:940px) {

    .mobile-menu {
        z-index: 9999;
    }

    main {
        z-index: 10;
    }

    h1 {
        font-family: sans-serif;
        font-size: 2em;
        text-align: left;
    }
    
    p {
        font-size: 0.9em;
        font-weight: 500;
        text-align: left;
        line-height: 20px;
        color: #eeeeee;
        font-family: sans-serif;
        margin: 20px 0px 0px;
        width: 80%;
    }
    
    main {
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .intro {
        display: flex;
        margin: 40px 0 0 0;
        max-width: none;
        flex-direction: column;
        /* margin-left: 30px; */
        width: 90%;
    }
    
    .intro-headings {
        margin-top: 10px;
        margin-bottom: 40px;
    }
    
    .intro-headings {
        width: 100%;
        margin-top: 20px;
        margin-left: 0px;
        margin-right: 0px;
    }
    
    .accent {
        font-style: italic;
        font-family: serif;
        font-weight: 500;
    }
    
    .accent-paragraph {
        font-style: italic;
        font-family: serif;
        font-weight: 600;
    }
    
    .header-graphic {
        visibility: hidden;
    }
    
    
    /* ----------- TEAM CARDS ----------- */
    
    .team-cards {
        display: flex;
        flex-direction: column;
        position: relative;
        /* grid-template-columns: repeat(4, 1fr); */
        /* grid-template-rows: repeat(3, 1fr); */
        align-items: center;
        align-content: center;
        /* z-index: 0; */
        /* margin-bottom: 20px; */
    }
    
    .profile-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        /* flex-basis: 25%; */
        /* flex-grow: 1; */
        /* display: flex; */
        /* justify-content: center; */
        /* justify-self: center; */
        /* justify-items: center; */
        /* align-items: center; */
        width: 185px;
        height: 185px;
        background: #fff;
        padding: 10px;
        border-radius: 50%;
        box-shadow: 2.5px 5px 22px rgba(0, 0, 0, 0.4);
        transition: .6s;
        margin: 25px;
        transition: all ease-in .6s;
        overflow: hidden;
    }
    
    .profile-card:hover {
        display: flex;
        border-radius: 10px;
        height: 425px;
        width: 200px;
    }
    
    .profile-card .pfp {
        /* background-size: fill; */
        /* background: no-repeat; */
        /* object-fit: fill; */
        width: 100%;
        height: 100%;
        transition: .6s;
        z-index: 99;
    }
    
    .profile_socials {
        position: relative;
        /* bottom: 8px; */
        /* right: 35px; */
        top: 1px;
        left: 3px;
        width: 20px;
        height: 20px;
        /* background-color: #fff; */
        color: #0072b1;
        text-align: center;
        align-items: center;
        font-size: 1.2em;
        z-index: 100;
        /* opacity: 0; */
        transition: all 2s;
        transition: opacity 0.6s;
    }
    
    .name_social {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0px;
    }
    
    .profile_socials a{
        text-decoration: none;
        color: #0072b1;
        font-size: 16px;
        /* margin-top: -5px; */
    }
    
    .profile_socials a:hover {
        color: #29a7ec;
    }

    .pfp {
        margin: 0;
        padding: 0;
    }
    
    .pfp img {
        width: 185px;
        height: 185px;
        border-radius: 50%;
        box-shadow: 0 0 22px #3336;
        transition: .6s;
    }
    
    .profile-card:hover img {
        border-radius: 10px;
        transform: translate(6px, 5px);
    }

    .right-side {
        display: flex;
        flex-direction: column;
        position: relative;
        top: 0;
        margin-top: 10px;
    }
    
    .caption {
        display: flex;
        position: relative;
        top: 0;
        flex-direction: column;
        transform: translateX(0px);
        /* transform: translateY(-10px); */
        width: 240px;
        opacity: 0;
        transition: .6s;
        margin-left: 0px;
    }
    
    .profile-card:hover .caption {
        opacity: 1;
    }
    
    .profile-card:hover .profile_socials {
        opacity: 1;
    }
    
    .caption {
        margin-top: 5px;
        text-align: center;
    }
    
    .caption h3 {
        font-size: 16px;
    }
    
    .caption h5{
        font-size: 12px;
        color: #0c52a1;
        /* margin: -15px 0 6px 0; */
        margin-top: 8px;
        margin-left: 0px;
        text-align: center;
    }
    
    .caption p {
        align-self: center;
        font-size: 14px;
        text-align: center;
        /* text-justify: inter-word; */
        margin: 10px 0 0 0;
        color: black;
        width: 80%;
    }
    
    
    /* ----------- JOIN OUR TEAM ----------- */
    
    .join-us {
        display: flex;
        flex-direction: column;
        max-width: none;
        width: 90%;
        height: auto;
        margin: 40px 0;
        background: var(--lovo-dark-blue);
        border-radius: var(--border-radius-lg);
        align-items: center;
    }
    
    .join-desc {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 85%;
        margin: 0px;
        margin-top: -5px;
        padding: 5px 0;
    }
    
    .join-desc h1 {
        font-size:28px;
        color: var(--cultured);
        font-weight: bolder;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .join-desc h3 {
        line-height: 20px;
        font-size: 14px;
        max-width: 100%;
        color: var(--cultured);
        font-weight: var(--weight-300);
        text-align: center;
    }
    
    .join-us a {
        width: 40%;
        align-items: right;
        margin-right: 30px;
        align-self: right;
        /* filter: invert(5%) sepia(13%) saturate(3207%) hue-rotate(100deg) brightness(95%) contrast(80%); */
        animation: rotateHue 10s linear infinite;
    }
    
    
    .apply-section {
        margin-right: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .empty-profile-card {
        /* display: flex; */
        /* margin-right: 90px; */
        /* margin-top: 20px; */
        width: 185px;
        height: 185px;
        background: #fff;
        padding: 10px;
        border-radius: 50%;
        transition: .6s;
        margin: 25px;
        transition: all .6s;
        overflow: hidden;
    }
    
    .empty-profile-card h3 {
        margin-left: 34px;
        margin-top: 7px;
    }
    
    .empty-profile-card:hover {
        display: flex;
        border-top-left-radius: 45%;
        border-top-right-radius: 45%;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        height: 220px;
    }

}