.navbar {
  display: flex;
  align-items: center;
  /* Add other styles as needed */
}

:root {
  --jm-border-width: 1px;
  --jm-border-color-strong: #747474;
  --jm-border-color-soft: #747474;
  --jm-radius-pill: 2rem;
}

/*  Main Css  */
.responsive-body {
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

body {
  font-family: "Bebas Neue", "Montserrat";
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  overflow: hidden;
  color: #ffffff;
  background: url('../img/website backdrop.png') no-repeat;
  background-color: rgba(0, 0, 0, 0);
  background-position-x: 0%;
  background-position-y: 0%;
  background-size: auto;
  transition: background-position 1s ease-in-out;
  background-size: 200%;
  background-position: 60% 0;
  background-color: black;
}

h1 {
  font-family: "Bebas Neue";
  font-size: calc(.5rem + 1vw);
  outline: none;
  color: #fd7f20;
}

h2 {
  font-family: "Bebas Neue";
  font-size: calc(.5rem + 0.7vw);
  outline: none;
  color: #fd7f20;
}

h3 {
  font-family: "Bebas Neue";
  font-size: calc(.5rem + 0.6vw);
  outline: none;
  color: #fd7f20;
}

p {
  font-family: "Montserrat";
  font-size: calc(.5rem + 0.5vw);
  outline: none;
  color: #ffffff;
  color: #ffffff;
}

.content {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}

/* Place the navbar at the bottom of the page, and make it stick */
.navbar {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 8vh;
  background-color: #00000096;
  border-radius: var(--jm-radius-pill);
  width: 80%;
  border: var(--jm-border-width) solid var(--jm-border-color-strong);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1vh 1vw;
  z-index: 1000;
}

  /* Style the links inside the navigation bar */
  .navbar a {
    float: left;
    display: block;
    color: #fd7f20;
    text-align: center;
    padding: 1vh 1vw;
    text-decoration: none;
    font-size: 2vw;
    margin: 0.5vh 1vw;
    border-radius: var(--jm-radius-pill);
    width: 9vw;
    transition: background-color 0.5s linear;
    height: 100%;
    align-content: center;
    bottom: 0.75vw;
  }

    /* Change the color of links on hover */
    .navbar a:hover {
      background-color: #fd7f20;
      color: black;
      cursor: pointer;
      border-radius: var(--jm-radius-pill);
      transition: background-color 1s linear;
    }

.nav-btn {
  background-color: #000000d4;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 0%;
  bottom: 0%;
  color: #fd7f20;
  font-size: calc(.5rem + 4vw);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

  .nav-btn:hover {
    background-color: #fd7f20;
    color: #000000;
    transition: background-color 1s linear, color 1s linear;
  }

.nav-btns {
  display: flex;
  position: absolute;
  top: 20vw;
  left: 0%;
  bottom: 0%;
  right: 0%;
  width: 100%;
  height: 6vw;
  pointer-events: none;
}

.navlink {
  color: #fd7f20;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  text-decoration: none;
  right: 1%;
  position: inherit;
  max-width: 100%;
  top: 54%;
  font-size: 1.5rem;
}

.menu-item {
  position: relative;
  transition: transform 0.5s ease;
}

  .menu-item.active {
    background-color: #74747442;
    color: #fd7f2000;
    transition: transform 0.5s ease;
  }

.menu-img {
  height: 9vw;
  position: absolute;
  bottom: 0;
  left: 2vw;
  transform: translateY(140%);
  transition: transform 1s ease-in-out;
}

  .menu-img:hover {
    opacity: 0.25;
    transition: 0.2s ease-in-out;
  }

.active-img {
  transform: translateY(0);
}

.inactive-img {
  transform: translateY(140%);
}

#blazor-error-ui {
  background: rgba(0, 0, 0, 0.96);
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.45);
  display: none;
  left: 0;
  border-top: var(--jm-border-width, 1px) solid var(--jm-border-color-soft, #747474);
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  color: #ffffff;
}

  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
  }

