/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

   html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

li {
    list-style: none;
}

/* =============================================================================
   Custom CSS to Place Particles in Front of Content with Transparent Background
   ========================================================================== */

/* ---- Base ---- */

html, body { 
    width: 100%;
    height: 100%;
    background: #111;
}

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font: normal 75% Arial, Helvetica, sans-serif;
}

canvas {
    display: block;
    vertical-align: bottom;
}

/* ---- Particles.js Container ---- */

#particles-js {
    position: fixed;  /* Ensure particles cover the entire viewport */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999; /* Ensure particles are in front of content */
    pointer-events: none; /* Ensure particles do not block interaction with content */
    background-color: transparent; /* Transparent background */
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* ---- Main Content (SP Page Builder) ---- */

.main-content {
    position: relative;
    z-index: 1; /* Content is behind the particles */
    background: transparent; /* Ensure content background doesn't block particles */
}

/* =============================================================================
   Custom CSS for SP Page Builder Section to Ensure Content is Above Particles
   ========================================================================== */

/* Custom class to be added in SP Page Builder */
.content-on-top {
    z-index: 10000 !important; /* Ensure content is in front of particles */
    position: relative; /* Required for z-index to work */
}

/* ---- stats.js ---- */

.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.js-count-particles {
    font-size: 1.1em;
}

#stats, .count-particles {
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}
