html {
  scroll-behavior: smooth;
}

body.modal-open .modalpad {
  overflow: hidden;
  width: calc(100% + var(--bs-scrollbar-width, 16px)) !important;
  margin-right: calc(-1 * var(--bs-scrollbar-width, 16px));
  padding-right: var(--bs-scrollbar-width, 16px);
  box-sizing: border-box;
}

body.modal-open .full-width-image {
  width: calc(100% + var(--bs-scrollbar-width, 16px));
  max-width: calc(100% + var(--bs-scrollbar-width, 16px));
  height: auto;
}

.modal-open .modal {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Forces the background on the jotform to not be white when using Bootstrap's Dark theme */

iframe[src*="jotform.com"] {
  color-scheme: normal !important;
}

body {
  margin: 0;
  font-family: 'Alice';
  color: #fff;
  text-align: left;
  background-color: #fff;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.4);
}

.bg-theme {
  background: #00157f;
}

.bg-theme-2 {
  background: #9a0000;
}

.santa-wrapper {
  position: relative;
  max-width: 516px;
  z-index: 2;
}

@media (min-width: 992px) {
  .santa-wrapper {
    max-width: 960px;
    height: 231px;
  }
}

@media (min-width: 1200px) {
  .santa-wrapper {
    height: 245px;
  }
}

/* Text Styling */

a {
  transition: all .3s;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
  }
}

p {
  color: #fff;
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 0px 0px 3px rgba(0,0,0,0.5);
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

@media (min-width: 1200px) {
  p {
    font-size: 20px;
  }
}

.t-shadow {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 0px 0px 3px rgba(0,0,0,0.5);
}

.h1, h1 {
  font-family: 'Milonga';
  font-size: calc(22px + 2.7vw);
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 0px 0px 3px rgba(0,0,0,0.5);
}

@media (min-width: 1400px) {
  .h1, h1 {
    font-size: 60px;
  }
}

.att-text {
  font-size: 20px;
  line-height: 1.4;
  color: #ffef9d;
}

@media (min-width: 576px) {
  .att-text {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .att-text {
    font-size: 25px;
  }
}

@media (min-width: 1400px) {
  .att-text {
    font-size: 28px;
  }
}

.text-gold {
  color: #ffef9d;
}

/* Button styling */

.btn-responsive {
  --bs-btn-padding-x: 15px;
  --bs-btn-padding-y: 10px;
  --bs-btn-font-size: 18px;
}

@media (min-width: 992px) {
  .btn-responsive {
    --bs-btn-padding-x: 20px;
    --bs-btn-padding-y: 10px;
    --bs-btn-font-size: 19px;
  }
}

@media (min-width: 1200px) {
  .btn-responsive {
    --bs-btn-font-size: 22px;
  }
}

/* Snowflake animation */

#particles-js {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

#particles-js canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Home Page Image */

@media (min-width: 768px) {
  .home-page-img {
    position: relative;
    top: 0px;
    width: 420px;
    height: auto;
  }
}

@media (min-width: 992px) {
  .home-page-img {
    width: 500px;
    height: auto;
    top: 4px;
  }
}

@media (min-width: 1200px) {
  .home-page-img {
    width: 635px;
    height: auto;
    top: 0px;
  }
}

@media (min-width: 1400px) {
  .home-page-img {
    width: 650px;
    height: auto;
    top: -10px;
  }
}

/* Header Image */

.gradient-section {
  position: relative;
  width: 100%;
  padding-bottom: 5px;
  margin-bottom: 5px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .gradient-section {
    padding-bottom: 20px;
    margin-bottom: -5px;
  }
}

@media (min-width: 1200px) {
  .gradient-section {
    margin-bottom: 0px;
  }
}

.gradient-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgb(192,0,0) 60%, rgba(192,0,0,0) 100%);
  opacity: 1;
  transition: opacity .2s ease;
  pointer-events: none;
}

.gradient-section picture, .gradient-section img {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.gradient-section.hide-gradient::before {
  opacity: 0;
  pointer-events: none;
}

/* Move buttons and links above the gradient section */

.make-clickable {
  position: relative;
  z-index: 10;
  transition: transform .3s;
}

@media (hover: hover) and (pointer: fine) {
  .make-clickable:hover {
    transform: scale(1.05);
  }
}

/* Element to trigger hiding of gradient-section */

.trigger-element {
  position: absolute;
  bottom: calc(-15px - 5vw);
  left: 0;
  width: 100%;
  aspect-ratio: 760 / 400;
  pointer-events: none;
}

@media (min-width: 768px) {
  .trigger-element {
    aspect-ratio: 1920 / 400;
    bottom: -25px;
  }
}

@media (min-width: 1200px) {
  .trigger-element {
    aspect-ratio: 1920 / 400;
    bottom: -30px;
  }
}

/* Home Page Content Padding */

.content-home {
  padding-bottom: 54vw;
}

@media (min-width: 768px) {
  .content-home {
    padding-bottom: 24vw;
  }
}

/* Contant Background bottom */

.content-bottom {
  position: relative;
}

.content-bottom::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  aspect-ratio: 760 / 400;
  background-image: url(../../assets/img/santa-scott-bg-bottom-sm.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 768px) {
  .content-bottom::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    aspect-ratio: 1920 / 400;
    background-image: url(../../assets/img/santa-scott-bg-bottom.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
  }
}

.body-bg {
  background: #c00000;
}

/* Misc Styling */

.above-snow {
  position: relative;
  z-index: 2;
}

.svg-drop-shadow {
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,1));
}

.svg-drop-shadow-lt {
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,.5));
}

/* Music */

#music-toggle {
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 5px;
  color: inherit;
  border-radius: 50%;
  transform: scale(0.85);
  opacity: .9;
  transition: all .3s;
}

@media (min-width: 992px) {
  #music-toggle {
    opacity: .8;
  }
}

@media (min-width: 992px) {
  #music-toggle:hover {
    opacity: 1;
  }
}

@media (min-width: 992px) {
  #music-toggle {
    transform: scale(1.0);
  }
}

.music-toggle-wrapper {
  position: fixed;
  z-index: 1050;
  margin: 3px 0 0 3px;
}

@media (min-width: 992px) {
  .music-toggle-wrapper {
    margin: 9px 0 0 8px;
  }
}

.music-control-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Music message */

.music-prompt-toast {
  font-family: Times, serif;
  position: fixed;
  top: 8px;
  left: 39px;
  background-color: #aacbfc;
  color: #000000;
  font-size: 13px;
  line-height: 1.2;
  padding: 3px 1px 2px 5px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

@media (min-width: 992px) {
  .music-prompt-toast {
    top: 14px;
    left: 48px;
  }
}

.music-prompt-toast.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toast-close {
  font-family: arial, sans-serif;
  background: none;
  border: none;
  color: rgba(0,0,0,0.7);
  font-size: 17px;
  line-height: 1;
  padding: 0 5px;
  cursor: pointer;
  margin-bottom: 2px;
}

.toast-close:hover {
  color: #000000;
}

