/* ============================================
 * Topic: Default (fallback)
 * File:  _default.css
 *
 * 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: #000929;
  /* text */
  --text-color: #ffffff64;
  --text-size: 14px;
  --text-link-color: #ffffffc3;
  scrollbar-color: #11111119 transparent;
}

/* Shared styling for cards */

.card-base {
  background-color: rgb(11 109 239);
  border: 1px solid rgb(255 255 255 / 32%);
  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 / 26%);
  outline-offset: 3px;
}

.card-base:hover {
  transform: translateY(-2px);
  background-color: rgb(11, 90, 195);
}

/* AD-CARD */

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

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

.ad-card__label {
  color: #ffffff99;
}

.ad-card__title {
  color: #ffffff;
}

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

/* NAV BUTTON */

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

.nav-button__icon .bg{
  fill: #0a52b6;
}

/* 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;
}

/*------------ 
### GRAPHIC ###
-------------*/
.graphic {
  position: absolute;
  top: 15rem;
  opacity: 0.8;
  display: block;
  /* Scales proportionally between 150px and 583px */
  width: clamp(150px, 40vw, 583px);
  height: auto;
  z-index: -1;
}
#graphic-left {
  left: 0;
}
#graphic-right {
  right: 0;
  transform: scaleX(-1);
}

@media (max-width: 1024px) {
  .graphic {
    width: clamp(100px, 30vw, 300px);
    top: 10rem;
  }
}

@media (max-width: 768px) {
  .graphic {
    display: none;
  }
}
