*{
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: rgb(245, 245, 235);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #555;
}

.page-container {
    width: 75%;
    margin: 24px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "header header header"
                        "header header header"
                        "staff staff staff"
                        "staff staff staff"
                        "staff staff staff"
                        "staff staff staff";                     
}

/* child one of the page container */
#child-one-of-page-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-area: header;
    row-gap: 24px;
}

.business-logo {
    grid-column: 1/2;
    grid-row: 1/2;
    font-size: 36px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    margin: 24px;
    text-shadow: 1px 0px 2px #555;
    font-weight: bold;
    color: orange;
}

.logo-link {
    text-decoration: none;
}

.header-nav {
    grid-column: 3/5;
    grid-row: 1/2;
    display: flex;
    flex-flow: row nowrap;
}

.header-nav-item{
    border: 2px solid orange;
    width: 33.33%; height: 36px;
    margin: 24px 8px;
    list-style: none;
    padding: 4px;
    text-align: center;
    text-decoration: none;
    color: #555;
    border-radius: 5px;
}

.header-nav-item:hover {
    background-color: #555;
    color: orange;

}

.page-title {
    grid-column: 1/5;
    grid-row: 2/3;
    font-size: 44px;
    font-weight: bold;
    text-align: center;
    padding-top: 48px;
}

.page-title-greeting {
    font-size: 32px;
}

/* child two of the page container */
#child-two-of-page-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-area: staff;
    row-gap: 24px;
    column-gap: 24px;
}

.our-staff {
    border: 2px groove #555;
    display: grid;
}

.our-staff:hover {
    border: 2px solid orange;
    box-shadow: 1px 1px 1px orange;
}

img{
    border-radius: 80px;
    width: 200px; height: 150px;
    margin: 16px auto;
}

.employee-name {
    text-align: center;
    color: orange;
    text-shadow: 1px 0px 2px #555;
}

.employee-title {
    text-align: center;
}

.employee-email {
    border: 2px solid orange;
    background-color: #555;
    width: 100px; height: 32px;
    margin-top: 16px;
    justify-self: center;
    text-align: center;
    text-decoration: none;
    padding: 2px;
    font-size: larger;
    color: orange;
}

.employee-email:hover {
    background-color: rgba(85, 85, 85, 0.9);
}

.employee-bio {
    text-align: center;
    padding: 16px;
}

/* media queries ======================================= */
@media screen and (max-width: 950px) {

/* child one of the page container */
#child-one-of-page-container {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: -340px; 
}

.page-title {
    margin-top: -500px;
}

.header-nav-item{
    font-size: small;
}

/* child two of the page container */
#child-two-of-page-container {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -500px;
}

}

/* =========================================================== */
@media screen and (max-width: 500px) {

/* child two of the page container */
#child-two-of-page-container {
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: -1040px; 

}

.page-title {
    margin-top: -550px;
    font-size: 36px;
    
}

.page-title-greeting {
    font-size: 24px;
}



}