:root {
  --bodyw: calc(92.5vw - 30px);
  --rsch-wrap: wrap;
  --rsch-detail-pad: 10px;
  --rsch-img-height: calc(var(--bodyw) * 0.22);
  --rsch-img-width: unset;

  --accent-shaded: #4e649e;
  --accentlight: #537998;
  --shadowlight: 0px 0px 4px var(--accentlight);
  --buttonshadowsz: 0px 4px 0px 0px;
  --buttonshadowbigsz: 0px 5px 0px;
  --dropshadow: 3px 3px 15px #23232348;
  --buttontransform: translate(0px, 1.5px);
  --notwhite: #f5f5f5;
  --notwhite-shaded: #aea9a3;
  --fore: #363636;
  --bordrad: 14px;
}

body {
  font-family: "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--fore);
}

.light {
  font-weight: 400
}

header>h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: normal;
  color: #475665;
  font-size: 1rem;
}

h1 {
  font-weight: 700;
  /* line-height: 3.76rem; */
  margin-bottom: 0;
  /* font-size: calc(min(2.125rem, 8vw)); */
}

.hidden {
  display: none
}

header,
main {
  width: var(--bodyw);
  margin-left: auto;
  margin-right: auto;
}


.nicebox {
  border-radius: var(--bordrad);
  box-shadow: var(--buttonshadowsz) var(--nicebox-col-shade), var(--dropshadow);
  background-color: var(--nicebox-col-bg);
}

.niceboxpad {
  padding: 0.2em 1em;
}



.intro {
  /* margin-left: 3%;
  margin-right: 3%; */
  margin-top: 10px;
  --nicebox-col-bg: var(--notwhite);
  --nicebox-col-shade: var(--notwhite-shaded);
}



.p-title {
  padding-right: 10pt;
}

/* .hi-flex {
    display: flex;
    flex-direction: column;
} */
header>* {
  margin-right: 10px;
  /* width: calc(min(20rem, 55vw)); */
  /* white-space: nowrap; */
}

.marquee {
  /* max-width: calc(min(50vw, 20rem)); */
  max-width: calc(min(var(--bodyw), 20rem));
  overflow-x: hidden;
  white-space: nowrap;
  background-color: aliceblue;
  border: 1px solid black;
  border-radius: 6px;
  padding: 2px;
  margin-top: 8px;
  /* font-size: calc(min(1rem, 2.7vw)); */
  font-size: 0.8rem;
}


@keyframes fake-marquee {
  from {
    padding-left: 100%;
    transform: translateX(0);
  }

  to {
    padding-left: 100%;
    transform: translateX(-100%);
  }
}

@keyframes fake-marquee-buffer {
  from {
    padding-left: 0%;
    transform: translateX(0%);
  }

  to {
    padding-left: 0%;
    transform: translateX(-100%);
  }
}


.marquee-inner {
  display: inline-block;
  --start-delay: 280s;
  --loop-time: 100s;
  --anim:
    fake-marquee-buffer var(--loop-time) linear var(--start-delay),
    fake-marquee calc(1.2 * var(--loop-time)) linear calc(var(--loop-time) + var(--start-delay)) infinite;
  animation: var(--anim);
  width: min-content;
  overflow-x: hidden;
  display: flex;
  gap: calc(0.52 * min(var(--bodyw), 20rem));
}


.nav-menu-flex {
  display: inline-flex;
}

.rsch-item {
  display: flex;
  flex-direction: row;
  flex-wrap: var(--rsch-wrap);
  align-items: stretch;
  justify-content: left;
  background-color: aliceblue;
  border-radius: var(--bordrad);
  /* border: 1px solid black; */
  /* padding: 6px; */
  margin-bottom: 12px;
  /* max-height: calc(var(--bodyw) * 0.3); */
  --nicebox-col-bg: #f5f9ff;
  --nicebox-col-shade: #9daab4;
  overflow-x: hidden;
  font-size: 1em;
}

