.content {
    background-color: var(--backgroundcolor1);

}

.content1 {
    padding-top: 50px;
    padding-bottom: 150px;
    margin: auto;
    width: 90%;
}

.content1 #one{
    text-align: right;
}
.content1 h2{
    font-size: calc(2vw + 10px);
    color: var(--color2);
    margin-bottom: 7px;
}
.content1 p{
    text-align: justify;
    line-height: 35px;
    word-spacing: 5px;
}
.content1 h4,h6{
    margin-bottom: 7px;
}

@media screen and (max-width:992px) {
    .content1 #one{
        text-align: center;
    }
    .content1 h2{
        font-size: calc(4vw + 10px);
        color: var(--color2);
        margin-bottom: 7px;
    }
}


.family-timeline {
    margin-bottom: 50px;
}

.family-timeline h2 {
    text-align: center;
    font-size: calc(4vw + 10px);
    color: var(--color2);
    margin-bottom: 40px;
    padding-left: 50px;
    padding-right: 50px;
}

.family-timeline h4 {
    text-align: center;
    font-size: calc(2vw + 10px);
    color: var(--color2);
    margin-bottom: 40px;
    padding-left: 50px;
    padding-right: 50px;
    font-weight: 300;
}

.family-timeline-content {
    z-index: 1;
    position: relative;
    height: 1200px;
    margin-top: 80px;

}

.family-timeline-content>img {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

.family-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 50px;
    width: 95%;
    margin: auto;
}

.family-members .member {
    min-height: 400px;
    border-radius: 40px;
    display: flex;
    flex-direction: row;
    max-height: 430px;
    background-color: #ffffff42;
    box-shadow: 5px 5px 10px #0101019f;
    transition: background-color 0.5s ease;
}

.family-members .member:hover {
    background-color: white;
    box-shadow: 5px 5px 10px #0101019f;

}

.family-members .member img {
    width: 40%;
    float: left;
    height: 430px;
    background-position: center;
    background-size: cover;

}

.family-members .member .container {
    width: 60%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.family-members .member .container h5 {
    text-align: right;
    padding-bottom: 10px;
}

.family-members .member .container h3 {
    margin-top: 20px;
    font-size: 3rem;
    text-align: left;
}


.family-members .member .container p {
    margin-top: 10px;
    font-size: 18px;
    text-align: left;
    font-weight: 300;
}

.family-members .member .container p a {
    padding: 10px 30px 0 30px;
    font-size: 36px;
    color: var(--color2);
    font-weight: bolder;

}

.family-members .member:hover a {
    color: var(--color3);
}


@media screen and (max-width:1362px) {
    .family-members {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 50px;
        width: 90%;
        margin: auto;
    }

    .family-members .member {
        border-radius: 0px;
    }
}


@media screen and (max-width:710px) {
    .family-members .member {
        min-height: 400px;
        border-radius: 0px;
        display: flex;
        flex-direction: column;
        max-height: 600px;
        background-color: #ffffff42;
        box-shadow: 2.5px 2.5px 5px #0101019f;
    }

    .family-members .member img {
        width: 100%;
        height: auto;
        max-height: 300px;
        background-position: center;
        background-size: cover;

    }

    .family-members .member .container {
        width: 100%;
        padding: 10px;
    }


    .family-members .member .container h5 {
        text-align: center;
        padding-bottom: 4px;
    }

    .family-members .member .container h3 {
        margin-top: 8px;
        font-size: 2rem;
        text-align: center;
    }


    .family-members .member .container p {
        margin-top: 5pxpx;
        font-size: 18px;
        text-align: center;
        font-weight: 300;
    }

    .family-members .member .container p a {
        padding: 10px 30px 0 30px;
        font-size: 20px;
        color: var(--color2);
        font-weight: bolder;
    }

    .family-timeline-content {
        height: auto;
        margin-top: 40px;

    }

}