html, body {
    height: 100%;
}
select {
    border: 0.1rem solid #9b4dca;
    color: #9b4dca;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-align-last: center;
    margin-bottom: 0.5rem;
}
footer {
    text-align: center;
}
input[type=checkbox] {
    display: none;
}
input[type=checkbox] + label {
    display: inline-block;
    cursor: pointer;
    border-radius: 0.4rem;
    border: 0.1rem solid #9B4DCA;
    color: #9B4DCA;
    box-sizing: border-box;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    height: 3.8rem;
    letter-spacing: 0.1rem;
    line-height: 3.8rem;
    padding: 0px 3rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: 0;
    width: 100%;
}
input[type=checkbox]:checked + label {
    background-color: #9B4DCA;
    color: white;
}
.progress {
  width: 100%;
  height: 5px;
  background-color: #b5b5b5;
  display: block;
}
.progress > div {
   background-color: #9B4DCA;
   width: 10%;
   height: 5px;
}
#upload-btn {
    width: 100%;
}
#upload-text {
    height: 150px;
    margin-bottom: 0;
}
.wrapper {
    min-height: 88%;
}
.wrapper:after {
    content: "";
    display: block;
}
.fullheader {
    text-align: center;
    margin-top: 7.5rem;
}
.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.inputfile + label {
    cursor: pointer;
    border-radius: 0.4rem;
    border: 0.1rem dotted #9B4DCA;
    color: #9B4DCA;
    box-sizing: border-box;
    
    /* Use Flexbox for centering */
    display: flex;                
    align-items: center;          /* Vertical center */
    justify-content: center;       /* Horizontal center */
    
    font-size: 1.4rem;
    font-weight: 700;
    height: 150px;                /* Keeps it vertically larger */
    letter-spacing: 0.1rem;
    padding: 0px 3rem;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    width: 100%;
}
.inputfile + label svg {
    width: 1.5em;
    height: 1.5em;
    fill: #9B4DCA;
    margin-right: 0.75em;
    margin-top: 0;         /* Change from -0.25em to 0 */
    vertical-align: middle;
}
.circle {
    position: absolute;
    display: block;
    border-radius: 50%;
    border: 2px solid #C04CFD;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
}
.circle1 {
    animation: rotate1 1s infinite linear;
    border-color: #9B4DCA;
    height: 40px;
    width: 40px;
    margin: -20px;
}
.circle2 {
    animation: rotate2 1s infinite linear;
    border-color: #9B4DCA;
    height: 20px;
    width: 20px;
    margin: -10px;
}
@keyframes rotate1 {
    0% {
        transform: rotateZ(20deg) rotateY(0deg)
    }
    100% {
        transform: rotateZ(100deg) rotateY(360deg)
    }
}
@keyframes rotate2 {
    0% {
        transform: rotateZ(100deg) rotateX(0deg)
    }
    100% {
        transform: rotateZ(0deg) rotateX(360deg)
    }
}

/* Animation 1 BEGIN */
.loader {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.truckWrapper {
  width: 200px;
  height: 100px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  overflow-x: hidden;
}
/* truck upper body */
.truckBody {
  width: 130px;
  height: fit-content;
  margin-bottom: 6px;
  animation: motion 1s linear infinite;
}
/* truck suspension animation*/
@keyframes motion {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* truck's tires */
.truckTires {
  width: 130px;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10px 0px 15px;
  position: absolute;
  bottom: 0;
}
.truckTires svg {
  width: 24px;
}

.road {
  width: 100%;
  height: 1.5px;
  background-color: #282828;
  position: relative;
  bottom: 0;
  align-self: flex-end;
  border-radius: 3px;
}
.road::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 100%;
  background-color: #282828;
  right: -50%;
  border-radius: 3px;
  animation: roadAnimation 2s linear infinite;
  border-left: 10px solid white;
}
.road::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 100%;
  background-color: #282828;
  right: -65%;
  border-radius: 3px;
  animation: roadAnimation 2s linear infinite;
  border-left: 4px solid white;
}

.lampPost {
  position: absolute;
  bottom: 0;
  right: -90%;
  height: 90px;
  animation: roadAnimation 2s linear infinite;
}

@keyframes roadAnimation {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-350px);
  }
}

/* Animation 1 END */


/* Drag drop zone BEGIN */
/* Drag and Drop Styling */

.drop-zone--over {
    background-color: #f4f5f6; /* Light gray background */
    border: 2px dashed #9b4dca !important; /* Highlighted border */
}
/* Drag and Drop zone End */        

