:root {
  --bg-main: #ffffff;
  --text-main: #222222;
  --footer-bg: #f8f9fa;
  --footer-text: #666666;
  --contact-bg: #f8f9fa;
  --contact-text: #222222;
  --source-bg: #7e4293;
  --source-text: #ffffff;
  --link-text: rgb(68 144 255);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #121212;
    --text-main: #e0e0e0;
    --footer-bg: #1e1e1e;
    --footer-text: #a0a0a0;
    --contact-bg: #121212;
    --contact-text: #e0e0e0;
    --source-bg: #1e1e1e;
    --source-text: #e0e0e0;
    --link-text: rgb(68 144 255);
  }
}

body {
  font-family: Arial, 'Sans serif';
  background-color: var(--bg-main);
  color: var(--text-main);
}

a {
  color: var(--link-text);
}

.bigtitle {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  font-weight: bold;
}

.bigger {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: bold;
  margin-bottom: 20px;
}

.container {
  margin-bottom: 5px;
}

.bottomcontainer {
  margin-bottom: 5px;
}

.container2 {
  max-width: 1200px;
  margin: 0 auto 20px auto;
  padding: 0 1.5rem;
}

.description {
  font-size: clamp(1.4rem, 2.5vw, 1.5rem);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: start;
}

.navbar {
  background-color: var(--footer-bg) !important;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-toggler {
  color: var(--text-main) !important;
}

.navbar .nav-link:hover,
.navbar .navbar-brand:hover {
  color: #00c9db !important;
}

/* Masthead */
header.masthead {
  position: relative;
  width: 100%;
  margin-bottom: 18px;
  color: #ffffff;
  min-height: 600px;
  background: url("bg-pattern.png"),
    linear-gradient(to left, #7b4397, #dc2430);
}

@media (min-width: 992px) {
  .masthead .container {
    margin-top: 84px;
  }
}

/* Features */
section.features .feature-item {
  padding: 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

section.features .feature-item h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

section.features .feature-item p {
  margin: 0;
}

section.features .feature-item i {
  font-size: 80px;
  display: block;
  margin-bottom: 15px;
  background: linear-gradient(to left, #7b4397, #dc2430);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info {
  font-weight: bold;
  text-align: center;
  background-color: var(--contact-bg);
  color: var(--contact-text);
  padding: 3.25rem 1rem 2.625rem;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: bold;
  margin-bottom: 20px;
}

.contact-link {
  color: var(--contact-text);
  text-decoration: underline;
}

.contact-link:hover {
  color: var(--link-text);
}

.doctext {
  color: var(--source-text);
}

.source-code {
  font-weight: bold;
  text-align: center;
  background-color: var(--source-bg);
  color: var(--source-text);
  padding: 3.25rem 1rem 2.625rem;
}

.source-code h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: bold;
  margin-bottom: 20px;
}

.ci {
  display: inline-block;
  margin: 0.5rem;
}

.bigblue {
  color: #00c9db;
  font-size: 20px;
  margin-right: 0.33rem;
}

.biggerblue {
  color: #00c9db;
  font-size: 28px;
  margin-right: 0.75rem;
  position: relative;
  top: 4px;
}

/* Footer */
footer {
  padding: 25px 0;
  text-align: center;
  background-color: var(--footer-bg);
}

footer p {
  font-size: 12px;
  margin: 0;
  color: var(--footer-text);
}

/* Utilities */
.margin-top-adj {
  margin-top: 20px;
}

.tcenter {
  text-align: center;
}
