@import url("/assets/css/alive.css");

/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} menu,article,aside,details,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{}button,select{text-transform:none}[type=submit], [type=reset],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none};

/*------------------------------------*\
    Apaxy with alive.css Theme
\*------------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
  color: var(--text-primary, #e0aaff);
  background-color: var(--bg-void, #0a0714);
  font-weight: 400;
  font-size: 1em;
  font-family: 'Courier New', monospace;
  line-height: 1.8em;
}

body {
  padding: 20px;
  background-color: var(--bg-void, #0a0714);
  color: var(--text-primary, #e0aaff);
  font-family: 'Courier New', monospace;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-backface-visibility: hidden;
}

code {
  font-family: 'Courier New', monospace;
}

a {
  color: var(--holo-cyan, #00e5ff);
  text-decoration: none;
  transition: all 0.2s ease;
}

a, img {
  border: none;
  outline: none;
}

a > img:hover {
  opacity: 0.6;
}

a:hover {
  color: var(--holo-glow, #7df9ff);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/*------------------------------------*\
    Wrapper & Layout
\*------------------------------------*/

.wrapper {
  margin: 0 auto;
  padding-top: 15px;
  max-width: 90%;
  position: relative;
  z-index: 2;
}

#indextitle {
  color: var(--purple-200, #e0aaff);
  text-shadow:
    0 0 10px rgba(157, 78, 221, 0.6),
    0 0 20px rgba(157, 78, 221, 0.4),
    0 0 40px rgba(0, 229, 255, 0.15);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.top-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.digital-clock {
  font-family: 'Courier New', monospace;
  color: var(--holo-cyan, #00e5ff);
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
  font-size: 0.9em;
}

/*------------------------------------*\
    Filter (search box)
\*------------------------------------*/
#filter {
  background: rgba(13, 8, 32, 0.9);
  border: 1px solid rgba(157, 78, 221, 0.35);
  color: var(--holo-cyan, #00e5ff);
  font-family: 'Courier New', monospace;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85em;
  letter-spacing: 1px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
  width: 12em;
}

#filter:focus {
  border-color: var(--holo-cyan, #00e5ff);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.35), inset 0 0 8px rgba(0, 0, 0, 0.5);
  width: 16em;
}

#filter::placeholder {
  color: var(--text-faint, #5a4278);
}

/*------------------------------------*\
    Demo block
\*------------------------------------*/

.block {
  font-size: .875em;
  margin: 20px 0;
  padding: 20px;
  color: var(--text-dim, #9d7ab8);
}

/*------------------------------------*\
    Table (directory listing)
\*------------------------------------*/

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875em;
  color: var(--text-dim, #9d7ab8);
  background: rgba(18, 11, 34, 0.8);
  border: 1px solid rgba(157, 78, 221, 0.25);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(10, 7, 20, 0.8), 0 0 20px rgba(157, 78, 221, 0.1);
}

.odd {
  background-color: rgba(34, 23, 65, 0.35);
}

tr {
  outline: 0;
  border: 0;
}

tr.indexhead {
  border-bottom: 2px solid rgba(0, 229, 255, 0.3);
  background: rgba(26, 16, 48, 0.95);
}

tr:not(.indexhead):hover {
  background: rgba(157, 78, 221, 0.15);
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.15) inset;
}

th {
  text-align: left;
  font-size: .8em;
  padding: 12px 14px;
  color: var(--holo-cyan, #00e5ff);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

th a {
  color: var(--holo-cyan, #00e5ff);
}

th a:hover {
  color: var(--holo-glow, #7df9ff);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* 2nd Column: Filename */
th + th {
  width: 65%;
}

/* 4th Column: Size */
th + th + th + th {
  width: 8%;
}

tr th:first-of-type,
tr td:first-of-type {
  padding-left: 14px;
  padding-right: 10px;
  width: 30px;
}

td {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(157, 78, 221, 0.12);
  vertical-align: middle;
  text-align: left;
  transition: background 200ms ease;
  color: var(--text-dim, #9d7ab8);
}

td.indexcolname a {
  color: var(--holo-soft, #a8f0ff);
  display: block;
}

td.indexcolname a:hover {
  color: var(--holo-glow, #7df9ff);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

tr.parent a[href^="/"] {
  color: var(--purple-300, #c77dff);
}

.parent a[href^="/"]:hover {
  color: var(--holo-cyan, #00e5ff);
}

/*------------------------------------*\
    Footer
\*------------------------------------*/

.footer {
  text-align: center;
  font-size: .8em;
  color: var(--text-faint, #5a4278);
  margin-top: 30px;
  padding: 15px;
  position: relative;
  z-index: 2;
}

.footer a {
  color: var(--purple-400, #9d4edd);
}

.footer a:hover {
  color: var(--holo-cyan, #00e5ff);
}

/*------------------------------------*\
    Media query for small screens
\*------------------------------------*/
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  .wrapper {
    max-width: 100%;
  }
  .indexcolname {
    width: 95%;
  }
  .indexcollastmod {
    display: none;
  }
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .top-controls {
    width: 100%;
    justify-content: space-between;
  }
  #filter {
    width: 100%;
  }
  #filter:focus {
    width: 100%;
  }
}

/*------------------------------------*\
    Error pages
\*------------------------------------*/
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeDown {
  animation: fadeDown 0.8s ease;
}

.fadeDown .center {
  text-align: center;
  position: relative;
  z-index: 2;
  padding-top: 15vh;
}

.errorCode {
  font-size: 96px;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  color: var(--holo-cyan, #00e5ff);
  text-shadow:
    0 0 15px rgba(0, 229, 255, 0.7),
    0 0 30px rgba(157, 78, 221, 0.5);
  letter-spacing: 6px;
  margin: 15px 0;
}

.fadeDown .center p {
  color: var(--text-dim, #9d7ab8);
  font-size: 1.15rem;
  letter-spacing: 1px;
}

/*------------------------------------*\
    Breadcrumb
\*------------------------------------*/

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  color: var(--text-faint, #5a4278);
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  position: relative;
  white-space: nowrap;
}

.breadcrumb li::before,
.breadcrumb li::after {
  display: none !important;
}

.breadcrumb li + li::before {
  content: '/' !important;
  display: inline-block !important;
  margin-right: 8px;
  color: var(--purple-400, #9d4edd) !important;
  border: none !important;
  position: static !important;
  height: auto !important;
  transform: none !important;
}

.breadcrumb li a {
  color: var(--purple-300, #c77dff);
  text-decoration: none;
}

.breadcrumb li a:hover {
  color: var(--holo-cyan, #00e5ff);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.breadcrumb li.active {
  color: var(--holo-cyan, #00e5ff);
  font-weight: bold;
}
