@font-face {
  font-family:"JollyLodger";
  src:url('../fonts/JollyLodger.woff2') format('woff');
}

@font-face {
  font-family:"Spirax";
  src:url('../fonts/spirax.woff2') format('woff');
}

@font-face {
  font-family:"Eater";
  src:url('../fonts/Eater.woff2') format('woff');
}

@font-face {
  font-family:"Nosifer";
  src:url('../fonts/Nosifer.woff2') format('woff');
}

/* Variables
-------------------------------------------------- */
:root {
    --primary: #ff7504;
    --bs-primary-rgb: 255, 117, 4;
    --bs-primary-text-emphasis: #662f02;
    --bs-primary-bg-subtle: #ffe3cd;
    --bs-primary-border-subtle: #ffc89b;
    --bs-link-color: #ff7504;
    --bs-link-color-rgb: 255, 117, 4;
}

.table-primary {
  --bs-table-color: #000;
  --bs-table-bg: #ffe3cd;
  --bs-table-border-color: #ccb6a4;
  --bs-table-striped-bg: #f2d8c3;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #e6ccb9;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #ecd2be;
  --bs-table-hover-color: #000;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ff7504;
  --bs-btn-border-color: #ff7504;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff8a2a;
  --bs-btn-hover-border-color: #ff831d;
  --bs-btn-focus-shadow-rgb: 217, 99, 3;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ff9136;
  --bs-btn-active-border-color: #ff831d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ff7504;
  --bs-btn-disabled-border-color: #ff7504;
}

.btn-outline-primary {
  --bs-btn-color: #ff7504;
  --bs-btn-border-color: #ff7504;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff7504;
  --bs-btn-hover-border-color: #ff7504;
  --bs-btn-focus-shadow-rgb: 255, 117, 4;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ff7504;
  --bs-btn-active-border-color: #ff7504;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #ff7504;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ff7504;
  --bs-gradient: none;
}

:root,
.navbar {
    --bs-navbar-brand-font-size: 50px;
}

@media (min-width: 576px) {
    .navbar {
        --bs-navbar-brand-font-size: 70px;
    }
}


/* Bootstrap
-------------------------------------------------- */
.link-primary:hover, .link-primary:focus {
  color: rgba(var(--primary-rgb), var(--bs-link-opacity, 1)) !important;
  -webkit-text-decoration-color: rgba(var(--primary-rgb), var(--bs-link-underline-opacity, 1)) !important;
  text-decoration-color: rgba(var(--primary-rgb), var(--bs-link-underline-opacity, 1)) !important;
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #ffba82;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(225, 117, 4, 0.25);
}





.btn-primary {
    font-family: Nosifer;
    text-transform: uppercase;
    color: #ff7504;
    background-color: #212529;
    border-width: 3px;
    border-color: #ff7504;
    box-shadow: 0 0 0.25rem 0.25rem rgba(255, 117, 24, 0.5);
    -webkit-animation: hue 3s infinite linear;
}

/*.btn.btn-lg {*/
/*    padding: 1rem 3rem;*/
/*}*/

#edit-submit {
    white-space: pre-wrap;
}

.password-confirm-message {
    display: none;
}


*, html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

html, body,
.dialog-off-canvas-main-canvas, .gva-body-wrapper {
  height: 100%;
}

body{
  background: #131416;
}

.display-1 {
    font-size: calc(1.625rem + 4.5vw);
    font-weight: 300;
    line-height: 1.2;
    font-family: Nosifer;
    font-family: Eater;
    text-shadow: 1px 2px 3px #000000;
    color: #17bf17;
    /*text-shadow: 2px 2px 0px #ffffff;*/
}

.display-2 {
    font-size: calc(1rem + 4.5vw);
    font-weight: 300;
    line-height: 1.2;
    font-family: Nosifer;
    font-family: Eater;
    text-shadow: 1px 2px 3px #000000;
    color: #17bf17;
}

