/* heading text */
@font-face {
  font-family: 'laviossamedium';
  src: url("/static/fnt/laviossa-medium-webfont.6ec352588d74.woff2") format('woff2'),
  url("/static/fnt/laviossa-medium-webfont.747309233a99.woff") format('woff');
  font-weight: normal;
  font-style: normal;
}

/* regular text*/
@font-face {
  font-family: 'negara_serifhairline_italic';
  src: url("/static/fnt/negaraserif-hairlineitalic-webfont.8420ce276a87.woff2") format('woff2'),
  url("/static/fnt/negaraserif-hairlineitalic-webfont.9a26b6b758d8.woff") format('woff');
  font-weight: normal;
  font-style: normal;
}

/* funky stuff  */
@font-face {
  font-family: 'adolphus_serifregular';
  src: url("/static/fnt/adolphus_serif-webfont.c5053d4a6ccc.woff2") format('woff2'),
  url("/static/fnt/adolphus_serif-webfont.e10967c45b5a.woff") format('woff');
  font-weight: normal;
  font-style: normal;
}


*,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-family: "negara_serifhairline_italic", "Segoe UI", system-ui, Roboto, Arial, serif, Apple Color Emoji, "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  min-height: 100vh;
  width: 80vw;
  /*max-width: 1080px;*/
  margin: 10px auto;
  padding: 5px 10px;
  /*display: flex;*/
  display: grid;
  grid-template-rows: auto 1fr auto;

  color: palegoldenrod;

  background-image: url("/static/img/orgsiteBG.blue.604fa6b76cac.svg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}


a {
  /*color: currentColor;*/
  /*color: #000065;*/
  /*color: rebeccapurple;;*/
  color: beige;
}
a:hover {
  color: aliceblue;
}


footer {
  clear: both;
  position: relative;
  line-height: 75%;
  min-height: 20px;
  border-top: 2px dotted;
  text-align: center;
  font-style: italic;
}

header {
  min-height: 50px;
  border-bottom: 2px dotted;
}

.template-homepage main {
  text-align: center;
}

.skip-link {
  position: absolute;
  top: -30px;
}

.skip-link:focus-visible {
  top: 5px;
}

.block-srcset_image img {
  max-width: 100%;
  height: auto;
}

h1 {
  font-family: "adolphus_serifregular", serif;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  /*100% { transform: translateX(calc(-200px * 5))}*/
  100% { transform: translateX(-100%)}
}

.carousel {
  margin: 0 auto;
  padding: 20px 0;
  max-width: 70vw;
  overflow: hidden;
  display: flex;
  &:hover .group {
    animation-play-state: paused;
  }
}

.group {
  display: flex;
  gap: 20px;
  /* Add padding to the right to create a gap between the last and first card. */
  padding-right: 20px;
  animation: scroll 30s linear infinite;
}

.card {
  min-width: 185px;
  width: fit-content;
  color: antiquewhite;
  border-radius: 24px;
  box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
  padding: 5px;
  font-size: large;
  justify-content: center;
  text-align: center;
  align-items: center;
  min-height: 100%;

  &:nth-child(even) {
    background: #5989ff30;
  }
  &:nth-child(odd) {
    background: #2046ad50;
  }
}

.views {
    font-size: x-small;
}

