/* ============================================
 * Topic: Tech
 * File:  tech.css
 *
 * Override any base styles below.
 * This <style> block is injected LAST in the HTML,
 * so it wins the CSS cascade at equal specificity.
 * ============================================ */

/* CSS Variables */
:root {
  --root-font-size: 12px;
  /* backgrounds */
  --bg-color: #F2F1EB;
  /* text */
  --text-color: #434343d4;
  --text-size: 12px;
  --text-link-color: #676767c3;
  scrollbar-color: #11111119 transparent;
  --font-family: monospace;
}

/* Shared styling for cards */

.card-base {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px dotted rgb(0 0 0 / 34%);
  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;  
  box-shadow: 0 1px 2px rgb(0 0 0 / 9%);
}

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

/* AD-CARD */

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

.ad-card__website-link {
  color: #0b38ed;
}

.ad-card__label {
  color: rgb(86 34 8);
}

.ad-card__title {
  color: rgb(86 34 8);
}

.ad-card__description {
  color: rgba(46, 17, 2, 0.569);
}

/* NAV BUTTON */

.nav-button {
  color: #202020;
  border-radius: 20px;
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  padding-right: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-button:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 1px;
  background: rgba(0, 0, 0, 0.131);
  pointer-events: none;
}


.nav-button__icon{
  overflow: visible;
}


.nav-button__icon .arrow{
  fill: #fff;
}

.nav-button__icon .bg{
  fill: #0e5ae6;
  rx: 14px;
  filter: drop-shadow(0px 3px 3px rgba(14 90 230 / .2));
}


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

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

.logo text {
  fill: #0e5ae6;
}

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