@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

body, input, button, textarea {
    font-family: "Roboto Condensed", sans-serif;  /* Applied globally to all text elements */
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-size: 17pt;
    color: #111;
}

header, .container, nav a {
    color: black;  /* Unify text color declaration */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

header h1, header h2, .column p {
    margin: 0;  /* Unified margin reset for headings and paragraph */
}

header h1 {
    font-size: 32pt;
    font-weight: 700;
}

header h1 a {
    text-decoration: none;
    color: black;
}

header h1 a:hover {
    text-decoration: underline;
}

header h2, .column p {
    font-size: 12pt;  /* Unified font size for subheadings and paragraphs */
    padding-top: 15px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15pt;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.column, input, button, textarea {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.column p:first-of-type {
    padding-top: 0;
}

.column p {
    line-height: 1.6;
}

.column h3 {
    margin-bottom: 4px;
}

input, button, textarea {
    height: 40px;
    font-size: 16px;  /* Unified font size for interactive elements */
}

textarea {
    resize: none;
    height: 200px;
}

#map {
    min-height: 250px;
    width: 100%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    justify-content: start;
}
  
.grid-item {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}
  
.grid-item img {
    width: 100%; /* make image responsive */
    height: auto;
    margin-bottom: 10px; /* space between image and title */
}
  
.grid-item h3 {
    margin-bottom: 5px; /* space between title and text */
    font-size: 1.2em;
}
  
.grid-item p {
    color: #555;
}

.container video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 50em) {
    .container, header {
        flex-direction: column;
    }

    header {
        align-items: flex-start;
    }

    nav {
        width: 100%;
        padding-top: 10px;
    }

    nav a {
        display: block;
        margin-left: 0;
    }
}

@media (min-width: 1024px) {
    header, .container {
        padding-left: 150px;
        padding-right: 150px;
    }
}