.page-node {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 1rem;
    margin: 1.5rem;
    box-shadow: 0 0 0.75rem 0.75rem rgba(255, 117, 24, 0.5);
    -webkit-animation:hue 3s infinite linear;
}

.leaderboard tr th:nth-child(2),
.leaderboard tr td:nth-child(2) {
  text-align: left;
}

.leaderboard tr td:nth-child(2) {
  color: #ff7504;
  font-family: JollyLodger;
  font-size: 1.75rem;
  max-width: 8ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.leaderboard > :not(caption) > * > * {
    vertical-align: middle;
}

.trivia-answer-form input[name="answer"] {
    margin-bottom: 10px;
}


#block-genius-ghostlyghoulscopyright .site-title {
    font-family: JollyLodger;
    font-size: 1.5rem;
}

.page-node .rules li {
    margin-bottom: 1rem;
}


/* General
-------------------------------------------------- */
.wrap {
    overflow: hidden;
}

.placeholder {
    display: initial;
    min-height: initial;
    vertical-align: initial;
    cursor: initial;
    background-color: initial;
    opacity: initial;
}

/* Container - needs a better class structure
-------------------------------------------------- */
.navbar-top .container-fluid,
.navbar > .container-fluid,
.inner > .container-fluid {
    --bs-gutter-x: 2rem;
    max-width: 1800px;
}

@media (min-width: 1200px) {
    .navbar-top .container-fluid,
    .navbar > .container-fluid,
    .inner > .container-fluid {
        --bs-gutter-x: 5rem;
    }
}


#page-orange {
    background: #ff7504;
    font-family: JollyLodger;
    color: white;
    font-size: 2.75rem;
}

#page-purple {
    background: #491871;
    color: #fff;
}

.messages__wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
}

.messages {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

:nth-child(2 of .messages) {
  display: none;
}


/* ScrollWatcher
-------------------------------------------------- */
#scrollWatcher {
    position: absolute;
    top: 1px;
}

/* Pre-loader
-------------------------------------------------- */
.preloader {
    --thm-line: linear-gradient(45deg, #ffaa01, #FE552A);
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
}


/* Navbar
-------------------------------------------------- */
#page-header .navbar {
    --bs-navbar-color: rgba(255, 255, 255, 0.85);
    background-image: url('../img/header-bg.png');
    background-position: right top;
    background-repeat: no-repeat;
}

/* Navbar
-------------------------------------------------- */
#page-footer .nav {
    --bs-nav-link-color: rgba(255, 255, 255, 0.85);
    --bs-nav-link-hover-color: rgba(255, 255, 255, 0.75);
}


/* Branding
-------------------------------------------------- */
a.navbar-brand {
    font-family: JollyLodger;
    color:#ed2939;
    background-image:-webkit-linear-gradient(92deg,#ed2939,#feab3a);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    -webkit-animation:hue 3s infinite linear
}
@-webkit-keyframes hue {
    0% {
        -webkit-filter:hue-rotate(0deg)
    }
    to {
        -webkit-filter:hue-rotate(-360deg)
    }
}


/* Menu toggler
-------------------------------------------------- */
.menu-bar {
    --bs-navbar-toggler-focus-width: 0;
    height: 32px;
    width: 36px;
    position: relative;
    border: 0;
}

.menu-bar span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
}

.menu-bar.collapsed span.one {
    top: 6px;
}

.menu-bar.collapsed span.two {
    top: 0;
    bottom: 0;
}

.menu-bar.collapsed span.three {
    bottom: 6px;
}

.menu-bar:not(.collapsed) span.two {
    opacity: 0;
    filter: alpha(opacity=0);
}

