/* Seizoensthema's. Kleuren komen van de klasse op de body. */

body.hv-thema-kerst {
  --hv-btn: #1F6B45;
  --hv-btn-hover: #185438;
  --hv-accent: #A6843E;
  --hv-lint: #143D2C;
  --hv-lint-inkt: #F6E7C1;
  --hv-hero: rgba(12, 52, 34, 0.42);
  --bs-primary: #1F6B45;
  --bs-primary-rgb: 31, 107, 69;
  --bs-primary-light: #d5ebdf;
}

body.hv-thema-oudnieuw {
  --hv-btn: #1C1C1C;
  --hv-btn-hover: #000000;
  --hv-accent: #C4A35A;
  --hv-lint: #111111;
  --hv-lint-inkt: #F3D48A;
  --hv-hero: rgba(0, 0, 0, 0.4);
  --bs-primary: #1C1C1C;
  --bs-primary-rgb: 28, 28, 28;
  --bs-primary-light: #ece7dc;
}

body.hv-thema-winter {
  --hv-btn: #2F5164;
  --hv-btn-hover: #243F4E;
  --hv-accent: #3E6278;
  --hv-lint: #E5F0F6;
  --hv-lint-inkt: #1C3E52;
  --hv-hero: rgba(36, 72, 98, 0.34);
  --bs-primary: #2F5164;
  --bs-primary-rgb: 47, 81, 100;
  --bs-primary-light: #d5e4ee;
}

body.hv-thema-zomer {
  --hv-btn: #0E6A74;
  --hv-btn-hover: #0B555C;
  --hv-accent: #C4842A;
  --hv-lint: #F6E6C4;
  --hv-lint-inkt: #0E4E55;
  --hv-hero: rgba(176, 112, 28, 0.24);
  --bs-primary: #0E6A74;
  --bs-primary-rgb: 14, 106, 116;
  --bs-primary-light: #d3ecee;
}

body.hv-thema-carnaval {
  --hv-btn: #9A1832;
  --hv-btn-hover: #7C1228;
  --hv-accent: #C8102E;
  --hv-lint: #8E1530;
  --hv-lint-inkt: #ffffff;
  --hv-hero: rgba(120, 18, 40, 0.26);
  --bs-primary: #9A1832;
  --bs-primary-rgb: 154, 24, 50;
  --bs-primary-light: #f8d5dd;
}

body.hv-thema-pasen {
  --hv-btn: #4E6438;
  --hv-btn-hover: #3E512C;
  --hv-accent: #6B8F4E;
  --hv-lint: #F7F1E4;
  --hv-lint-inkt: #4A5C32;
  --hv-hero: rgba(92, 115, 58, 0.22);
  --bs-primary: #4E6438;
  --bs-primary-rgb: 78, 100, 56;
  --bs-primary-light: #e5edd8;
}

body.hv-thema-sinterklaas {
  --hv-btn: #8E1C28;
  --hv-btn-hover: #721622;
  --hv-accent: #C4A35A;
  --hv-lint: #7A1A24;
  --hv-lint-inkt: #F8E7C2;
  --hv-hero: rgba(90, 16, 24, 0.34);
  --bs-primary: #8E1C28;
  --bs-primary-rgb: 142, 28, 40;
  --bs-primary-light: #f6d5d8;
}

body.hv-thema #header {
  overflow: visible;
}

body.hv-thema .hv-thema-lint {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  min-height: 52px;
  padding: 6px 16px;
  background: var(--hv-lint);
  color: var(--hv-lint-inkt);
  box-shadow: inset 0 -3px 0 var(--hv-accent);
}

