body {
    /* font-family: Lora, Open Sans, sans-serif; */
    font-family: serif;
}

h1 {
  /* font-family: */
    /* Happy Monkey, */
    /* Open Sans, */
    /* sans-serif; */
    /* color: #565656; */
    /* padding-left: 0.5em; */
    padding-right: 0.5em;
    /* margin: 5px 0 0 0; */
    font-weight: normal;
}

p {
    font-style: oblique;
    font-size: 1rem;
}

pre {
    white-space: break-spaces;
}

.sidebarleft {
    grid-area: sidebarleft;
}
.sidebarright {
    grid-area: sidebarright;
}
.content {
    grid-area: content;
}
.header {
    grid-area: header;
}
.box {
    /* background-color: lightgrey; */
    /* color: #ffffff; */
    border-radius: 5px;
    padding: 10px;
    /* font-size: 150%; */
}

p > img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.homeicon {
    grid-area: homeicon;
}
.headertitle {
    grid-area: headertitle;
}
.menuicon {
    grid-area: menuicon;
}
.hamburger {
    display: none;
}
.closehamburger {
    display: none;
}
.menuicondisplay {
    display: block;
}
.leftoptions {
    grid-area: leftoptions;
}
.rightoptions {
    grid-area: rightoptions;
}
.wrapperheader {
    margin: auto;
    display: grid;
    /* grid-gap: 1em; */
    grid-template-columns: 64px auto auto 32px;
    grid-template-areas: "homeicon headertitle headertitle menuicon"
                        "leftoptions leftoptions leftoptions leftoptions"
                        "rightoptions rightoptions rightoptions rightoptions"
}
.homeicon > a > img, .menuicon > a > img {
    height: 32px;
    width: auto;
}
.menuicon {
    visibility: visible;
}
.content > h1,
.headertitle > h1 {
    margin: 0;
}
.leftoptions > a, .rightoptions > a, .rightoptions > .search {
    float: left;
    display: none;
    /* color: #f2f2f2; */
    /* text-align: center; */
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1.25em;
    width: 100%
}
.displayoptions > a, .displayoptions > .search {
    /* display: block; */
    display: flex;
}
.leftoptions > a:hover, .rightoptions > a:hover {
    background-color: #ddd;
    color: #000;
}

.footer {
    grid-area: footer;
}

.footnote {
    text-align: center;
    padding: 10px;
}

.wrapper3col {
    /* background-color: #eeeeee; */
    /* color: #444; */
    margin: auto;
    display: grid;
    /* grid-gap: 1em; */
    grid-template-areas: "header" "sidebarleft" "content" "sidebarright" "footer"
}
.wrapper2col {
    /* background-color: #eeeeee; */
    /* color: #444; */
    margin: auto;
    display: grid;
    /* grid-gap: 1em; */
    grid-template-areas: "header" "content" "sidebarright" "footer"
}
.wrapper1col {
    /* background-color: #eeeeee; */
    /* color: #444; */
    margin: auto;
    display: grid;
    /* grid-gap: 1em; */
    grid-template-areas: "header" "content" "footer"
}

.box {
    /* background-color: #444; */
    /* color: #ffffff; */
    border-radius: 5px;
    padding: 10px;
    /* font-size: 150%; */
}
/* .header, */
/* .headertitle, */
/* .footer { */
    /* background-color: #8ebf42; */
/* } */

.sidebar2 {
    background-color: #ccc;
    /* color: #444; */
}

/* search.css */

.search {
    display: flex;          /* Activates flexbox layout */
    align-items: center;    /* Vertically centers both elements on the same line */
    gap: 8px;               /* Adds a clean space between the input and button */
    width: 100%;            /* Allows container to scale; adjust as needed */
    max-width: 400px;       /* Optional: sets a maximum boundary width */
}

.search input[type="text"] {
    flex-grow: 1;           /* Forces the input to expand and fill all available space */
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.search button {
    /* padding: 8px 16px; */
    /* background-color: #007bff; */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    /* font-size: 14px; */
    font-size: 0px;
    white-space: nowrap;    /* Prevents the button text from wrapping to a new line */
}

/* Optional hover state for the button */
.search button:hover {
    /* background-color: #0056b3; */
    background-color: gray;
}
@media only screen and (min-width: 500px) {
    .wrapper3col {
        grid-template-columns: 20% auto;
        grid-template-areas: "header   header" "sidebarleft  content" "sidebarright sidebarright" "footer   footer";
    }
    .wrapper2col {
        grid-template-columns: 20% auto;
        grid-template-areas: "header   header" "content  content" "sidebarright sidebarright" "footer   footer";
    }
    .wrapper1col {
        grid-template-columns: 20% auto;
        grid-template-areas: "header   header" "content  content" "footer   footer";
    }
}
@media only screen and (min-width: 600px) {
    body {
        /* margin: 40px; */
        margin:auto;
        max-width: 1024px;
    }
    .content {
        margin-right: 100px;
    }

    .wrapper3col {
        /* grid-gap: 20px; */
        grid-template-columns: 180px auto 180px;
        grid-template-areas: "header  header  header" "sidebarleft content sidebarright" "footer  footer  footer";
        /* max-width: 600px; */
    }
    .wrapper2col {
        /* grid-gap: 20px; */
        grid-template-columns: auto 200px;
        grid-template-areas: "header  header" "content sidebarright" "footer  footer";
        /* max-width: 600px; */
    }
    .wrapper1col {
        /* grid-gap: 20px; */
        grid-template-columns: auto;
        grid-template-areas: "header" "content" "footer  footer";
        /* max-width: 600px; */
    }

    .wrapperheader {
        grid-template-areas: "homeicon headertitle headertitle menuicon"
                            "leftoptions leftoptions rightoptions rightoptions"
    }
    .menuicon {
        visibility: hidden;
    }
    .rightoptions {
        justify-self: end;
    }
    .leftoptions > a, .rightoptions > a {
        /* display: block; */
        display: flex;
        width: auto;
    }
    .rightoptions > .search {
        display: flex;
        width: auto;
    }


}
