html {
  font-family: "Lato", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.card-image {
  width:100%; height:auto; aspect-ratio: 600/765; object-fit: fill;
  border-radius: 0px;
  border: 1px solid #000;
}

.border {
  border-radius: 6px;
  border: 1px solid gray;
}

.button {
  padding: 12px;
  border: 1px solid gray;
  display: inline-block;
  vertical-align:top;
  background-color: #111;
  color: #ffffff;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
}

.button:hover {
  background-color: #77777777;
}

.text-input {
  padding: 9px;
  border: 1px solid gray;
  margin: 0px 10px 0 0;
  font-size: 1.1em;
  background-color: #ddd;
}

#sp-form, #pc-form {
  padding: 10px 0;
}

.card-text {
  position: absolute;
  bottom: 30%;
  width: 100%;
  background-color: rgba(86, 10, 20, 0.90);
  font-size: 1.2em;
  text-align: center;
  padding: 10px 1px;
  color: white;
}

.flex-container {
  display: flex;
  margin: 0 auto;
  max-width: 1160px;
}

.title {
  margin:0;
  padding-top:20px;
  font-size: 1.9em;
  font-weight: 400;
}

.subtitle {
  font-size: 1.3em;
  font-weight: 300; 
  padding: 0;
  margin:0;
}

.content-title {
  margin: 0 auto;
  max-width: 1160px;
  padding: 10px 20px 0 20px;
}

@media (max-width: 600px) {
  .flex-container {
    flex-direction: column;
  }
}

.gallery {
  max-width: 265px;
  padding: 10px;
}

@media (max-width: 600px) {
  .gallery {
    width: 95%;
    max-width: 580px;
    padding: 10px;
  }
}
@media (max-width: 800px) {
  .hidden-small {
    display: none;
  }
}

@media (max-width: 500px) {
  .hidden-xs {
    display: none;
  }
}

.navigation {
  text-align: right;
  padding-right: 20px; 
  margin-top:-24px; 
  font-size: 1.2em;
}

.card {
  margin: 10px;
  flex: 1 1 auto;
  position:relative;
}

.center {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.pointer {
  cursor: pointer;
}

h3 {
  font-size: 2em;
  font-weight: 400;
  padding-top: 10px;
  padding-left: 15px;
}

h4 {
  font-size: 1.7em;
  font-weight: 400;
  margin-bottom: 10px;
}

ul {
  text-align: left;
  color: white;
}

.logo {
  padding: 5px;
  width: 100px;
  height: 100px;
}

header .logo {
  float: left;
}

header {
  min-height: 110px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-image {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

table {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  color: white;
}

td,
th {
  border: 1px solid #222;
  padding: 8px;
  min-width: 160px;
  text-align: left;
  font-size: 1em;
}

tr:nth-child(even) {
  background-color: #222;
  color: white;
}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: rgb(14, 139, 91);
  color: white;
}

@media (prefers-color-scheme: dark) {
  /* Dark theme styles go here */
  .primary-content {
    background-color: #1a1818;
    padding: 10px 10px;
  }

  body {
    color: white;
    background-color: #1a1818;
  }
  .header {
    background-color: #1a1818;
    color: white;
  }

  h1, h2, h3, h4, ul, .copy {
    color: white;
  }

  .header-divider {
    background-color: #111;
  }

  a {
    color: #FFFFFF;
    text-decoration: none;
  }

  tr:nth-child(even) {
    background-color: #222;
    color: white;
  }

  tr:nth-child(odd) {
    background-color: #333;
    color: white;
  }

  .navigation a {
    color: white;
  }
}

@media (prefers-color-scheme: light) {
  /* Light theme styles go here */
  .primary-content {
    background-color: #FAF9F6;
    padding: 10px 10px;
  }

  body {
    color: black;
    background-color: #FAF9F6;
  }

  .header {
    background-color: #FAF9F6;
  }

  h1, h2, h3, h4, ul, .copy {
    color: black;
  }

  .header-divider {
    background-color: #222;
  }

  a {
    color: rgb(86, 10, 20, 1);
    text-decoration: none;
  }

  .button {
    background-color: #fff;
    color: black;
  }

  .text-input {
    background-color: #fff;
  }

  tr:nth-child(even) {
    background-color: #eee;
    color: black;
  }

  tr:nth-child(odd) {
    background-color: #aaa;
    color: black;
  }

  .navigation a {
    color: black;
  }
}

@media (max-width: 800px) {
  .navigation {
    font-size: 1.1em;
    margin-top:25px;
    text-align:center;
  }

  .logo {
    padding: 5px;
    width: 90px;
    height: 90px;
  }

  .header-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

  header {
    min-height: 142px;
  }

  .title {
    margin:0;
    padding-top:18px;
    font-size: 1.8em;
    font-weight: 400;
  }

  .subtitle {
    font-size: 1.3em;
    font-weight: 300; 
    padding: 0;
    margin:0;
  }

  .card-text {
    bottom: 50%;
  }
}