body{
    font-family: 'Open Sans', sans-serif;
    color: #111827;
}

.center-page-container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px; /* Add some horizontal padding for small screens */
    box-sizing: border-box;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin: 18px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Domine', serif;
    text-transform: uppercase;
}

h1 {
    font-size: 31px;
}

h2 {
    color: #AAD5D3;
    font-size: clamp(32px, 6vw, 60px);
}

h3 {
    font-size: 43px;
    margin-bottom: 24px;
}

h4 {
    font-size: 21px;
    text-transform: none;
    color: #8B4448;
    margin-bottom: 12px;
}

/* Add your code below where necessary to make the final 
web site look similar to the attached screen-shot 
and figma file */

header {
    padding: 15px 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header > div {
    font-weight: bolder;
}

header p {
    margin: 0;
    font-size: 14px;
    color: #8B4448;
    padding-left: 250px;
}

ul.menu {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
  
}

ul.menu a {
    text-decoration: none;
    color: #111827;
}

ul.menu a:hover {
    text-decoration: underline;
}

.banner {
    background: url('../img/customers.jpg') no-repeat center center;
    background-size: cover;
    min-height: 370px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner div {
    width: 400px;
    height: 290px;
    background-color: rgba(92, 71, 47, 0.5);
    padding: 20px;
    
}

.banner p {
    color: white;
    margin-bottom: 20px;
    font-weight: bold;  
}

.banner a {
    background-color: rgba(143, 181, 182, 0.5);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
}

.banner a:hover {
    background-color: rgba(143, 181, 182, 0.7);
}

article {
    border-radius: 5px;
    border: 1px solid #bcbec0;
    margin-top: 20px;
    gap: 20px;
}
article footer {
    display: flex;
    justify-content:right;
    gap: 50px;
    margin-top: 10px;
    font-size: 18px;
    font-style: italic;
    background-color: #d6d5d59d;
    color: #111827;
    padding-right: 25px;
}

footer {
    background-color: #8B4448;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;

}

footer h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    border-bottom:  1px solid #f5f4f4;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 15px;
    font-weight: bolder;
}

footer a {
    color: white;
    text-decoration: none;  
}

footer a:hover {
    text-decoration: underline;
}

footer div {
    padding-top: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .banner div {
        width: 100%;
        height: auto;
    }

    ul.menu {
        flex-direction: column;
        gap: 8px;
    }

    .flex-container > div {
        flex: 1 1 100%;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}