﻿/* Define the palettes as maps */
/* Mixin to generate CSS custom properties from a color map */
/* Apply themes as classes */
.light-mode {
  --hero-color: rgb(11, 70, 80);
  --hero-contrast: rgb(80, 21, 11);
  --inverse-hero: white;
  --inverse-contrast: #151515;
  --plain-text: black;
  --bg-color: white;
  --inverse-text-color: white;
  --highlight1: rgba(11, 70, 80, 0.2);
  --highlight2: rgba(11, 70, 80, 0.15);
  --highlight3: rgba(11, 70, 80, 0.1);
  --link-hover: rgb(34, 88, 195);
  --cta-block-1-bg: rgba(11, 70, 80, 0.2);
  --cta-block-2-bg: rgba(11, 70, 80, 0.15);
  --cta-block-3-bg: rgba(11, 70, 80, 0.1);
  --tinted-bg: rgba(11, 70, 80, 0.1);
  --tinted-bg-2: rgba(11, 70, 80, 0.1);
  --tinted-bg-3: rgba(11, 70, 80, 0.2);
  --complimentary70: rgb(80, 21, 11);
  --thumbnail-background: rgba(0, 0, 0, 0);
  --sidebar-bg: rgba(255, 255, 255, 0.4);
  --edge-fade-color: #e8ecec;
}

.dark-mode {
  --hero-color: white;
  --hero-contrast: rgba(179, 47, 25, 0.7);
  --inverse-hero: rgb(11, 70, 80);
  --inverse-contrast: rgb(80, 21, 11);
  --plain-text: white;
  --bg-color: rgb(85, 85, 85);
  --inverse-text-color: rgb(11, 70, 80);
  --highlight1: rgba(165, 231, 243, 0.8);
  --highlight2: rgba(165, 231, 243, 0.75);
  --highlight3: rgba(165, 231, 243, 0.7);
  --link-hover: rgb(34, 88, 195);
  --cta-block-1-bg: rgba(165, 231, 243, 0.8);
  --cta-block-2-bg: rgba(165, 231, 243, 0.75);
  --cta-block-3-bg: rgba(165, 231, 243, 0.7);
  --tinted-bg: rgba(11, 70, 80, 0.7);
  --tinted-bg-2: rgb(72, 114, 121);
  --tinted-bg-3: rgb(72, 114, 121);
  --complimentary70: rgba(179, 47, 25, 0.7);
  --thumbnail-background: white;
  --sidebar-bg: rgba(0, 0, 0, 0.5);
  --edge-fade-color: #254951;
}

.domain-item-overlay-wrapper {
  display: none;
  flex-direction: column;
  min-height: 70%;
  height: auto;
  width: 70%;
  margin: auto;
  background: rgb(255, 255, 255);
  border: 4px solid rgba(11, 70, 80, 0.35);
  border-radius: 12px;
  z-index: 999;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.domain-item-overlay-inner-wrapper {
  flex-grow: 1;
  width: 100%;
  border-radius: inherit;
  background: rgba(11, 70, 80, 0.1);
  margin: 0;
}

.close-domain-item-button-container {
  width: 100%;
  text-align: right;
}

.close-domain-item-button {
  margin: 12px 12px 0 0;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  background: none;
  color: rgb(11, 70, 80);
  cursor: pointer;
}

.domain-item-name-container {
  text-align: center;
}

.domain-item-name {
  color: var(--hero-color);
  font-size: 1.5rem;
}

.domain-item-download-links {
  color: var(--link-color);
  text-align: center;
}

.domain-item-download-link {
  padding: 6px;
  text-decoration: underline;
}

.domain-item-readme-link {
  padding: 6px;
  text-decoration: underline;
}

.domain-item-description-container {
  color: var(--plain-text);
  text-align: center;
}

div.overlay-active {
  filter: blur(2px);
  pointer-events: all;
}
