/* brand.css - swap the word "Roblox" for "Spicablox" in the logo and headings.
 *
 * The original SVG (images/Logo/icon_logo_tagline_white_09272017.svg) is vector
 * artwork of the ROBLOX wordmark - the text cannot be edited inside it. So we render the
 * hero logo as HTML/CSS using the site font ('Source Sans Pro' 600, loaded locally from /fonts).
 * The original SVGs stay in the repo in case we want to go back to a 1:1 version.
 *
 * "Spicablox" is 9 characters (the old wordmark had 6), so the size is a bit smaller
 * to keep roughly the same block of white text in the hero.
 */

/* --- hero logo (replaces .icon-logo-tagline-white as a background) --- */
#MainLogoImage.rbx-wordmark {
  background-image: none;
  background-color: transparent;
  width: auto;
  height: auto;
  float: none;
  margin-right: 0;
  opacity: 1;
  text-align: center;
  display: inline-block;
}

#MainLogoImage.rbx-wordmark .w {
  display: block;
  color: #fff;
  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 104px;
  line-height: 1;
  letter-spacing: -2.5px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

#MainLogoImage.rbx-wordmark .t {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 7px;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 991px) {
  #MainLogoImage.rbx-wordmark .w { font-size: 52px; letter-spacing: -1px; }
  #MainLogoImage.rbx-wordmark .t { font-size: 13px; letter-spacing: 3px; }
}

/* --- navbar logo --- */
img.robloxLogo.rbx-nav-logo { display: none; }

.rbx-nav-logo {
  display: inline-block;
  color: #fff;
  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 34px;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.rbx-nav-logo:hover,
.rbx-nav-logo:focus { color: #fff; text-decoration: none; }

/* green accent for the small version tag */
.rbx-nav-logo .y { color: #02b757; font-weight: 300; }
