
body {
    margin: 0;
    background: #EADFC6;
    color: #72243A;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.35;
}

header {
    display: flex;
    flex-direction: column;
}

header > a {
    display: block;
    min-height: 145px;
    padding: 25px 16px;
    padding-top: 71px;
    background-image:
        linear-gradient(rgba(234, 223, 198, 0.7), rgba(234, 223, 198, 0.7)),
        url("../images/header-background.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

header h1 {
    margin: 0;
    padding-top: 4px;
    color: #72243A;
    line-height: 1.1;
    font-weight: bold;
}

#nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 46px;
    padding: 9px 14px;
    background: #72243A;
}

#nav-bar a {
    display: inline-block;
    padding: 10px 17px;
    border-radius: 22px;
    background: #DCC8D3;
    color: #72243A;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#nav-bar a:hover,
#nav-bar a:focus-visible {
    background: #F0E7EC;
    transform: translateY(-2px);
}

main {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 0 34px;
    box-sizing: border-box;
}

#main-description {
    position: relative;
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

#main-description,
#why-it-matters {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin: 0 auto 35px;
}

#main-description img,
#why-it-matters img {
    max-height: 200px;
    max-width: 40%;
    width: auto;
    object-fit: contain;
}

#image-stack {
    display: flex;
    flex-direction: column;
    flex: 0 0 30%;
    gap: 20px;
}

#image-stack img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
}

.history-images img {
    width: 250px;
    height: 350px;
    object-fit: cover;
}

.centuries {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.centuries:nth-child(odd) {
    flex-direction: row-reverse;
}

footer {
    background: #72243A;
    color: #d9c5c8;
    font-size: 0.9rem;
    min-height: 100px;
    padding: 20px 5%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
}

#footer-nav a {
    color: #d9c5c8;
    text-decoration: none;
}

#footer-nav a:hover,
#footer-nav a:focus-visible {
    color: white;
    text-decoration: underline;
}

.content-column {
    padding: 0 40px;
}
