/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Times New Roman", serif;
  background-image: url("images/polkabg.jpg");  /* your image file */
  background-repeat: repeat;             /* tile pattern */
  background-attachment: fixed;
  background-size: auto;                 /* or "cover" if you want it to stretch */
  color: #333;
}

/* soft bordered container */

.page-border {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background: #f5f3f0;
  background-clip: padding-box;   /* background stops before the border */
  border: 35px solid transparent;

  border-image-source: url("images/laceborder3.png");
  border-image-slice: 40;                          /* match frame thickness */
  border-image-repeat: round;
  

}


/* header and menu */

.site-header {
  border-bottom: 2px solid #c4c0b8;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.header-banner {
  background: linear-gradient(to right, #C9ADA7, #D8C4C0);
  border: 2px solid #c4c0b8;
  padding: 15px;
  text-align: center;
  letter-spacing: 3px;
}

.header-banner h1 {
  font-size: 40px;
  text-transform: lowercase;
}

.header-subtitle {
  font-size: 14px;
  text-transform: lowercase;
}

.main-nav {
  margin-top: 8px;
  background: #D8C4C0;
  border: 2px solid #c4c0b8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  padding: 6px 14px;
  margin: 3px;
  font-size: 12px;
  text-decoration: none;
  color: #23334a;
  background: #F2E9E4;
  border: 1px solid #c4c0b8;
  text-transform: lowercase;
}

.main-nav a:hover {
  background: #F2E9E4;
}

.ticker {
  margin-top: 8px;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 1px;
  text-align: center;
  background: #222;
  color: #eee;
  text-transform: lowercase;
}

/* two-column layout - left & right */

.layout-2colright {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr; /* main + side */
  gap: 15px;
}

.layout-2colleft {
  display: grid;
  grid-template-columns: 0.6fr 1.6fr; /* main + side */
  gap: 15px;
}

/* shared panels */

.panel {
  border: 2px solid #c4c0b8;
  background: #f0ece6;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.panel-title {
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

/* main text */

.col-main p {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.5;
}

/* currently side box */

.status-list {
  list-style: none;
  font-size: 12px;
}

.status-list li {
  margin: 4px 0;
}

.tag {
  display: inline-block;
  padding: 1px 6px;
  margin-right: 4px;
  background: #D8C4C0;
  border-radius: 8px;
  border: 1px solid #c4c0b8;
  text-transform: lowercase;
}

/* footer */

.site-footer {
  margin-top: 15px;
  padding-top: 8px;
  border-top: 2px solid #c4c0b8;
  font-size: 11px;
  text-align: center;
  text-transform: lowercase;
}

/* mobile */

@media (max-width: 800px) {
  .layout-2col {
    grid-template-columns: 1fr;
  }
}
