html, body {
    --text: #e4eaf0;
    --background: #090f15;
    --primary: #1e90ff;
    --secondary: #245687;
    --accent: #5499de;
    
    --backgroundA: rgba(9, 15, 21, 0.75);
    --secondaryA: rgba(36, 86, 135, 0.75);
    --accentA: rgba(84, 153, 222, 0.75);
    --accentA_: rgba(84, 153, 222, 0.5);
    
    margin: 0;
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
    background-color: var(--background);
    color: var(--text);
    height: 100%;
    overflow-x: hidden;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

/* Main */
.main {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    max-width: 1500px;
    width: 100%;
    margin-left: 52px;
}

.main h1 {
    text-align: center;
}

.full-height {
    height: 100%;
}

.full-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.spacer {
    height: 76px;
}


/* Nav */
nav {
    background-color: var(--background);
    overflow: hidden;
    padding: 25px;
    border-bottom: 2px solid var(--primary);
    position: fixed;
    z-index: 9;
    width: 100%;
}

nav .container {
    max-width: 1500px;
    margin: 0 auto;
}

nav a {
    font-size: 20px;
    transition-duration: 0.5s;
}

nav .left {
    float: left;
    display: block;
    text-decoration: none;
    color: var(--text);
}

nav .centered {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

nav .centered a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 0 10px;
}

nav .right {
    float: right;
    display: inline-block;
}

nav .right a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
}

nav .right .hideMobile {
    display: inline-block;
}

.mobile-nav {
    background-color: var(--background);
    overflow: hidden;
    padding: 25px;
    border-bottom: 2px solid var(--primary);
    position: absolute;
    top: 74px;
    width: 100%;
    z-index: 9;
    display: none;
}

.mobile-nav a {
    display: block;
    padding: 16px 32px;
    font-size: 20px;
}

mobile-nav a.active {
    color: var(--primary);
}

.mobile-nav a:hover {
    color: var(--primary);
}

#nav-bars {
    display: none;
}

@media screen and (max-width: 768px) {
    nav .centered {
        display: none; /* Hide right-aligned links on small screens */
    }

    #nav-bars {
        display: inline-block; /* Show menu icon on small screens */
    }
    
    nav .right .hideMobile {
        display: none;
    }
}


/* Icon Bar */
.icon-bar {
	position: fixed;
    width: 50px;
    background-color: var(--background);
    top: 0;
    bottom: 0;
    height: 100%;
    border-right: 2px solid var(--primary);
    z-index: 8;
}

.icon-bar a {
    display: block;
    text-align: center;
    padding: 6px;
    transition: all 0.3s ease;
    color: var(--text);
    font-size: 25px;
}

.icon-bar img {
    width: 25px;
    height: 25px;
}

.icon-bar a:hover {
    color: var(--primary);
}

.icon-bar a.active {
    color: var(--primary);
}


/* Header */
header.header {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, transparent 30%, var(--background) 80%), url("../../img/toolbox_background.jpg");
    background-position: center center;
    background-repeat: repeat no-repeat;
    background-size: 600px 100%;
}

header .content {
    color: var(--text);
    z-index: 5;
    position: absolute;
    padding-left: 300px;
    max-width: 1500px;
    width: 100%;
    top: 100px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
}


/* Aurora Header */
header.aurora-header {
    position: relative;
    height: 200px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
    text-align: center;
}

header.aurora-header .content {
    left: 40% !important;
}

header.aurora-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--background));
    z-index: 1;
}

.aurora-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 174, 81, 0.5), rgba(28, 255, 47, 0.5), rgba(30, 245, 245, 0.5));
    background-size: 200% 200%;
    animation: aurora 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* Split Screen */
.split:not(.manage) {
    height: 100%;
    width: 50%;
    position: absolute;
    z-index: 1;
    top: 0;
    overflow-x: hidden;
    padding-top: 20px;
}

.split.left {
    left: 0;
    background-color: var(--backgroundA);
}

.split.right {
    right: 0;
    background-color: var(--secondaryA);
}

.split .centered {
    text-align: center;
}

.split .option {
    opacity: 1;
    transition: opacity 0.5s ease; /* adjust timing as needed */
}

.split .option.hidden {
    opacity: 0;
    display: none;
}

.split .option .mobile {
    display: none;
}

