@media (prefers-color-scheme: dark) {
  :root {
    --text: white;
    --border: #1e1b1d;
    --accent: #b49e46;
    --bg: #000000;
    --gradientBottom: #30252f;
    --gradientTop: #5f585b;
    a:link {
      color: rgb(178, 169, 118);
    }
  }
  header {
    background: #817278;
  }
}

* {
  box-sizing: border-box;
}
body {
  padding: 10px;
  font-family: "times new roman", serif;
  color: var(--text);

  background-image: url(ss-img/Background.jpg);
}

.container {
  max-width: 60rem;
  margin: 5vw auto 12px auto;
  border: 6px ridge var(--border);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  gap: 5px;

  /* container background pattern */
  background-image: url(ss-img/half-tone.jpg);
}
/* these control the column widths */
.small {
  flex: 1 1 9%;
}
.large {
  flex: 1 1 82%;
}
.full {
  flex: 1 1 100%;
}
.half {
  flex: 1 1 49%;
}
marquee img {
  max-height: 300px;
}
header {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100px; /* change banner height here*/
  border: 4px ridge var(--border);
  border-radius: 5px;
  position: relative;
  background-color: var(--gradientTop);
}
header span {
  font-size: 3rem;
  position: absolute;
  bottom: 0;
  right: 10px;
  margin: 10px;
  font-weight: bold;
  font-family: "Cormorant Unicase", serif;
  color: var(--text);
}

nav {
  border: 2px solid var(--border);
  border-radius: 5px;
  padding: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
}
nav div {
  text-align: center;
  font-size: 1.25rem;
  margin: 5px 5px 10px 5px;
}
nav a {
  display: block;
  margin: 5px;
  background: linear-gradient(to right, var(--bg), var(--gradientBottom));
  border-radius: 5px;
  padding: 2px 7px;
  text-decoration: none;
}
nav a:link,
nav a:visited {
  color: var(--text);
}
nav a:hover,
nav a:focus {
  background: linear-gradient(
    to right,
    var(--bg),
    var(--gradientBottom),
    var(--gradientTop)
  );
}

/* optional button styling like in the preview */
div.small > img {
  display: block;
  margin: 5px auto;
  border: 2px ridge var(--border);
  border-radius: 5px;
}

section {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
  padding: 5px;
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 5px;
  line-height: 1.2;
}
h1 {
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-weight: normal;
  text-align: center;
  border-bottom: 2px ridge var(--border);
  padding-bottom: 5px;
  font-family: "Cormorant Unicase", serif;
  font-weight: 700;
}
h2 {
  font-size: 1.25rem;
  font-weight: normal;
  text-align: center;
  font-family: "Cormorant Unicase", serif;
  font-weight: 600;
}
h3 {
  font-size: 1.1rem;
}
h4 {
  font-size: 1rem;
  color: var(--accent);
  padding-left: 12px;
}

a:hover,
a:focus {
  font-style: italic;
}
a:visited {
  color: var(--accent);
}
.cormorant-unicase-light {
  font-family: "Cormorant Unicase", serif;
  font-weight: 300;
  font-style: normal;
}

.cormorant-unicase-regular {
  font-family: "Cormorant Unicase", serif;
  font-weight: 400;
  font-style: normal;
}

.cormorant-unicase-medium {
  font-family: "Cormorant Unicase", serif;
  font-weight: 500;
  font-style: normal;
}

.cormorant-unicase-semibold {
  font-family: "Cormorant Unicase", serif;
  font-weight: 600;
  font-style: normal;
}

.cormorant-unicase-bold {
  font-family: "Cormorant Unicase", serif;
  font-weight: 700;
  font-style: normal;
}

/* Center and make iframes responsive inside .half sections */
.half iframe {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 16 / 9;
  border: 0;
}