body.hv-thema .hv-thema-lint-tekst {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.hv-thema .hv-thema-figuur {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.hv-thema .hv-thema-figuur svg {
  width: 40px;
  height: 40px;
  display: block;
}

@media (max-width: 575px) {
  body.hv-thema .hv-thema-lint {
    gap: 8px;
    min-height: 44px;
    letter-spacing: 0.08em;
    padding-left: 10px;
    padding-right: 10px;
  }
  body.hv-thema .hv-thema-figuur,
  body.hv-thema .hv-thema-figuur svg {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 768px) {
  body.hv-thema .hv-thema-lint {
    font-size: 13px;
    letter-spacing: 0.16em;
  }
}

body.hv-thema-carnaval .hv-thema-lint {
  box-shadow: none;
  background:
    linear-gradient(#8E1530, #8E1530) top / 100% calc(100% - 6px) no-repeat,
    linear-gradient(90deg, #1F8A3B 0 33.33%, #F2D307 33.33% 66.66%, #D0122D 66.66% 100%) bottom / 100% 6px no-repeat;
  color: #fff;
}

body.hv-thema-pasen .hv-thema-lint {
  box-shadow: none;
  background-color: #F7F1E4;
  background-image:
    radial-gradient(circle at 8px 100%, #E7A8BE 2.2px, transparent 2.6px),
    radial-gradient(circle at 20px 100%, #E3C15A 2.2px, transparent 2.6px),
    radial-gradient(circle at 32px 100%, #8EAE78 2.2px, transparent 2.6px);
  background-size: 40px 14px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

body.hv-thema #header #brandHeader {
  --bs-primary: #9B7C64;
  --bs-primary-rgb: 155, 124, 100;
  background-color: #9B7C64 !important;
  box-shadow: none;
  z-index: 6 !important;
}

body.hv-thema #topBlackBar {
  box-shadow: inset 0 -2px 0 var(--hv-accent);
}

body.hv-thema #footer {
  box-shadow: inset 0 4px 0 var(--hv-btn);
}

body.hv-thema #title.image-wrapper,
body.hv-thema #hero .image-wrapper.bg-image {
  box-shadow: inset 0 0 180px 48px var(--hv-hero);
}

body.hv-thema .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--hv-btn);
  --bs-btn-border-color: var(--hv-btn);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--hv-btn-hover);
  --bs-btn-hover-border-color: var(--hv-btn-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--hv-btn-hover);
  --bs-btn-active-border-color: var(--hv-btn-hover);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--hv-btn);
  --bs-btn-disabled-border-color: var(--hv-btn);
}

body.hv-thema .btn-outline-primary {
  --bs-btn-color: var(--hv-btn);
  --bs-btn-border-color: var(--hv-btn);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--hv-btn);
  --bs-btn-hover-border-color: var(--hv-btn);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--hv-btn);
  --bs-btn-active-border-color: var(--hv-btn);
  --bs-btn-disabled-color: var(--hv-btn);
}

body.hv-thema #header .nav-link:hover,
body.hv-thema #header .nav-link:focus,
body.hv-thema #header .nav-link.active,
body.hv-thema #header .dropdown-item:hover,
body.hv-thema #header .dropdown-item:focus,
body.hv-thema #header .dropdown-item.active {
  color: var(--hv-accent) !important;
}

.hv-sfeer,
.hv-sfeer i {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 20;
}

.hv-sfeer i {
  position: absolute;
}

@keyframes hv-val {
  from { transform: translate3d(0, -12vh, 0); }
  to { transform: translate3d(0, 112vh, 0); }
}

@keyframes hv-draai {
  from { transform: translate3d(0, -16vh, 0) rotate(0deg); }
  to { transform: translate3d(0, 114vh, 0) rotate(260deg); }
}

@keyframes hv-twinkel {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.95; }
}

body.hv-thema-home.hv-thema-kerst .hv-sfeer::before,
body.hv-thema-home.hv-thema-kerst .hv-sfeer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    7vw 6vh 0 0 rgba(255, 255, 255, 0.75),
    16vw 28vh 0 1px rgba(255, 255, 255, 0.45),
    27vw 12vh 0 0 rgba(255, 255, 255, 0.8),
    38vw 40vh 0 0 rgba(255, 255, 255, 0.4),
    49vw 18vh 0 1px rgba(255, 255, 255, 0.7),
    61vw 34vh 0 0 rgba(255, 255, 255, 0.55),
    73vw 8vh 0 0 rgba(255, 255, 255, 0.85),
    84vw 46vh 0 1px rgba(255, 255, 255, 0.4),
    93vw 22vh 0 0 rgba(255, 255, 255, 0.7);
  animation: hv-val 24s linear infinite;
}

body.hv-thema-home.hv-thema-kerst .hv-sfeer::after {
  width: 4px;
  height: 4px;
  opacity: 0.75;
  animation-duration: 32s;
  animation-delay: -11s;
  box-shadow:
    4vw 20vh 0 0 rgba(255, 255, 255, 0.6),
    12vw 48vh 0 0 rgba(255, 255, 255, 0.35),
    22vw 8vh 0 0 rgba(255, 255, 255, 0.7),
    33vw 36vh 0 0 rgba(255, 255, 255, 0.45),
    46vw 14vh 0 0 rgba(255, 255, 255, 0.55),
    58vw 52vh 0 0 rgba(255, 255, 255, 0.35),
    69vw 24vh 0 0 rgba(255, 255, 255, 0.7),
    80vw 10vh 0 0 rgba(255, 255, 255, 0.4),
    90vw 42vh 0 0 rgba(255, 255, 255, 0.65);
}

body.hv-thema-home.hv-thema-oudnieuw .hv-sfeer::before,
body.hv-thema-home.hv-thema-oudnieuw .hv-sfeer::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #F3D48A;
  box-shadow:
    5vw 16vh 0 0 #F3D48A,
    9vw 74vh 0 1px #F8E7B8,
    18vw 90vh 0 0 #F3D48A,
    91vw 12vh 0 0 #F3D48A,
    86vw 68vh 0 1px #F8E7B8,
    78vw 88vh 0 0 #fff6d8,
    96vw 38vh 0 0 #F3D48A,
    48vw 7vh 0 1px #F8E7B8;
  animation: hv-twinkel 3.4s ease-in-out infinite;
}