/* Error message BEGIN */

/* The "Blinking" animation for the cursor */
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  /* Subtle flicker to mimic an old CRT monitor */
  @keyframes flicker {
    0% { opacity: 0.99; }
    5% { opacity: 0.95; }
    10% { opacity: 0.99; }
    100% { opacity: 1; }
  }

  .body-when-error { background-color: #1a1a1a; }

  .terminal-box {
    background-color: #050505;
    color: #20C20E; 
    font-family: 'Courier New', Courier, monospace;
    padding: 10px;
    border: 2px solid #20C20E;
    box-shadow: 0 0 15px rgba(32, 194, 14, 0.4);
    animation: flicker 0.15s infinite;
    line-height: 1.5;
  }

  .terminal-box a {
    font-family: 'Courier New', Courier, monospace;
    color: #20C20E !important; 
  }

  .cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background-color: #20C20E;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
  }
 /* Error message END */


/* Base
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

img {
    max-width: 100%;
}
.wrapper {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

/* Sections
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

input[type="password"] {
    text-align: center;
}

.container {
    position: relative;
}

.container {
    /*border-top: .1rem solid #d1d1d1;*/
    /* padding-top: 3rem; */
    /* padding-bottom: 3rem; */
    /* margin-bottom: 0; */
    /* max-width: 80.0rem; */
}
.example .row, .example.row, .example form {
    margin-bottom: 0;
}
.example h1, .example h2, .example h3, .example h4, .example h5, .example h6 {
    margin-bottom: 1rem;
}

/* Footer
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.footer .container {
    padding-bottom: 0;
    padding-top: 0;
}

/* Header
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.header {
    background-color: #f4f5f6;
    height: 100vh;
    padding-top: 50px;
}
.header .container {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-top: 0;
    text-align: center;
}
.header .title {
    font-family: 'Gotham Rounded A', 'Gotham Rounded B', 'Helvetica Neue', Arial, sans-serif;
}
.header .img {
    height: 15.0rem;
    margin-bottom: 2rem;
}
.header + section {
    border-top: 0;
}
@media (min-width: 40.0rem) {
    .header .button {
        margin-top: 6rem;
    }
}

/* Grid
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.column-demo {
    background: #d1d1d1;
    display: block;
    text-align: center;
    border-radius: .4rem;
    font-size: 1rem;
    text-transform: uppercase;
    height: 3.0rem;
    line-height: 3.0rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: .1rem;
}

/* Typography
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.heading-font-size {
    font-size: 1.2rem;
    color: #999;
    letter-spacing: normal;
}

/* Form
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.example-send-yourself-copy {
    float: right;
    margin-top: 1.2rem;
}

/* Tips
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.button-black {
    background-color: black;
    border-color: black;
}
.button-black.button-outline {
    color: black;
}
.button-black.button-clear {
    color: black;
}
.button-large {
    font-size: 1.4rem;
    height: 4.5rem;
    line-height: 4.5rem;
    padding: 0 2rem;
}
.button-small {
    font-size: .8rem;
    height: 2.8rem;
    line-height: 2.8rem;
    padding: 0 1.5rem;
}

/* Snippets, Exemples
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.example {
    position: relative;
    margin-top: 4rem;
}
.example-header {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}
.example-description {
    margin-bottom: 1.5rem;
}
.example-screenshot-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: .6rem;
    border: .1rem solid #d1d1d1;
    height: 25.0rem;
}
.example-screenshot {
    width: 100%;
    height: auto;
}
.example-screenshot.coming-soon {
    width: auto;
    position: absolute;
    background: #d1d1d1;
    top: .5rem;
    right: .5rem;
    bottom: .5rem;
    left: .5rem;
}
.example-screenshot-wrapper {
    position: absolute;
    width: 48%;
    height: 100%;
    left: 0;
    max-height: none;
}

/* Navbar
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.navigation {
    left: 0;
    max-width: 100%;
    position: fixed;
    right: 0;
    top: 0;
    max-width: 100vw;
    z-index: 99;
}

/* Re-overiding the width 100% declaration to match size of% based container */

