header,
footer {
    background-color: var(--mainDark);
    color: var(--neutralLight);
}
header {
    /*display: grid;
    grid-template-columns: 1fr 1fr;*/
    /*padding: 1.5rem 0;*/
}
.contactDetails {
    display: flex;
    background-color: var(--mainDark);
    color: var(--neutralLight);
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 1rem;
}
.contactDetails p {
    flex: 1;
}
.contactDetails a {
    color: inherit;
    text-decoration: none;
}
.phone, 
.address {
    padding-top: 1rem;
}
.address .fa,
.phone .fa {
    float: left;
    width: 7%;
}
.address p,
.phone p {
    float: right;
    width: 92%;
    margin-top: 0;
}
.phone {
    margin-right: 1rem;
}
.phone .fa {
    width: 10%;
}
.phone p {
    width: 83%;
}
.fa {
    padding-right: .5rem;
}
.imageHolder {
    background-image: url(../images/backgrounds/header.png);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 37vh;
    width: 100%;
    border-bottom: 1px solid var(--mainLight);
}
footer {
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-content: space-between;
}
footer p {
    margin: 0;
}
.links p {
    float: left;
}
footer img {
    display: block;
    width: 100%;
}
img[src*="ahas.png"] {
    max-width: 610px;
}
img[src*="standrews.png"] {
    max-width: 300px;
}
.links p:first-of-type {
    margin-right: 1rem;
}
header ul,
nav ul,
footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
header a,
nav a,
footer a {
    text-decoration: none;
    color: inherit;
}
.social {
    text-align: right;
    margin-right: 2rem;
    display: flex;
    justify-content: flex-end;
    text-align: right;
    margin-right: 2rem;
}
.social p {
    margin: 0 1rem;
}
.social a {
    padding: .5rem;
    transition: .3s;
}
.social a:hover {
    color: var(--complementary);
}
/*HIDE THE REST OF THE PAGE BELOW THE ORDER CONFIRMATION*/
.container-order~* {
    display: none;
}
@media only screen and (max-width: 1400px) {
    .links p:first-of-type {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
@media only screen and (max-width: 770px) {
    .social {
        margin-right: 0;
    }
}
@media only screen and (max-width: 750px) {
    footer {
        display: block;
        text-align: center;
    }
    footer p:first-of-type {
        margin-bottom: 2rem;
    }
    .links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .links p {
        float: none;
    }
}
@media only screen and (max-width: 630px) {
    .contactDetails {
        display: block;
    }
    .address p, 
    .phone p {
        width: 95%;
    }
    .address .fa, 
    .phone .fa {
        float: left;
        width: 5%;
    }
}