.split .option .mobile button {
    width: calc(100% - 16px);
}

.split.manage {
    width: 50%;
    padding-top: 20px;
    position: absolute;
    background-color: transparent !important;
}

.split.manage button {
    width: calc(100% - 50px);
}


/* Text Scroll */
.text-scroll {
    height: 1.2em;
    line-height: 1.2em;
    position: relative;
    overflow: hidden;
    width: 10em;
    color: var(--primary);
}

.text-scroll > span {
    position: absolute;
    top: 0;
    left: 0;
    animation: slide 5s infinite;
}

@keyframes slide {
    0% {
        top: 0;
    }
    50% {
        top: -1.2em;
    }
}


/* Buttons */
button {
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid var(--text);
    color: var(--text);
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.5s;
    cursor: pointer;
    border-radius: 10px;
}

button:hover {
    background-color: var(--text);
    border: 2px solid var(--text);
    color: var(--background);
    box-shadow: 0 0.5em 0.5em -0.4em var(--text);
    transform: translateY(-0.25em);
}

button.primary {
    background-color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    color: var(--background) !important;
}

button.primary:hover {
    color: var(--background) !important;
    box-shadow: 0 0.5em 0.5em -0.4em var(--primary) !important;
}


/* Hr */
hr {
    max-width: 400px;
    width: 75%;
    background-color: var(--accent);
    height: 1px;
    border-radius: 1px;
}

hr.primary {
    max-width: 500px;
    width: 100%;
    background-color: var(--primary);
    height: 2px;
    border-radius: 1px;
}


/* Table */
table {
    width: 100%;
    border-collapse: collapse;
}

table tbody td, table tbody th {
    border: 1px solid #ddd;
    padding: 8px;
}

table tbody tr:nth-child(even) {
    background-color: var(--backgroundA);
}

table tbody.product {
    width: 100%;
    border-spacing: 0;
}

tbody tbody.product td, tbody.product th {
    border: none !important;
}

table tbody.product img {
    height: 100px;
}

table tbody.product tr {
    transition-duration: 0.5s;
}

table tbody.product tr:hover {
    background-color: var(--accentA_);
    cursor: pointer;
}

table tbody.product td {
    display: table-cell;
    padding: 25px;
}

table.product td:nth-child(1) {
    width: 20%;
}

table.product td:nth-child(2) {
    width: 30%;
}

table.product td:nth-child(3) {
    width: 50%;
}


table.projects {
    width: 100%;
    text-align: center;
    border: none !important;
    padding: 0px !important;
}

table.projects tr {
    transition-duration: 0.5s;
}

table.projects tr:hover {
    background-color: var(--accentA_);
    cursor: pointer;
}

table.projects th {
    background-color: var(--secondary);
}


/* Table Mobile */
table.productMobile {
    width: 100%;
    padding-top: 50px;
}

table.productMobile tr {
    text-align: center;
}




/* Horizontal Scroll Banner*/
.marquee-wrapper {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-wrapper .fade:after {
content: "";
position: absolute;
left: 0; right: 0;
top: 0; bottom: 0;
background-image:
    linear-gradient(to right, var(--background), rgba(0, 128, 128, 0) 50px),
    linear-gradient(to left , var(--background), rgba(0, 128, 128, 0) 50px);
}

.marquee h3 {
    display: inline-block;
}

.marquee h3 div {
    display: inline-block;
    text-align: center;
}

.marquee h3 div iconify-icon {
    height: 100px;
    width: 100px;
    margin: 0 10px;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}


/* A */
a {
    text-decoration: none;
    color: var(--text);
}

a:hover {
    cursor: pointer;
}

.a {
    border-bottom: 2px solid var(--accent);
}

.a:hover {
    background-color: var(--accent);
    color: darkblue;
    transition-duration: 0.5s;
}


/* Footer */
footer {
    background-color: var(--background);
    background-image: linear-gradient(rgba(255, 0, 0, 0), var(--secondary));
    position: relative;
    left: 52px;
    width: 100%;
}

footer .content {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

footer .socials {
    transition-duration: 0.5s;
}

footer .socials a:hover {
    color: var(--primary);
}

footer.fix {
    position: absolute !important;
    bottom: 0 !important;
    width: 100% !important;
}

.footer-spacer {
    height: 189px;
}


/* Form */
form {
    padding: 16px 32px;
}

input {
    border: none;
    border-bottom: solid 2px var(--primary);
    background: none;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text);
    transition: border 0.25s cubic-bezier(0, 0, 0, 1);
    width: calc(100% - 50px);
}

form label {
    position: absolute;
    left: 50px;
    color: var(--primary);
    pointer-events: none;
    transform: translateY(1rem);
    transition: 0.25s cubic-bezier(0, 0, 0, 1);
}

input:focus, input:valid, input:invalid:not(:placeholder-shown) {
    outline: none;
    border-bottom: 2px solid var(--primary);
}

input:focus ~ label, input:valid ~ label, input:invalid:not(:placeholder-shown) ~ label {
    transform: translateY(-50%) scale(0.8);
    background-color: rgba(0, 0, 0, 0);
    color: var(--primary);
}

form button {
    width: calc(100% - 16px);
}

form .check label {
    color: var(--text) !important;
    position: static !important;
}

form .check input {
    accent-color: var(--primary) !important;
    height: 20px !important; /* not needed */
    width: 20px !important; /* not needed */
}

input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: lightgreen;
}