.menu-bar:not(.collapsed) span.one,.menu-bar.show-view span.three {
    top: 2px;
    bottom: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-bar:not(.collapsed) span.three {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


/* Timer
-------------------------------------------------- */
.countdown-container {
    background: #ff7504;
    font-family: JollyLodger;
    color: white;
    font-size: 2.75rem;
}

#countdown {
    color: #343a40;
}

/* Spider
-------------------------------------------------- */
.box-canvas{
  position: relative;
  margin: auto;
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 350px;
   height:350px; 
}

.box-canvas .inner {
  margin: 100px;
  position: absolute;
  height: 100px;
  width: 150px;
}

.circle {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 4px 0 0 white;
}

.circle:nth-child(1) {
  bottom: 0;
  transform: rotate(-45deg);
}

.circle:nth-child(2) {
  bottom: -25px;
  left: 50px;
  transform: rotate(-90deg);
}

.circle:nth-child(3) {
  bottom: 0;
  left: 100px;
  transform: rotate(-135deg);
}

.circle:nth-child(4) {
  top: -8px;
  transform: rotate(45deg);
}

.circle:nth-child(5) {
  top: -33px;
  left: 50px;
  transform: rotate(90deg);
}

.circle:nth-child(6) {
  top: -8px;
  left: 100px;
  transform: rotate(135deg);
}

.circle::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 4px 0 0 white;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.circle:nth-child(1)::before {
  top: calc(50% - 20px);
}

.circle:nth-child(3)::before {
  top: calc(50% + 20px);
}

.circle:nth-child(4)::before {
  top: calc(50% + 20px);
}

.circle:nth-child(6)::before {
  top: calc(50% - 20px);
}

.line {
  position: absolute;
  width: 340px;
  height: 3px;
  background: white;
 
}

.line:nth-child(2) {
  transform: rotate(59deg);
  transform-origin: top left;
  left: 90px;
}

.line:nth-child(3) {
  transform: rotate(-59deg);
  transform-origin: top right;
  left: -80px;
}

.line:nth-child(4) {
 top: 145px;
}

.spider {
  --spider-color: #40434F;

  position: absolute;
  width: 75px;
  height: 175px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center top;
  top: 148px;
  animation: swing 1s infinite ease-in-out;
  animation-direction: alternate-reverse;
}

@keyframes swing {
  0% {
    transform: translateX(-50%) rotate(25deg);
  }
  
  100% {
    transform: translateX(-50%) rotate(-25deg);
  }
}

.spider::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: white;
}

.body {
  position: absolute;
  width: 30px;
  height: 40px;
  border-radius: 50% 50% 40% 40%;
  background: var(--spider-color);
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
}

.body::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: black;
  border-radius: 50%;
  border: 3px solid white;
  bottom: 6px;
  left: 3px;
}


.body::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  background: black;
  border-radius: 50%;
  border: 3px solid white;
  bottom: 6px;
  right: 3px;
}

.leg {
  position: absolute;
  top: 10px;
  width: 30px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 -3px 0 var(--spider-color);
}

.leg.left {
   left: -25px;
}

.leg.right {
  right: -25px;
}

.leg::before {
  content: '';
  position: absolute;
  top: 10px;
  width: 30px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 -3px 0 var(--spider-color);
}


.leg::after {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 -3px 0 var(--spider-color);
}

.leg.left::after {
  left: 8px;
}

.leg.right::after {
  right: 8px;
}

/* Hero
-------------------------------------------------- */
.hero {
    display: flex;
    align-items: center;
    background-image: url('../img/hero-bg.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    aspect-ratio: 16 / 9;
    aspect-ratio: 5 / 1;
}

/* Web button
-------------------------------------------------- */
.btn-web {
font-size: 16px;
    border-radius: 3em;
    background-image: url(../img/btn-bg.png);
    background-color: #ffffff;
    text-transform: uppercase;
    padding: 15px 32px;
    margin-top: 1rem;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    color: #d3272a;
    font-family: Nosifer;
    background-size: cover;
    border: solid 3px #d3272a;
}

.btn-web:hover {
    color: #fff;
    background-color: #685f5f;
    border-color: #fff;
}