.navigation .container {
    padding-top: 0;
    padding-bottom: 0;
}
.navigation {
    background: white;
    border-bottom: 1px solid #d1d1d1;
    display: block;
    height: 5.2rem;
    width: 100%;
}
.navigation-list {
    list-style: none;
    margin-bottom: 0;
    margin-right: 5.0rem;
}
@media (min-width: 80.0rem) {
    .navigation-list {
        margin-right: 0;
    }
}
.navigation-item {
    float: left;
    margin-bottom: 0;
    margin-left: 2.5rem;
    position: relative;
}
.navigation .img {
    position: relative;
    top: .3rem;
    height: 2.0rem;
}
.navigation .title, .navigation-title {
    color: #606c76;
    display: inline;
    font-family: 'Gotham Rounded A', 'Gotham Rounded B', 'Helvetica Neue', Arial, sans-serif;
    line-height: 5.2rem;
    font-size: 1.6rem;
    padding: 0;
    position: relative;
    text-decoration: none;
}
.navigation-link {
    display: inline;
    line-height: 5.2rem;
    font-size: 1.6rem;
    padding: 0;
    text-decoration: none;
}
.navigation-link.active {
    color: #606c76;
}

/* Github */

.github-corner {
    border: 0;
    color: #f4f5f6;
    fill: #9b4dcA;
    height: 5.2rem;
    position: fixed;
    right: 0;
    z-index: 99;
    top: 0;
    width: 5.2rem;
}
.github-corner:hover .octo-arm {
    -webkit-animation: octocat-wave 560ms infinite;
    -moz-animation: octocat-wave 560ms infinite;
    -ms-animation: octocat-wave 560ms infinite;
    -o-animation: octocat-wave 560ms infinite;
    animation: octocat-wave 560ms infinite;
}
@-webkit-keyframes octocat-wave {
    0%, 50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }
    25%, 75% {
        -webkit-transform: rotate(-25deg);
        -moz-transform: rotate(-25deg);
        -ms-transform: rotate(-25deg);
        -o-transform: rotate(-25deg);
        transform: rotate(-25deg);
    }
}
@-moz-keyframes octocat-wave {
    0%, 50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }
    25%, 75% {
        -webkit-transform: rotate(-25deg);
        -moz-transform: rotate(-25deg);
        -ms-transform: rotate(-25deg);
        -o-transform: rotate(-25deg);
        transform: rotate(-25deg);
    }
}
@-ms-keyframes octocat-wave {
    0%, 50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }
    25%, 75% {
        -webkit-transform: rotate(-25deg);
        -moz-transform: rotate(-25deg);
        -ms-transform: rotate(-25deg);
        -o-transform: rotate(-25deg);
        transform: rotate(-25deg);
    }
}
@-o-keyframes octocat-wave {
    0%, 50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }
    25%, 75% {
        -webkit-transform: rotate(-25deg);
        -moz-transform: rotate(-25deg);
        -ms-transform: rotate(-25deg);
        -o-transform: rotate(-25deg);
        transform: rotate(-25deg);
    }
}
@keyframes octocat-wave {
    0%, 50% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    25%, 75% {
        -webkit-transform: rotate(-25deg);
        transform: rotate(-25deg);
    }
}

/* Popover
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

.popover.popover-open {
    display: block;
}
.popover {
    background: #fff;
    border: .1rem solid #d1d1d1;
    border-radius: .4rem;
    display: none;
    left: 50%;
    min-width: 13.4rem;
    position: absolute;
    top: 94%;
    -webkit-filter: drop-shadow(0 0 .6rem rgba(0, 0, 0, .1));
    -moz-filter: drop-shadow(0 0 .6rem rgba(0, 0, 0, .1));
    filter: drop-shadow(0 0 .6rem rgba(0, 0, 0, .1));
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.popover-item:first-child .popover-link:after, .popover-item:first-child .popover-link:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.popover-item:first-child .popover-link:after {
    border-color: transparent;
    border-bottom-color: #fff;
    border-width: 1.0rem;
    margin-left: -1.0rem;
}
.popover-item:first-child .popover-link:before {
    border-color: rgba(238, 238, 238, 0);
    border-bottom-color: #d1d1d1;
    border-width: 1.1rem;
    margin-left: -1.1rem;
}
.popover-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.popover-item {
    padding: 0;
    margin: 0;
}
.popover-link {
    position: relative;
    color: #606c76;
    display: block;
    padding: .8rem 2.0rem;
    border-bottom: .1rem solid #d1d1d1;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center;
}
.popover-item:first-child .popover-link {
    border-radius: .4rem .4rem 0 0;
}
.popover-item:last-child .popover-link {
    border-radius: 0 0 .4rem .4rem;
    border-bottom-width: 0;
}
.popover-link:hover {
    color: #ffffff;
    background: #9b4dca;
}
.popover-link:hover, .popover-item:first-child .popover-link:hover:after {
    border-bottom-color: #9b4dca;
}

/* Share */

