/* CSS */
:root {
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
    background-color: black;
  }
  @supports (font-variation-settings: normal) {
    :root { font-family: InterVariable, sans-serif; }
  }

  ::-webkit-scrollbar {
    width: 0.6em; /* Width of the scrollbar */
  }

  /* Track (background) */
::-webkit-scrollbar-track {
    background: #111111; 

}
  
  /* Handle (scrollbar itself) */
::-webkit-scrollbar-thumb {
    background: #444; 
    border-radius: 0.6em;
}
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #888; 
  }

:root {
    background-color: rgb(45, 45, 45);
    line-height: 1.5;
    letter-spacing: 0.3pt;
}

body, a {
    color: white;
}

:root {
    background-color: black;
    background-image: url(/img/astral_driver_pulse.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}


::selection {
    background-color: rgba(0, 217, 255, 0.2);
}

body {
    background-color: transparent;
}

body {
    background-color: rgba(0,0,0,0.8);
    animation: fadeInAnimation 12s cubic-bezier(0.0, 1.0, 0.0, 1.0) forwards; 
}

nav, article, footer, nav a, footer a, footer p, p a{
    padding: 2vh 2vw;
    background-color: rgba(0, 0, 0, 0.5);
}

p {
    color: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

p a {
    display: inline-block;
    color: rgba(255,255,255,1.0);
    flex-grow: 1;
}

em {
    opacity: 0.8;
    font-weight: 200;
    font-size: 10pt;
    /* margin-block-start: 2vh;   */
}

strong {
    margin-block-end: 1em;  
}

strong em {
    font-size: 14pt;
    font-style: normal;
    font-weight: 400;
}



em a {
    color: white;
    font-weight: 200;
    font-size: 10pt;
    text-decoration: underline;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.0);
}

nav a, p a {
    background-color: transparent;
    transition: background-color 40.0s cubic-bezier(0.0, 1.0, 0.0, 1.0);
}

nav a:hover, p a:hover {
    background-color: rgba(255,255,255,0.06);
    transition: background-color 0.01s ease-out;
}

a {
    color: rgba(255,255,255,0.6);
    display: inline-block;
}

a.active {
    color: white;
}

img {
    object-fit: cover;
    max-width: 100%;
    margin-block-start: 3vh;  
    margin-block-end: 3vh;  
}



article {
    min-width: 50vw;
    padding: 4vh 4vw;
    margin: 4vh 4vw;
    border-radius: 4pt;
}

article section {
    max-width: 32em;
}

a, h1 {
    font-weight: 600;
    text-decoration: none;
}


a.active, footer a {
    text-decoration: none;
    background-color: transparent;
}

.logo {
    display: flex;
    align-items: center;
    background-color: transparent;
    text-decoration: none;
    color: white;
}

.logo img {
    margin: 0 2pt;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.Services h1, .Method h2 {
    margin-bottom: 0;
}

hr {
    height: 1em;
    border: none;
}

nav, footer {
    align-self: stretch;
}

body, nav, footer, footer div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

nav section a:last-child::before {
    content: "→ ";
}


nav section a:last-child.active::before {
    content: "↓ ";
}

.Contact nav section a:last-child::before {
    content: "↓ ";
}


footer p {
    background-color: transparent;
}

article {
    align-self: flex-end;
}


body, p, a { 
    font-size: 14pt;
    font-weight: 400;
}

td, th {
    padding: 2vw;
}

table {
    background-color: rgba(255,255,255,0.08);
    border-radius: 4pt;
    width: 100%;
}


li {
    margin-block-end: 1em;
}

li p {
    margin-block-end: 0em;
}

ol li {
    margin-block-end: 1em;
}

footer p, footer a {
    font-size: 10pt;
}


a {
    font-weight: 500;
}

h1, h2, h3 {
    font-size: 28pt;
    line-height: 1em;
}

h1 {
    font-size: min(72pt, 10vw);
    
     
}

blockquote {
    font-style: italic;
}

.Home h1 {
    font-weight: 800;
    text-transform: uppercase;
}

p {
    margin-block-end: 6vh;  
}



h2 {
    font-weight: 400;
}

ol { counter-reset: item; padding: 2vw; }
ol > li{ display: block; }
ol > li:before { content: counters(item, ".") " "; counter-increment: item;}

article {
    transform: scale(0.97);
    
    animation: scaleInAnimation 3s cubic-bezier(0.0, 1.0, 0.0, 1.0) forwards; 
  }

  .logo img {
    opacity: 1.0; 
    animation: fadeInAnimation 3s cubic-bezier(0.0, 1.0, 0.0, 1.0) forwards; 
  }

  footer p {
    animation: fadeInAnimation 8s cubic-bezier(0.0, 1.0, 0.0, 1.0) forwards; 
  }
  
  
  @keyframes fadeInAnimation {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes scaleInAnimation {
    from {
      transform: scale(0.99);
      opacity: 0;
    }
    to {
        transform: scale(1.0);
        opacity: 1;
    }
  }

