html {
    scroll-padding-top: 5rem;
}

body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #777777;
    font-weight: 400;
}

/* HEADER */
/* Reset basic list spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.site-header {
    background: #111;
    border-bottom: 1px solid #ddd;
    text-transform: uppercase;
    font-family: Raleway, "Open Sans", Helvetica, Arial, sans-serif;
    padding-top: 1rem;
    position: fixed;
    width: 100%;
}

/* Flex container */
.container {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    max-width: 1200px;
    margin: 0 auto;
}

#headerContainer {
    height: 3.5rem;
}

/* Title */
.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.main-nav a:hover {
    color: #006400;
}

/* MAIN */

#titleImage {
    margin-top: 7rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    margin-bottom: 2rem;
}

.section-heading {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #333;
    font-family: Raleway, "Open Sans", Helvetica, Arial, sans-serif;
}

.content-block {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    /* keeps image aligned to top */
}

.flex2 {
    flex: 2;
}

.flex1 {
    flex: 1;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

p {
    margin-bottom: 1rem;
}

section {
    border-bottom: 1px solid #aaa;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
}

/* Make text span full width */
.grid-full-width {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

/* Images fill their grid cell */
.grid-layout .image img {
    width: 100%;
    height: auto;
    display: block;
}

.flex-stretch {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    /* makes children same height */
}

.flex-stretch-box {
    flex: content;
    overflow: hidden;
}

.flex-stretch-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* key line */
    display: block;
}

#signoff {
    border: solid 1px;
    background-color: #eaf5e2;
    color: #3e562b;
    border-color: #c2e1a9;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* FORM */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
  }
  
  .contact-form button {
    padding: 0.8rem;
    background: #004d00;
    color: white;
    border: none;
    cursor: pointer;
  }