html {
  font-size: 16pt;
}

@media (min-width: 768px) {
  html {
    font-size: 16pt;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  overflow-x: hidden;
  position: relative;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  margin-bottom: 60px;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

/* Edge-to-edge, mobile-safe hero video */
.hero-video {
  position: relative;
  /* width: 100vw; */
  /* Use dynamic viewport units to avoid mobile URL bar issues */
  min-height: 100dvh;
  color: #fff;
  background-color: #131d33;
  margin: 0;
  /* remove any accidental margins */
}

/* The video fills the viewport and crops like a background-image */
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* critical for edge-to-edge */
  object-position: center;
  z-index: 0;
}

/* Optional dark overlay for readability */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .45));
  z-index: 1;
}

/* Content centered on top of the video */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  /* respect notches / safe areas on iOS */
  padding: max(2rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.row {
  padding: 40px;
  font-weight: 100;
}

h1 {
  font-weight: 100;
  font-size: 3em;
}

h4 {
  font-weight: 100;
  font-size: 1.9em;
  color: #d8d8d8;
}

h3 {
  font-weight: 700;
  margin-top: 20px;
  font-size: 1.6em;
}

h2 {
  font-weight: 400;
}

p {
  font-weight: 400;
  font-size: 14pt;
  line-height: normal;
  color: #7e7e7e;
}

.title {
  position: absolute;
  margin-top: -55px;
  color: black;
  margin-left: 70px;
  font-weight: 200;
}

.inputui {
  padding-top: 9px;
  border-bottom: 1px solid #494949;
  padding-bottom: 3px;
}

.inputui label {
  display: inline-block;
  font-weight: 200;
}

.inputui input {
  display: inline-block;
  outline: none;
  border: 0px;
  padding-left: 10px;
  font-weight: 500;
  width: 100%;
}

.icon {
  cursor: pointer;
  display: inline-block;
  padding-top: 20px;
  padding-right: 20px;
}

.icon svg {
  width: 28px;
  height: 28px;
}

.icon.lg svg {
  width: 36px;
  height: 36px;
}

.session {
  color: white;
  border: 0px;
  border-radius: 40px;
  font-size: 10pt;
  font-weight: 300;
  height: 80px;
  overflow: hidden;
  margin-bottom: 5px;
  line-height: normal;
}

.session.requested {
  background-color: transparent;
  border: 1px dotted black;
  color: black;
}

.session.requested svg {
  fill: black;
}

.session.pending {
  background-color: #eeeeee;
  color: black;
}

.session.pending svg {
  fill: black;
}

.session.completed.false {
  background-color: #eeeeee;
  color: black;
}

.session.completed.true {
  background-color: #008925;
  color: white
}

.session table {
  width: 100%;
  height: 100%;
}

/* Fluid type sizes */
.hero-title {
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: .75rem;
}

.hero-lead {
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  max-width: 62ch;
  margin: 0 auto;
}

.logo {
  position: absolute;
  left: 45px;
  top: 75px;
  z-index: 1000;
  color: white !important;
}

.logo2 {
  font-weight: 800;
  color: black;
  letter-spacing: -2pt;
  font-size: 3em !important;
}

.slogan {
  position: absolute;
  left: 55px;
  top: 110px;
  z-index: 1000;
  color: white;
  font-weight: 100;
  font-size: 0.9em;
}

/* If you have a fixed-top navbar, add top padding so content isn't hidden */
body.has-fixed-nav .hero-video {
  padding-top: var(--nav-height, 56px);
}

.scroll-down {
  position: fixed;
  bottom: 20px;
  /* 20px from bottom of screen */
  left: calc(50% - 15px);
  /* push to middle horizontally */
  transform: translateX(-50%);
  /* adjust for own width */
  z-index: 1000;
  cursor: pointer;
  animation: bounce 1.5s infinite;
}

.round-btn {
  position: absolute;
  background-color: whitesmoke;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  align-content: center;
  text-align: center;
  cursor: pointer;
}

.round-btn.active {
  color: white;
  background-color: #008925;
  pointer-events: all;
}

.round-btn.left {
  left: 20px;
}

.round-btn.right {
  right: 20px;
  pointer-events: none;
}

.round-btn svg {
  width: 24px;
  height: 24px;
  margin-top: -5px;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

/* Reduce overlay on very small screens for more contrast */
@media (max-width: 420px) {
  .hero-video::after {
    background: rgba(0, 0, 0, .35);
  }
}