/* Shared visual foundations for clive.ng
   Intentionally limited to site-wide typography, colour, navigation links and loading indicator.
   Page-specific layouts and project artwork remain unchanged. */
:root {
  --site-blue: #0000ff;
  --site-text: #0000ff;
  --site-font: 'Montserrat', sans-serif;
  --site-body-size: 14px;
  --site-body-leading: 1.5;
}

html {
  font-family: var(--site-font);
}

body {
  font-family: var(--site-font);
  font-size: var(--site-body-size);
  line-height: var(--site-body-leading);
  color: var(--site-text);
  background: #fff;
}

a {
  color: var(--site-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.menu a,
.sidebar a {
  color: var(--site-blue);
  font-family: var(--site-font);
  font-size: var(--site-body-size);
  font-weight: 400;
  line-height: var(--site-body-leading);
  transition: opacity .2s ease;
}

.menu a:hover,
.sidebar a:hover {
  opacity: .65;
}

/* One consistent blue loading mark across all pages. */
.loader-svg,
.custom-loader,
.button-spinner {
  display: block;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50% !important;
  overflow: hidden;
  background-color: var(--site-blue);
  background-size: 100% 100%;
  object-fit: contain;
}

.white-dot {
  width: 3px;
  height: 3px;
}

#loader-percent,
#loading-text,
#loader-percentage {
  color: var(--site-blue);
  font-family: var(--site-font);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* Keep media responsive without imposing a new crop or visual treatment. */
img,
video,
iframe {
  max-width: 100%;
}

/* Teaching page loader: shared exact dimensions and animation */
#loader-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#loader-wrapper .custom-loader {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  background-color: #3300FF !important;
  border-radius: 50% !important;
  position: relative;
  animation: spin 1s linear infinite;
  overflow: visible;
}
#loader-wrapper .white-dot {
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  right: 4px;
}
#loading-text {
  margin-top: 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #3300FF;
}