.blazor-error-boundary {
  background: rgba(0, 0, 0, 0.96);
  border: var(--jm-border-width, 1px) solid var(--jm-border-color-soft, #747474);
  border-radius: 1rem;
  padding: 1rem 1rem 1rem 3.7rem;
  color: #ffffff;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.45);
}

  .blazor-error-boundary::after {
    content: "An error has occurred.";
  }

/*  Containers  */
.top-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 5;
  position: absolute;
  top: 1vw;
  height: fit-content;
  bottom: 0;
  left: 0%;
  right: 0%;
}

.content-container {
  height: 100%;
  max-width: 100%;
  display: flex;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  width: 100%;
  overflow: hidden;
}

.footer-container {
  height: auto;
  display: flex;
  position: absolute;
  width: 100%;
  align-content: center;
  justify-content: center;
}

/*  Pages Specific  */

.watchJack {
  display: flex;
  justify-content: end;
  opacity: 1;
  align-items: center;
  position: absolute;
  right: 5%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  top: 1vw;
}

.mailing-admin-editor-shell--light .rz-html-editor-toolbar,
.mailing-admin-editor-shell--light .rz-html-editor-toolbar * {
  color: #222222 !important;
}

.mailing-admin-editor-shell--light .rz-html-editor-toolbar svg,
.mailing-admin-editor-shell--light .rz-html-editor-toolbar svg *,
.mailing-admin-editor-shell--light .rz-html-editor-toolbar i {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.mailing-admin-editor-shell--light .rz-html-editor-toolbar select option {
  background: #ffffff !important;
  color: #222222 !important;
}

.rz-colorpicker,
.rz-colorpicker * {
  color: inherit;
}

.mailing-admin-editor-shell--light .rz-html-editor-colorpicker,
.mailing-admin-editor-shell--light .rz-colorpicker-popup {
  background: #ffffff !important;
  color: #222222 !important;
}

.mailing-admin-editor-shell--light .rz-html-editor-colorpicker *,
.mailing-admin-editor-shell--light .rz-colorpicker-popup *,
.mailing-admin-editor-shell--light .rz-html-editor-colorpicker input,
.mailing-admin-editor-shell--light .rz-colorpicker-popup input,
.mailing-admin-editor-shell--light .rz-html-editor-colorpicker button,
.mailing-admin-editor-shell--light .rz-colorpicker-popup button,
.mailing-admin-editor-shell--light .rz-html-editor-colorpicker label,
.mailing-admin-editor-shell--light .rz-colorpicker-popup label,
.mailing-admin-editor-shell--light .rz-html-editor-colorpicker span,
.mailing-admin-editor-shell--light .rz-colorpicker-popup span {
  color: #222222 !important;
}

.mailing-admin-editor-shell--light .rz-html-editor-colorpicker svg,
.mailing-admin-editor-shell--light .rz-colorpicker-popup svg,
.mailing-admin-editor-shell--light .rz-html-editor-colorpicker svg *,
.mailing-admin-editor-shell--light .rz-colorpicker-popup svg * {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.mailing-admin-editor-shell--light .rz-colorpicker-item,
.mailing-admin-editor-shell--light .rz-colorpicker-preview,
.mailing-admin-editor-shell--light .rz-colorpicker-trigger,
.mailing-admin-editor-shell--light .rz-colorpicker-button {
  color: #222222 !important;
}

/*  Forms  */
/*  Footer  */
.footer {
  width: 100%;
  height: 5%;
  display: flex;
  position: absolute;
  bottom: 1%;
  right: 0%;
  max-width: 100%;
}

/* Animation Classes */
.fade-in {
  animation: fadeInAnimation ease-in-out 1s;
  animation-fill-mode: forwards;
}

.fade-out {
  animation: fadeOutAnimation ease-in-out 1s;
  animation-fill-mode: forwards;
}

.fade-in-out {
  animation: fadeInOut ease-in-out 30s;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOutAnimation {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/*  Animations  */
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes spinning {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes slideIn {
  0% {
    transform: translateX(-200%);
  }

  75% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInScale {
  0% {
    transform: translateX(-200%) scale(0.2);
  }

  75% {
    transform: translateX(0) scale(1.2);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes pulsate {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}



/* Responsive Media Queries - Mobile/Tablet Only */
@media (max-width: 768px) {
  .navbar {
    width: 95%;
    height: auto;
    min-height: 8vh;
  }

    .navbar a {
      width: auto;
      min-width: 5rem;
      font-size: max(14px, 2vw);
    }

}

@media (max-width: 480px) {
  body {
    margin: 0.5rem;
    padding: 0.5rem;
  }

  .navbar {
    width: 98%;
  }

}
/* Tablet landscape and below (1024px) */
@media (max-width: 1024px) {
  body {
    margin: 0.5rem;
    padding: 0.5rem;
  }

  /* Navigation adaptations */
  .navbar {
    width: 90%;
    padding: 0.5rem;
    flex-direction: row;
    flex-wrap: wrap;
  }

    .navbar a {
      font-size: min(3vw, 18px);
      width: auto;
      min-width: 80px;
      padding: 0.5rem 1rem;
    }

  .nav-btns {
    top: 15vh;
    height: 8vw;
  }

  .nav-btn {
    font-size: calc(1rem + 3vw);
  }

}

/* Tablet portrait and mobile landscape (768px) */
@media (max-width: 768px) {
  body {
    background-size: 300%;
    background-position: center;
  }

  h1 {
    font-size: calc(1rem + 1.5vw);
  }

  h2 {
    font-size: calc(0.9rem + 1.2vw);
  }

  h3 {
    font-size: calc(0.8rem + 1vw);
  }

  p {
    font-size: calc(0.7rem + 0.8vw);
  }

  /* Make navbar stack better */
  .navbar {
    width: 95%;
    height: auto;
    min-height: 60px;
    bottom: 10px;
    padding: 0.75rem 0.5rem;
  }

    .navbar a {
      font-size: 14px;
      width: auto;
      min-width: 70px;
      padding: 0.5rem 0.75rem;
      margin: 0.25rem 0.5rem;
    }

  .menu-img {
    height: 12vw;
  }

  /* Navigation buttons */
  .nav-btns {
    top: 20vh;
    height: 10vw;
  }

  .nav-btn {
    font-size: calc(1.5rem + 2.5vw);
    padding: 0 8px;
  }

  /* Top social bar */
  .top-container {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }

  .watchJack {
    position: relative;
    right: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .navlink {
    font-size: 16px;
  }

  /* Content layout changes */
  .content-container {
    position: relative;
  }

  /* Footer */
  .footer {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
  }

  .footer-container {
    position: relative;
    width: 100%;
  }



}

/* Mobile portrait (480px and below) */
@media (max-width: 480px) {
  body {
    margin: 0.25rem;
    padding: 0.25rem;
    background-size: 400%;
  }

  h1 {
    font-size: calc(1.2rem + 2vw);
  }

  h2 {
    font-size: calc(1rem + 1.5vw);
  }

  h3 {
    font-size: calc(0.9rem + 1.2vw);
  }

  p {
    font-size: calc(0.8rem + 1vw);
  }

  /* Navbar mobile optimized */
  .navbar {
    width: 98%;
    padding: 0.5rem 0.25rem;
    flex-direction: row;
  }

    .navbar a {
      font-size: max(12px, 3.5vw);
      padding: 0.4rem 0.6rem;
      min-width: 60px;
      margin: 0.2rem 0.3rem;
    }

  .menu-img {
    display: none; /* Hide kangaroo on very small screens */
  }

  .nav-btn {
    font-size: calc(2rem + 2vw);
  }

  /* Social icons */
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .socialtitle h3 {
    font-size: calc(1rem + 1vw);
  }

  /* Stack all content */
  iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .navbar {
    position: fixed;
    bottom: 0;
    height: 50px;
  }

  .nav-btns {
    top: 50px;
  }

}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp text */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

@media (max-width: 768px) {
  footer {
    position: relative;
    margin-top: 2rem;
  }

  .footer-container p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .footer-container p {
    font-size: 10px;
  }
}
