/* Splash Page */

#splash-page {
    width: 100%;
    height: calc(100vh - 90px);
    background-image: url("../Media/Images/medical-team.webp");
    background-size: cover;
    background-position: 45% 10%;
}

#splash-page-shader {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

#splash-page img {
    width: 90%;
    max-width: 447px;
}

#splash-page header {
    color: white;
}

/* About Sections */

.about-section {
    padding: 10px;
}

.about-section:nth-child(odd) {
    background-color: whitesmoke;
}

.about-section img {
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 0px 5px #888888;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.about-section header, #staff-section header {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #142464;
    padding-bottom: 5px;
    margin: 10px 0px;
}

.about-section p {
    line-height: 1.5;
}

/* Staff Section */

#staff-section {
    padding: 10px;
}

#staff-section div {
    text-align: center;
    margin: 20px 0px;
}

#staff-section img {
    width: 150px;
    height: auto;
    border-radius: 100vh;
    box-shadow: 0px 0px 5px #888888;
}

#staff-section strong {
    font-size: 20px;
}

/* Media Queries */

@media screen and (min-width: 500px) {

    #staff-section-container {
        display: grid;
        grid-template-columns: 50% 50%;
        justify-items: center;
    }

}

@media screen and (min-width: 1002px) {

    .about-section {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
        padding: 20px;
    }

    .about-section div {
        margin-right: 40px;
    }

    .about-section img {
        align-self: center;
        left: 0%;
        transform: translateX(0%);
    }

    .about-section header, #staff-section header {
        font-size: 24px;
    }

}