label {
    font-size: 16px;
    color: var(--text) !important;
}

label img {
    height: 30px;
}




/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), dodgerblue);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.overlay .blob {
    position: absolute;
content: "";
    transform: translate(-50%, -50%);
width: 600px;
height: 600px;
background: var(--background);
border-radius: 62% 47% 82% 35% / 45% 45% 80% 66%;
will-change: border-radius, transform, opacity;
animation: sliderShape 3s linear infinite;
display: block;
z-index: -1;
-webkit-animation: sliderShape 3s linear infinite;
}

@keyframes sliderShape{
    0%,100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate3d(0,0,0) rotateZ(0.01deg);
    }
    34% {
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        transform:  translate3d(0,5px,0) rotateZ(0.01deg);
    }
    50% {
        transform: translate3d(0,0,0) rotateZ(0.01deg);
    }
    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60% ;
        transform: translate3d(0,-3px,0) rotateZ(0.01deg);
    }
}


/* Solution Grid */
.product-grid .card {
    background-color: var(--accentA_);
    padding: 1rem;
    height: 4rem;
    text-align: center;
    border-radius: 10px;
    transition-duration: 0.5s;
}

.product-grid {
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
}

/* Screen larger than 600px? 2 column */
@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Screen larger than 900px? 3 columns */
@media (min-width: 900px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-grid .card i {
    font-size: 2rem;
    color: var(--primary);
}

.product-grid .card:hover {
    box-shadow: 0 0 20px var(--primary);
}


/* Button Row */
.button-row {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
}

.button-row button {
    flex: 1;
    margin: 0 0.5rem;
}

.button-row button img {
    height: 100px;
    width: 100px;
}


/* Loader */
.loader {
    width: 100px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    animation: l1 2s infinite cubic-bezier(0.3, 1, 0, 1);
    height: 100px;
}

.loader.center {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

@keyframes l1 {
    33% {border-radius: 0; background: orange; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)}
    66% {border-radius: 0; background: dodgerblue; clip-path: polygon(50% 0, 50% 0, 100% 100%, 0 100%)}
}


/* Dialogs */
dialog {
    background-color: var(--background);
    color: var(--text);
    border: 1px solid var(--secondary);
    border-radius: 15px;
    box-shadow: 0 0 5px 5px var(--secondaryA);
}

dialog .close {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    color: var(--text);
    font-size: 20px;
    transition-duration: 0.5s;
}

dialog .close:hover {
    background-color: red;
    cursor: pointer;
}

dialog .close i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Column Cards */
.column {
    float: left;
    width: 25%;
    padding: 0 10px;
}
  
/* Remove extra left and right margins, due to padding */
.row {
    margin: 0 -5px;
}
  
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
  
/* Responsive columns */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1500px) {
    .row {
        margin-right: 50px;
    }
}
  
/* Style the counter cards */
.card {
    padding: 16px;
    text-align: center;
    border: 2px solid var(--primary);
    border-radius: 20px;
    height: 250px;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.card i {
	font-size: 50px;
    line-height: 148.5px;
}

.card .icon {
    font-size: 50px;
    font-weight: bold;
}