body {
    font-family: monospace, monospace;
}


/* Scrolling Areas */
.scrollable {
    max-height: 200px;
    border-radius: var(--border-radius);
    padding: var(--padding);
    overflow: scroll;
    border: 1px solid var(--borders);
}

.scrollable ul {
    margin: 0;
}

.image,
.full-width-image,
.two-columns {
    margin: 0.75em 0;
}



      /* Container holding all three columns side-by-side */
  .layout-container {
  display: flex;
  gap: 20px; /* Space between the columns */
  max-width: 1200px;
  margin: 0 auto; /* Centers the whole website on the screen */
  padding: 20px;
}

/* Global styles for both sidebars */
.sidebar {
  width: 200px; /* Width of your sidebars */
  flex-shrink: 0; /* Prevents sidebars from shrinking */
  background-color: #fcf4f2; /* Change to match your site's aesthetic */
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  border-width: 4px;
  border-style: solid;
  border-color: #b7978b;
}

/* Main Content takes up all remaining space */
.main-content {
  flex-grow: 1;
  background-color: #fcf4f2;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  border-width: 4px;
  border-style: solid;
  border-color: #b7978b;
}

/* Optional: Make the sidebars "sticky" so they stay on screen when scrolling */
.sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

/* Lists */
ul,
ol {
    padding-left: 20px;
    margin: 5px 0 5px 10px;
    overflow: hidden;
}

ul li {
    list-style: square;
    margin: 7px 0 7px 0;
    line-height: 1.5;
    /*list-style-image: url(../img/deco/star_bullet.gif);*/

    &:last-child {
        margin-bottom: 0;
    }

    &:first-child {
        margin-top: 0;
    }
}

ol li {
    margin: 7px 0 7px 0;
    line-height: 1.5;
}

li::marker {
    color: var(--accent);
}

/* Image Styling */
img {
    max-width: 100%;
}

.image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.full-width-image {
    display: block;
    width: 100% !important;
    height: auto;
}

.images {
    display: flex;
    width: calc(100% + 5px + 5px);
    margin-left: -5px;
    margin-right: -5px;
}

.images img {
    width: 100%;
    height: auto;
    padding: 5px;
    margin: 0;
    overflow: hidden;
}

/* -------------------------------------------------------- */
/* GALLERY */
/* -------------------------------------------------------- */
/* Wrapper */
.image-gallery {
    display: flex;
    font-weight: bold;
    text-shadow:
        4px 4px var(--accent),
        -1px -1px var(--accent),
        1px 1px var(--accent),
        -1px 1px var(--accent),
        1px -1px var(--accent);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    margin-left: 0;
    margin-right: 0;
    gap: 10px;
}

/* Items */
.image-gallery div {
    width: calc(20% - 10px);
    box-sizing: border-box;
    border: 1px solid var(--borders);
    outline-offset: -5px;
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: var(--padding);
    transition: transform 0.25s ease-in-out;
    background-color: var(--image-deco-border);
}

/* Images */
.image-gallery div img {
    aspect-ratio: 1/1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: 1px solid var(--borders);
}

.image-gallery div:hover {
    transform: scale(1.05);
}

/* -------------------------------------------------------- */
/* OTHER HELPER CLASSES */
/* -------------------------------------------------------- */
/* COLUMNS: */
.two-columns {
    display: flex;
}

.two-columns > * {
    flex: 1 1 0;
    margin: 0;
}

.two-columns > *:first-child {
    padding-right: 0.75em;
}

.two-columns > *:last-child {
    padding-left: 0.75em;
}

.hide-desktop {
    display: none;
}

/* center any item */
.center-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    gap: 2px;
}

/* Shadow CSS Deco */
.image-shadow {
    filter: drop-shadow(5px 5px 0 var(--borders));
}

.image-deco {
    border-radius: var(--border-radius);
    border: 1px solid var(--borders);
    padding: var(--padding);
    background-color: var(--image-deco-border);
}

.image-deco img {
    outline: 1px solid var(--borders);
}

.float-img-right {
    max-width: 40%;
    float: right;
    margin: 3px 0 3px 10px;
}

.float-img-left {
    max-width: 40%;
    float: left;
    margin: 3px 10px 3px 0;
}

/* fix for floats! */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
