/* ============================================
 * Topic: Tech
 * File:  tech.css
 *
 * A lighter variant of the real estate / default theme.
 * No side graphic (graphic-resolver.tsx returns none for tech).
 *
 * Override any base styles below.
 * This <style> block is injected LAST in the HTML,
 * so it wins the CSS cascade at equal specificity.
 * ============================================ */

:root {
  /* backgrounds */
  --bg-color: #132a63;
  /* text */
  --text-color: #ffffffa8;
  --text-size: 14px;
  --text-link-color: #ffffffd9;
  scrollbar-color: #ffffff33 transparent;
}

/* Shared styling for cards */

.card-base {
  background-color: #3b8bf7;
  border: 1px solid rgb(255 255 255 / 40%);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  animation: itemReveal 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.1s backwards;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.2s;
  outline: 1px solid rgb(255 255 255 / 30%);
  outline-offset: 3px;
}

.card-base:hover {
  transform: translateY(-2px);
  background-color: #2f7deb;
}

/* AD-CARD */

.ad-card {
  padding: 20px;
  border-radius: 12px;
}

.ad-card__website-link {
  background: #0b2a6e4d;
  padding: 2px 6px;
  border-radius: 5px;
  color: #ffffffd6;
}

.ad-card__label {
  color: #ffffffb3;
}

.ad-card__title {
  color: #ffffff;
}

.ad-card__description {
  color: rgba(255, 255, 255, 0.82);
}

/* NAV BUTTON */

.nav-button {
  color: #fff;
  border-radius: 18px;
  padding: 15px 12px 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
  position: relative;
}

.nav-button__icon .bg {
  fill: #1f6ae0;
}

/* LOGO */

.logo {
  animation: itemReveal 0.5s cubic-bezier(0.33, 1, 0.68, 1) backwards;
}

.logo__text {
  font-size: 40px;
  text-transform: uppercase;
}

.subtitle {
  animation: itemReveal 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.1s backwards;
}
