/* Normal (upright) variable */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;          /* variable weight range */
  font-stretch: 100%;            /* Roboto (not Flex) typically has no width axis */
  font-display: swap;
  src: url("/fonts/roboto/static/Roboto-Regular.ttf") format("woff2");
}

/* Italic variable */
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/roboto/static/Roboto-Italic.ttf") format("woff2");
}
:root{
    --thorm-a: #7c3aed; /* purple-ish */
    --thorm-b: #06b6d4; /* cyan-ish */
    --thorm-bg: rgb(11, 18, 32);
}
html {
    height: 100%;
    font-family: "Roboto", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

body {
    height: 100%;
    font-family: "Roboto", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    background-color: var(--thorm-bg) !important;
    background: 
        radial-gradient(900px 500px at 10% 300px, rgba(124,58,237,.22), transparent 60%),
        radial-gradient(900px 500px at 90% 500px, rgba(6,182,212,.18), transparent 55%),
        radial-gradient(900px 500px at 50% 100%, rgba(255,255,255,.06), transparent 60%),
        var(--thorm-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.bg-thorm-header { background-color: var(--thorm-bg); }
.bg-thorm-footer { background-color: var(--thorm-bg); }

#main {
    margin-top: 120px !important;
}

.hero {
    /*min-height: 70vh;*/
    /*background: linear-gradient(135deg, #0b1220, #1f2a44);*/
    color: white;
}

.why-thorm .container {
    color: #FFFFFF;
}

.site-header {
    background: linear-gradient(135deg, #0b1220, #1f2a44);
}

#siteHeader {
    background: transparent;
    transition: background-color 200ms ease, box-shadow 200ms ease;
}

#siteHeader.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.08);
}

@media (prefers-reduced-motion: reduce) {
    #siteHeader { transition: none; }
}

.glass{
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,.35);
    border-radius: 1.25rem;
}

.thick-glass {
    background: rgba(58, 98, 177, 0.25) !important;
    backdrop-filter: blur(100px);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 10px 40px rgba(0,0,0,.35);
    /*border-radius: 1.25rem;*/
}

code, pre { color: #d7f5ff; }
pre{
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 6px;
    padding: 1rem;
    overflow: auto;
    margin: 0 !important;
}

.h-128 { min-height: 128px; }
.h-256 { min-height: 256px; }
.h-512 { min-height: 512px; }
.text-justify { text-align: justify; }

.status-sticky {
  position: sticky;
  top: 5rem;
  align-self: flex-start;
}

.spark{
    display:inline-block;
    width:.55rem;height:.55rem;border-radius:99rem;
    background: linear-gradient(90deg, var(--thorm-a), var(--thorm-b));
    box-shadow: 0 0 18px rgba(124,58,237,.45);
    margin-right:.4rem;
    vertical-align: middle;
}
.mascot-wrap{
    display:flex;
    justify-content:start;
    margin-bottom: 1rem;
}
.mascot-bubble{
    width: 180px;
    height: 180px;
    border-radius: 999rem;
    padding: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 10px 40px rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    position: relative;
}
.mascot-bubble::after{
    content:"";
    position:absolute;
    inset:-12px;
    border-radius:999rem;
    background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.25), transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(6,182,212,.20), transparent 55%);
    z-index:-1;
}
.mascot-bubble img{
    width:100%;
    height:100%;
    object-fit:contain;
    filter: drop-shadow(0 18px 22px rgba(0,0,0,.35));
}
.badge-soft{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #e8eefc;
}
.brand-gradient{
    background: linear-gradient(90deg, var(--thorm-a), var(--thorm-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.brand-image-16 {width: 16px; height: 16px;}
.brand-image-64 {width: 64px; height: 64px;}
.btn-thorm{
    background: linear-gradient(90deg, var(--thorm-a), var(--thorm-b));
    border: 0;
    color: #081020;
    font-weight: 700;
}
.btn-thorm:hover{ filter: brightness(1.05); }

.ace-chaos .ace_comment {
    color: #ffa352 !important;
}

.ace-chaos .ace_gutter {
    color: #b4b4b4 !important;
}

.loader{
    font-size: 48px;
    background: linear-gradient(90deg, var(--thorm-a), var(--thorm-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    position: relative;
}
.loader:after{
    content: '';
    height: 4px;
    width:0%;
    display: block;
    background: linear-gradient(90deg, var(--thorm-a), var(--thorm-b));
    animation: 5s lineGrow linear infinite;
}

@keyframes lineGrow {to{width: 100%;}}

.btn-next{
  position: relative;
  padding-right: 2.2rem; /* space for triangle */
}

.btn-next::after{
  content: "";
  position: absolute;
  top: 50%;
  right: .6rem;
  transform: translateY(-50%);

  width: 0;
  height: 0;
  border-top: .45rem solid transparent;
  border-bottom: .45rem solid transparent;
  border-left: .65rem solid currentColor; /* triangle color */
}

.btn-prev{
  position: relative;
  padding-left: 2.2rem; /* space for triangle */
}

.btn-prev::before{
  content: "";
  position: absolute;
  top: 50%;
  left: .6rem;
  transform: translateY(-50%);

  width: 0;
  height: 0;
  border-top: .45rem solid transparent;
  border-bottom: .45rem solid transparent;
  border-right: .65rem solid currentColor; /* triangle color */
}

