* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

ul {
    list-style-type: none;
}

html {
    scroll-behavior: smooth;
    background: white;
}

nav {
    background: #674D3E;
    color: #DBC5A1;
    padding: 10px;
}

nav {
    text-align: center;
}

nav ul li {
    font-size: 12px;
    text-align: center;
    line-height: 25px;
}

nav ul li span {
    font-size: 15px;
    font-weight: bold;
}

#menu {
    width: 98%;
    text-align: center;
    background: #DBC5A1;
    color: #674D3E;
    transform: translateX(-50%);
    margin: 10px 50%;
    padding: 6px;
}

.nav-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 0;
    overflow: hidden;
}
.nav-link-toggle {
    height: auto;
}
.nav-link li {
    padding: 7px;
}
.nav-link a {
    color: #DBC5A1;
    text-decoration: none;
}
.nav-link li:hover {
    background: #DBC5A1;
    color: #674D3E;
}
.fa-quote-left,
    .fa-quote-right {
        color: #674D3E;
        font-size: 30px;
        padding: 0 10px;
    }
    .quotes {
        background: url(../images/hallbrownlaw.jpg);
        width: 88%;
        margin: 0 50%;
        transform: translateX(-50%);
    }
    .quote-text {
        color: #674D3E;
        border: 1px solid #674D3E;
        border-right: 1px solid transparent;
        border-left: 1px solid transparent;
        margin: 0 50%;
        margin-top: 2em;
        width: 90%;
        padding: 20px 10px;
        text-align: center;
        transform: translateX(-50%);
    }
    .people-item {
        background: url(../images/hallbrownlaw.jpg);
    }
    .people-item article {
        text-align: center;
        margin: 5px 30px;
    }
    .people-item p{
        border: 1px solid #674D3E;
        border-right: 1px solid transparent;
        border-left: 1px solid transparent;
        width: 100%;
        text-align: center;
        padding: 5px;
        font-weight: bold;
        font-size: 14px;
        color: #674D3E;
        letter-spacing: 2px;
    }
    .people-grid-one {
        display: flex;
        justify-content: center;
    }
    .people-grid-two {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 15px 0;
    }
    .people-item button {
        background-color: #674D3E;
        color: white;
        padding: 7px;
        font-weight: bold;
        width: 85%;
        border-radius:5px;
        border: 2px solid transparent;
        margin-bottom: 20px;
    }
    .about {
        background: white;
        color: #674D3E;
        padding: 10px;
    }
    .line {
        background: url(../images/line.png);
        width: 170px;
        height: 20px;
        display: block;
        clear: both;
    }
    .line-h3 {
        font-size: 15px;
        letter-spacing: 7px;
    }
    .about p {
        font-size: 15px;
    }
    .about button {
        padding: 10px 14px;
        border-radius: 5px;
        font-weight: bold;
        background: #674D3E;
        color: #DBC5A1;
        border: 2px solid transparent
    }
    .about ul li {
        padding: 10px;
        background: #DBC5A1;
        margin: 2px 0;
    }
    .history {
        background: #674D3E;
        color: white;
        padding: 10px 20px;
    }
    .history p {
        font-size: 14px;
    }
    .news {
        background: white;
        color: #674D3E;
        padding: 10px;
    }
    .news h4 {
        letter-spacing: 5px;
    }
    .news a {
        color: #674D3E;
        font-weight: bold;
        text-decoration: underline;
    }
    .accreditation {
        color: #674D3E;
        margin: 10px 0;
    }
    .accreditation ul {
        display: block;
        justify-content: center;
        /* flex-direction: column; */
        text-align: center;
    }
    .layer {
        background: url(../images/layer.jpg) center;
        height: 60px;
    }
    footer {
        background: #674D3E;
        color: white;
        padding: 10px;
    }
    .footer-container article h4 {
        margin: 10px 0;
    }
    .footer-container ul {
        font-size: 14px;
    }
    .footer-container ul a {
        color: white;
        text-decoration: none;
    }

@media screen and (min-width: 768px) {
    .people-grid-two {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .fixed-width {
        /* width: 90%;
        transform: translateX(-50%);
        margin: 0 50%;
        padding: 10px; */
    }
    .about {
        background: #F4F3F1;
    }
    .about-item {
        margin: 0 10%;
        background: white;
        padding: 10px;
        border-radius: 5px;
    }

    .news {
        background: #F4F3F1;
    }
    .news-item {
        margin: 0 6%;
        background: white;
        padding: 10px;
        border-radius: 5px;
    }
    .news-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .accreditation ul {
        display: flex;
        flex-wrap: wrap;
        text-align: center;
    }
    .accreditation ul li {
        margin: 10px 15px;
    }
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 10px 40px;
        line-height: 23px;
    }
    .footer-container .fa {
        background-color: #DBC5A1;
        padding: 7px;
        color: #674D3E;
        border-radius: 50%;
    }
}

@media screen and (min-width: 1024px) {
    nav {
        position: fixed;
        top: 0;
        z-index: 1;
        width: 100%;   
        border-bottom: 3px solid #DBC5A1; 
    }

    .nav-link {
        margin: 0 10%;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        position: relative;
        top: 10px;
        height: auto;
    }
    nav {
        padding:  20px 10%;
    }
    #menu {
        display: none;
    }
    nav ul {
        position: fixed;
        top: -35px;
        right: 10px;
    }
    .fa-quote-left,
    .fa-quote-right {
        color: #674D3E;
        font-size: 30px;
        padding: 0 10px;
    }
    .quote-text {
        width: 50%;
        font-size: 18px;
        margin-top: 10em;
    }
    .about-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .about-container article {
        margin: 10px;
    }
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}