.share, .share-list, .share-list a {
    position: relative;
    text-decoration: none;
}
.share-item {
    display: inline-block;
    margin: 1.0rem .1rem;
}
.share-icon {
    background-color: #9b4dca;
    border-radius: .4rem;
    color: #ffffff;
    display: block;
    font-size: 1.5rem;
    height: 2.2rem;
    line-height: 2.2rem;
    text-align: center;
    width: 5.0rem;
}
.share-icon:hover {
    background-color: #606c76;
}
@media (min-width: 40.0rem) {
    .only-mobile {
        display: none;
    }
}

/* Prettify
// –––––––––––––––––––––––––––––––––––––––––––––––––– */

pre.prettyprint {
    border: 0 !important;
    border-left: .3rem solid #9b4dca !important;
    color: #655d5d;
}

/* string content */

pre.prettyprint .str {
    color: #4b8b8b;
}

/* a keyword */

pre.prettyprint .kwd {
    color: #8464c4;
}

/* a comment */

pre.prettyprint .com {
    color: #adadad;
}

/* a type name */

pre.prettyprint .typ {
    color: #7272ca;
}

/* a literal value */

pre.prettyprint .lit {
    color: #9b4dca;
}

/* punctuation */

pre.prettyprint .pun {
    color: #5485b6;
}

/* lisp open bracket */

pre.prettyprint .opn {
    color: #f4ecec;
}

/* lisp close bracket */

pre.prettyprint .clo {
    color: #f4ecec;
}

/* a markup tag name */

pre.prettyprint .tag {
    color: #9b4dca;
}

/* a markup attribute name */

pre.prettyprint .atn {
    color: #9b4dca;
}

/* a markup attribute value */

pre.prettyprint .atv {
    color: #5485b6;
}

/* a declaration */

pre.prettyprint .dec {
    color: #b45a3c;
}

/* a variable name */

pre.prettyprint .var {
    color: #ca4949;
}

/* a function name */

pre.prettyprint .fun {
    color: #7272ca;
}

/* markdown content */

pre.prettyprint.lang-md * {
    color: #655d5d !important;
}


/* DARK MODE 1 BEGIN */
/* Minimalist Toggle Design */
/* Positioning for the toggle */

/* #mode-switch-container-id {
    
} */

.mode-switch-container {
    position: relative;
    z-index: 9999;
}

/* Dark Mode Theme Overrides */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode .title, .dark-mode h2 { color: #ffffff; }

.dark-mode select, 
.dark-mode input[type=password],
.dark-mode textarea {
    background-color: #1e1e1e;
    color: #9b4dca;
    border-color: #9b4dca;
}

.dark-mode .drop-zone {
    background-color: #1a1a1a;
    border-color: #9b4dca;
}
/* DARK MODE 1 END */

/* DARK MODE BUTTON BEGIN */
/* From Uiverse.io by JustCode14 */ 
/* Theme Switch */
/* The switch - the box around the slider */

.no-transition,
.no-transition *,
.no-transition *:before,
.no-transition *:after {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 4em;
  height: 2.2em;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Hide default HTML checkbox */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 64px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #9b4dca; /* Matches your current purple theme */
    transition: .4s;
    border-radius: 30px;
    overflow: hidden;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}

/* Logic for when the checkbox is checked (Dark Mode) */
input:checked + .slider {
    background-color: #282828;
}

input:checked + .slider:before {
    transform: translateX(30px);
    background-color: #f4f4f4;
    box-shadow: inset -8px -2px 0 0 #9b4dca; /* Creates moon crescent effect */
}

/* Stars and Clouds inside the switch */
.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    transition: .4s;
    opacity: 0;
}
.star_1 { width: 2px; height: 2px; top: 8px; left: 15px; }
.star_2 { width: 3px; height: 3px; top: 18px; left: 10px; }
.star_3 { width: 2px; height: 2px; top: 22px; left: 20px; }

input:checked + .slider .star { opacity: 1; }

.cloud {
    position: absolute;
    width: 20px;
    bottom: 5px;
    left: 10px;
    transition: .4s;
}

input:checked + .slider .cloud {
    transform: translateX(40px);
    opacity: 0;
}
/* DARK MODE BUTTON END */
