.fellowship-gallery {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-rows: auto 40px auto auto;
    grid-template-columns: repeat(3,1fr);
}

.fellowship__title-wrapper {
    grid-area: 1 / 1 / span 2 / span 2;
    padding-left: 120px;
    margin-bottom: -35px;
}

.fellowship__url {
    grid-area: 1 / 3 / span 2 / span 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: flex-end;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 30%;
}

.background-overlay, .fellowship-section {
    grid-area: 2 / 1 / span 3 / span 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.background-overlay {
    z-index: -1;
}

.fellowship-section {
    padding-top: 30px;
}

.profile-card {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    display: inline-block;
    width: 33.3%;
}

.profile-card__wrapper {
    grid-area: 1;
    display: grid;
    grid-template-rows: auto 18px auto;
    grid-template-columns: 1fr;
}

.profile-card-front__wrapper {
    z-index: 3;
}

.profile-card:hover .fallback-on-hover,
.profile-card__wrapper:hover .fallback-on-hover {
    z-index: -1;
}

.profile-card-front__header-wrapper {
    grid-area: 1 / 1 / span 2 / span 1;
    z-index: 5;
    padding-left: 20px;
    margin-bottom: -18px;
    position: relative;
}

.profile-card-front__image {
    grid-area: 2 / 1 / span 2 / span 1;
    overflow: hidden;
    box-shadow: 10px 10px 20px 0 rgb(0 0 0 / 10%);
    width: 100%;
}

.profile-card-front__image-inner {
    position: relative;
    overflow: hidden;
}

.profile-card-front__text-wrapper {
    grid-area: 2 / 1 / span 2 / span 1;
    z-index: 5;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-end;
    -webkit-box-align: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
}

.profile-card-front__text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 40px;
    width: 144px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.profile-card-back__header-wrapper {
    grid-area: 2 / 1 / span 2 / span 1;
    background-color: #ffffff;
    padding: 48px 20px 0px;
}

.featured-fellows-bioAbout-heading {
    font-size: 32px;
    letter-spacing: -1.04px;
    line-height: 44px;
}

.featured-fellows-bioAbout-paragraph {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.22px;
    line-height: 30px;
    margin: 10px 20px 0px 0px;
}

.profile-card-back__bio-link__wrapper {
    grid-area: 2 / 1 / span 2 / span 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-end;
    -webkit-box-align: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
}

  .profile__image {
/*         position: absolute;
        top: 0px;
        left: 0px; */
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        opacity: 1;
        transition: opacity 500ms ease 0s; 
    }

.profile-card-back__bio-link {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 20px;
    margin-bottom: 30px;
}

.fellowship__url-mobile {
    display: none;
    height: 28px;
    width: 205px;
}

.fellowship__url-link-mobile {
    font-size: 18px;
    font-weight: bold;
    -webkit-letter-spacing: -0.3px;
    -moz-letter-spacing: -0.3px;
    -ms-letter-spacing: -0.3px;
    letter-spacing: -0.3px;
    line-height: 17px;

}

@media only screen and (min-width: 1350px) {
    .fellowship__url-link {
        font-size: 53px;
        -webkit-letter-spacing: -1.38px;
        -moz-letter-spacing: -1.38px;
        -ms-letter-spacing: -1.38px;
        letter-spacing: -1.38px;
        line-height: 64px;
        max-width: 340px;
    }
}

@media only screen and (min-width: 1250px) {
    .fellowship__title {
        letter-spacing: -6.25px;
        font-size: 130px;
        line-height: 156px;
        z-index: 1;
    }
}

@media only screen and (min-width: 1101px) {
    .profile-card-front__header {
        font-size: 53px;
        font-weight: bold;
        -webkit-letter-spacing: -1.38px;
        -moz-letter-spacing: -1.38px;
        -ms-letter-spacing: -1.38px;
        letter-spacing: -1.38px;
        line-height: 54px;
    }
}

@media only screen and (min-width: 800px) {
    .profile-card:nth-child(1) .profile-card__wrapper,
    .profile-card:nth-child(3n+1) .profile-card__wrapper {
        margin-top: 0px;
    }
    
    .profile-card:nth-child(3n-1) .profile-card__wrapper {
        margin-top: 100px;
    }

    .profile-card:nth-child(3n) .profile-card__wrapper {
        margin-top: 200px;
    }
}

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

}


@media only screen and (max-width: 1250px) {
    .fellowship__title-wrapper {
        margin-bottom: -15px;
    }

    .profile-card-front__wrapper {
        grid-template-rows: auto 14px auto;
    }
}

@media only screen and (min-width: 801px) and (max-width: 1250px) {
    .fellowship__title-wrapper {
        margin-bottom: -25px;
    } 

    .fellowship__title {
        font-size: 90px;
        line-height: 90px;
    }
}

@media only screen and (max-width: 1100px) {
    .fellowship-gallery {
        grid-template-rows: auto 28px auto auto;
    }

    .fellowship-section {
        padding-top: 0px;
    }

    .fellowship__url {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .featured-fellows-bioAbout-heading {
        font-size: 24px;
        letter-spacing: -1.04px;
        line-height: 24px;
    }

    .featured-fellows-bioAbout-paragraph {
        font-size: 20px;
        letter-spacing: -0.22px;
        line-height: 24px;
    }

    .profile-card-back__bio-link {
        font-size: 14px;
        line-height: 20px;
    }
}

@media only screen and (max-width: 1020px) {
    .fellowship__title-wrapper  {
        padding-left: 80px;
    }
}

@media only screen and (max-width: 800px) {
    .fellowship-gallery {
        display: grid;
        grid-template-rows: auto 17px auto;
        grid-template-columns: 1fr;
        margin: 50px 0;
    }

    .fellowship__title-wrapper {
        grid-area: 1 / 1 / span 2 / 1;
        z-index: 1;
        margin-left: 14px;
        padding-left: 0;
    }

    .fellowship-section {
        grid-area: 2 / 1 / span 2 / span 3;
        width: 100%;
        height: auto;
        padding: 40px 14px 21px 14px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        justify-content: center;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
        -webkit-transition: all 0.3s ease-out;
        -ms-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
    }

    .profile-card {
        display: grid;
        grid-template-rows: auto 8px auto;
        grid-template-columns: 1fr;
        margin-bottom: 30px;
        width: 346px;
    }

    .profile-card-front__image {
        height: 346px;
        width: 346px;
    }

    .profile__image {
/*         position: absolute;
        top: 0px;
        left: 0px; */
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        opacity: 1;
        transition: opacity 500ms ease 0s; 
    }

    .profile-card-front__header {
        font-size: 32px;
        line-height: 32px;
        margin-bottom: -18px;
    }

    .profile-card-front__header-wrapper {
        grid-area: 1 / 1 / span 2 / span 1;
        z-index: 5;
        padding-left: 0px;
        margin-bottom: 3px;
        position: relative;
    }

    .fellowship__url {
        display: none;
    }

    .fellowship__url-mobile {
        display: block;
    }
}

@media only screen and (max-width: 599px) {
    .profile-card {
        max-width: 346px;
        width: 100%;
    }

    .profile-card-front__image-inner {
        height: 346px;
        max-width: 346px;
        width: 100%;
    }

    .profile-card-front__image {
        height: 346px;
        max-width: 346px;
        width: 100%;
    }
    
    .profile-card-front__header {
        margin-bottom: -18px;
    }
}
