/*===== Background =====*/
#background {
    background: #c0c0c0;
    height: 85vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
}

/*===== Title =====*/
.title {
    margin-left: -10px;
}

/*===== Members =====*/
.member {
    position: relative;
}

.member-data {
    position: absolute;
    bottom: 8px;
    left: 16px;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.team-members img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
}

.team-members img:hover {
    filter: none;
    transition: 1s;
}

/*===== Base =====*/
.page-title img {
    width: 500px;
}

.section-title {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/*===== Media queries =====*/
@media only screen and (max-width: 1050px) {
    .title {
        font-size: 4rem;
    }

    .page-title img {
        width: 400px;
    }
}

@media only screen and (max-width: 900px) {
    .page-title {
        display: grid;
        row-gap: 2rem;
        justify-content: center;
    }

    .page-title img {
        width: 500px;
    }
}

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

    .page-title img {
        width: 100%;
    }

    .subtitle {
        font-size: 25px;
        font-weight: 300;
    }
}

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

    .title {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 20px;
        font-weight: 300;
    }

    .page-title img {
        width: 100%;
    }

    .team-members {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 40px;
    }
}
