html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.title-bar {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, .36), transparent 28rem),
    linear-gradient(135deg, var(--timtek-blue), var(--timtek-purple));
  border-bottom: .25rem solid var(--timtek-gold);
}

.title-bar__content {
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.title-bar__brand,
.title-bar__brand:hover,
.title-bar__brand:focus,
.title-bar__brand:visited {
  color: #fff;
}

.title-bar__brand {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  gap: 1rem;
  text-decoration: none;
}

.title-bar__logo {
  flex: 0 0 clamp(4rem, 8vw, 8rem);
  height: clamp(4rem, 8vw, 8rem);
  width: clamp(4rem, 8vw, 8rem);
}

.title-bar__title {
  color: #fff;
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  font-family: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1;
  min-width: 0;
  text-align: left;
  text-shadow: 0 .15rem .45rem rgba(0, 0, 0, .7);
}

.page-layout {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 18rem;
}

.side-panel {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(144, 99, 205, .18);
  border-radius: .85rem;
  box-shadow: 0 .75rem 2rem rgba(0, 102, 204, .08);
  padding: 1.5rem;
}

.side-panel h2 {
  font-size: 1.5rem;
}

.side-panel .tag-cloud {
  gap: .75rem 1rem;
  min-height: 12rem;
  padding: .5rem 0;
}

.tag-cloud {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding: 2rem;
  min-height: 20rem;
}

.tag-cloud__item {
  display: inline-block;
  cursor: grab;
  user-select: none;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  animation: tag-cloud-float 6s ease-in-out infinite;
  animation-delay: var(--tag-float-delay, 0s);
  transition: transform 0.15s ease-out;
}

.tag-cloud__item:hover {
  transform: scale(1.1);
}

.tag-cloud__item.is-dragging {
  cursor: grabbing;
  animation-play-state: paused;
  z-index: 10;
}

@keyframes tag-cloud-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.35rem); }
}

@media (prefers-reduced-motion: reduce) {
  .tag-cloud__item {
    animation: none;
  }
}

@media (max-width: 575.98px) {
  .title-bar__content {
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

@media (max-width: 991.98px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-panel {
    margin-bottom: 1rem;
  }
}