body.hv-thema-home.hv-thema-oudnieuw .hv-sfeer::after {
  animation-delay: -1.6s;
  box-shadow:
    14vw 30vh 0 0 #F8E7B8,
    3vw 58vh 0 1px #F3D48A,
    72vw 18vh 0 0 #fff6d8,
    94vw 82vh 0 0 #F3D48A,
    28vw 8vh 0 1px #F3D48A,
    82vw 46vh 0 0 #F8E7B8;
}

body.hv-thema-home.hv-thema-carnaval .hv-sfeer::before,
body.hv-thema-home.hv-thema-carnaval .hv-sfeer::after,
body.hv-thema-home.hv-thema-carnaval .hv-sfeer i::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 9px;
  border-radius: 1px;
  background: #1F8A3B;
  box-shadow:
    8vw 10vh 0 0 #1F8A3B,
    24vw 36vh 0 0 #1F8A3B,
    41vw 6vh 0 0 #1F8A3B,
    63vw 28vh 0 0 #1F8A3B,
    79vw 48vh 0 0 #1F8A3B,
    92vw 16vh 0 0 #1F8A3B;
  animation: hv-draai 18s linear infinite;
}

body.hv-thema-home.hv-thema-carnaval .hv-sfeer::after {
  background: #F2D307;
  width: 6px;
  height: 6px;
  animation-duration: 22s;
  animation-delay: -6s;
  box-shadow:
    15vw 22vh 0 0 #F2D307,
    33vw 8vh 0 0 #F2D307,
    52vw 40vh 0 0 #F2D307,
    70vw 14vh 0 0 #F2D307,
    88vw 32vh 0 0 #F2D307;
}

body.hv-thema-home.hv-thema-carnaval .hv-sfeer i::before {
  background: #D0122D;
  animation-duration: 26s;
  animation-delay: -12s;
  box-shadow:
    6vw 44vh 0 0 #D0122D,
    28vw 18vh 0 0 #D0122D,
    47vw 30vh 0 0 #D0122D,
    66vw 8vh 0 0 #D0122D,
    84vw 26vh 0 0 #D0122D,
    95vw 50vh 0 0 #D0122D;
}

body.hv-thema-home.hv-thema-sinterklaas .hv-sfeer::before,
body.hv-thema-home.hv-thema-sinterklaas .hv-sfeer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 1px;
  background: #B4232A;
  box-shadow:
    10vw 12vh 0 0 #B4232A,
    28vw 30vh 0 0 #B4232A,
    46vw 8vh 0 0 #B4232A,
    64vw 24vh 0 0 #B4232A,
    82vw 40vh 0 0 #B4232A,
    94vw 16vh 0 0 #B4232A;
  animation: hv-val 28s linear infinite;
}

body.hv-thema-home.hv-thema-sinterklaas .hv-sfeer::after {
  width: 7px;
  height: 7px;
  background: #E0B44A;
  animation-duration: 34s;
  animation-delay: -12s;
  box-shadow:
    6vw 36vh 0 0 #E0B44A,
    22vw 14vh 0 0 #E0B44A,
    40vw 42vh 0 0 #E0B44A,
    58vw 10vh 0 0 #E0B44A,
    76vw 28vh 0 0 #E0B44A,
    90vw 48vh 0 0 #E0B44A;
}

body.hv-thema-home.hv-thema-pasen .hv-sfeer::before,
body.hv-thema-home.hv-thema-pasen .hv-sfeer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 11px;
  border-radius: 50%;
  background: rgba(231, 168, 190, 0.85);
  box-shadow:
    12vw 18vh 0 0 rgba(231, 168, 190, 0.8),
    30vw 40vh 0 0 rgba(231, 168, 190, 0.7),
    48vw 12vh 0 0 rgba(231, 168, 190, 0.85),
    66vw 32vh 0 0 rgba(231, 168, 190, 0.65),
    84vw 20vh 0 0 rgba(231, 168, 190, 0.8);
  animation: hv-val 30s linear infinite;
}

body.hv-thema-home.hv-thema-pasen .hv-sfeer::after {
  width: 7px;
  height: 10px;
  background: rgba(227, 193, 90, 0.9);
  animation-duration: 36s;
  animation-delay: -14s;
  box-shadow:
    8vw 28vh 0 0 rgba(142, 174, 120, 0.85),
    24vw 8vh 0 0 rgba(227, 193, 90, 0.9),
    52vw 36vh 0 0 rgba(142, 174, 120, 0.8),
    74vw 14vh 0 0 rgba(227, 193, 90, 0.85),
    92vw 30vh 0 0 rgba(231, 168, 190, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .hv-sfeer,
  .hv-sfeer::before,
  .hv-sfeer::after,
  .hv-sfeer i::before {
    animation: none !important;
    display: none;
  }
}