.rsch-item-details {
  display: flex;
  flex-direction: column;
  padding: var(--rsch-detail-pad);
  flex: 1 1 78%;

  >h4,
  >h5 {
    margin-top: 0;
    margin-bottom: 0;
  }

  >h5 {
    font-weight: normal;
  }
}

.rsch-item-imgbox {
  /* width: calc(min(35%, 40vw));
    height: calc(min(35%, 40vw)); */
  /* width: calc(max(25%, 18vw)); */
  /* height: calc(max(25%, 12vh));*/
  /* width: 18%; */
  flex: 1 0 18%;
  text-align: center;
  background-color: white;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 6px;

  >img {

    height: var(--rsch-img-height);
    width: var(--rsch-img-width);
  }
}

.rsch-item-venue {
  font-style: italic;
}

.rsch-item-buttons {
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-content: left;
}

/* from autocomposer */
.button-shadow {
  box-shadow: 1px 6px 10px -8px rgba(0, 0, 0, 0.73);
  -webkit-box-shadow: 1px 6px 10px -8px rgba(0, 0, 0, 0.73);
  -moz-box-shadow: 1px 6px 10px -8px rgba(0, 0, 0, 0.73);
  transition: box-shadow 0.1s
}

.button-shadow:hover {
  box-shadow: 1px 6px 20px -8px rgba(0, 0, 0, 0.73);
  -webkit-box-shadow: 1px 6px 20px -8px rgba(0, 0, 0, 0.73);
  -moz-box-shadow: 1px 6px 20px -8px rgba(0, 0, 0, 0.73);
}

a {
  color: var(--accent-shaded);
  text-decoration-thickness: 1.4px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accentlight);
}

.toggle-button {
  text-decoration: none;
  cursor: pointer;
  color: var(--fore);
  background-color: #f6faff;
  font-family: 'Source Sans Pro', sans-serif;
  /* font-size: calc(min(12pt, 3vw)); */
  font-size: 1em;
  display: block;
  border-radius: var(--bordrad);
  padding: 5px 13px;
  /* max-height: 32px; */
  /* min-height: 32px; */
  /* width: 100%; */
  /* margin-left: auto;
  margin-right: auto; */
  text-align: center;
  /* background-color: rgb(245, 245, 255); */

  /* border: 1px solid slategrey; */
  /* transition: background-color 0.1s, box-shadow 0.1s, transform 0.08s; */
  box-shadow: var(--buttonshadowsz) var(--notwhite-shaded), var(--dropshadow);
  flex: none;
}

.toggle-button:hover {
  box-shadow: var(--shadowlight), var(--dropshadow);
  transform: var(--buttontransform);
  background-color: rgb(245, 245, 250);
}

/* 
.toggle-button:hover {
  background-color: rgb(190, 242, 255);

}

.toggle-button:active {
  transform: scale(0.95);
} */





@media (min-width: 240px) {
  :root {
    --bodyw: calc(92.5vw - 30px);
    --bodypad: 20px;
  }

  h1 {
    font-size: 1.6rem;
  }
}

@media (min-width: 320px) {
  :root {
    --bodyw: calc(92.5vw - 30px);
    --bodypad: 20px;
  }

  h1 {
    font-size: 2.0rem;
  }
}

@media (min-width: 640px) {
  :root {
    --sec-flex-basis: 40%;
    --rsch-wrap: nowrap;
    --rsch-detail-pad: 9px;
    --rsch-img-height: auto;
    --rsch-img-width: calc(var(--bodyw) * 0.2);
  }

  .bigsec {
    >h3 {
      margin-top: 0.1em;
    }
  }
}

@media (min-width: 640px) {
  :root {
    --bodyw: calc(70vw + 80px - 30px);
    --bodypad: 25px;
  }

  h1 {
    font-size: 2.3rem;
  }
}

@media (min-width: 900px) {
  :root {
    --bodyw: calc(47.5vw + 190px - 30px);
    --bodypad: 30px
  }

  h1 {
    font-size: 2.7rem;
  }
}

@media (min-width: 1281px) {
  :root {
    --bodyw: calc(40vw + 280px - 30px);
    --bodypad: 35px
  }

  h1 {
    font-size: 2.9rem;
  }
}