
:root {
    --nav-width: 40px;
    --link-color: greenyellow;
    --link-hover-color: white;
    --terminal-green: rgb(0, 219, 0);
}
:root:has(.lb-open) {
    overflow: hidden;
}
body {
    overflow-anchor: none;
}

@keyframes loading {
	0% {
		content: ".";
	}
    33% {
        content: "..";
    }
	66% {
		content: "...";
	}
    100% {
		content: ".";
	}
}

::selection {
background: #cc3030;
/* Change highlight text color */
color: #ffffff;
}

/* Lightbox */
#lb {
    display: none;
    position: fixed;
    overflow: hidden;

    top: 0;
    left: 0;
    z-index: 9999;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);

    font-family: monospace;
    font-size: 1rem;
    backdrop-filter: invert(61%) sepia(58%) hue-rotate(86deg) brightness(45%) contrast(200%) blur(5px);
}
#lb a {
    color: var(--link-color);
}
#lb a:hover {
    color: var(--link-hover-color);
}
#lb_wrapper {
    position: fixed;
    display: flex;
    overflow: hidden;

    width: 100%;
    height: 100dvh;
}
#lb_container {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    
    margin: auto;
    padding: 20px;
    height: calc(100dvh - 40px);
}

/* Lightbox exit buttons */
#lb_exitButton {
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: 0;

    cursor: auto !important;

    border-style: none;
    border-radius: 0%;
    background-color: transparent;

    padding: 0;
    height: 100dvh;
    width: 100%;
}
#lb_smallExitButton {
    display: none;
    position: absolute;
    top: 0%;
    right: 0%;
    z-index: 1000;

    height: 50px;
    width: 50px;

    font-size: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--terminal-green);
    color: var(--terminal-green);
}
#lb_smallExitButton:before {
    content: "X";
}

/* Lightbox image */
#lb_imageWrapper {
    position: relative;
    width: fit-content;
    height: fit-content;
    margin: 0 auto;
    display: flex;
}
#lb_image {
    --border-width: 1px;
    --padding: 4px;

    position: relative;
    z-index: 1;

    object-fit: contain;
    image-rendering: auto;

    max-width: calc(100% - (var(--border-width) * 2 + var(--padding) * 2));
    max-height: calc(100% - (var(--border-width) * 2 + var(--padding) * 2));
    margin: auto;
    padding: var(--padding);

    box-sizing: content-box;
    border: var(--border-width) solid var(--terminal-green);
    background: black;
}
#lb_image.lb-noframe {
    border-color: transparent;
    background: transparent;
    filter: drop-shadow(1px 1px 0px green) drop-shadow(-1px -1px 0px green) drop-shadow(1px -1px 0px green) drop-shadow(-1px 1px 0px green) 
}

/* Lightbox info box */
#lb_info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1;

    color: rgb(179, 226, 203);
    background-color: rgb(0, 0, 0);
    margin: 0 auto;
    padding: 1em 1em;

    border: 1px solid var(--terminal-green);
    box-sizing: border-box;
}
#lb_desc {
    padding: 0;
    margin: 0;
    line-height: 1.3rem;
}
#lb_desc code {
    font-size: 0.9em;
    font-family: monospace;
    padding: 0px 2px;
    background-color: black;
    color: var(--terminal-green);
    box-shadow: inset 1px 1px 0px green, inset -1px -1px 0px green;
}
#lb_title {
    font-weight: bold;
    margin: 0;
    padding: 0;
}
#lb_title, #lb_desc {
    color: var(--terminal-green);
}
#lb_tags {
    display: flex;
    gap: 5px;
    font-family: monospace;
    margin-bottom: 5px;
}
#lb_tags span {
    font-size: 0.85em;
    border: none;
    padding: 0;
    color: var(--terminal-green);
}
#lb_tags span:before {
    content: "["
}
#lb_tags span:after {
    content: "]"
}

@media screen and (max-width: 600px) {
    #lb_container {
        padding: 0;
        margin: 0;
        height: calc(100dvh);
    }
    #lb_image {
        margin: 0 auto;
        padding: 0px;
    }
    #lb_smallExitButton {
        display: block;
    }
}

/* Lightbox navigation */
.lb-nav {
    display: none;
    z-index: 1;
    cursor: pointer;

    color: var(--terminal-green);
    background: transparent;
    backdrop-filter: brightness(60%);
    border: 1px solid var(--terminal-green);

    min-width: var(--nav-width);
    max-width: var(--nav-width);
    margin: auto;
    height: 100%;

    font-family: monospace;
    font-size: 20px;
}
.lb-nav:hover, .lb-nav.lb-pressed {
    backdrop-filter: brightness(50%);
    transition: 0.1s;
    color: var(--terminal-green);
    background-color:rgba(0, 219, 0, 0.2);
}
.lb-nav:disabled {
    backdrop-filter: brightness(60%);
    color: rgba(0, 219, 0, 0.2);
    border-color: rgba(0, 219, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.5);
}
#lb_next:before {
    content: ">";
}
#lb_prev:before {
    content: "<";
}
@media screen and (max-width: 600px) {
    .lb-nav {
        position: absolute;
        border: none;
        backdrop-filter: none;
    }
    #lb_next {
        top: 0%;
        right: 0%;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(6, 97, 1, 0.3) 100%
        );
    }
    #lb_prev {
        top: 0%;
        left: 0%;
        background: linear-gradient(
            90deg,
            rgba(6, 97, 1, 0.3) 0%,
            rgba(0, 0, 0, 0) 100%
        );
    }
}

/* Lightbox loading */
#lb_loading {
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: 0;

    opacity: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;

    border: 1px solid var(--terminal-green);
    box-sizing: border-box;
}
#lb_loading:before {
    content: "...";
    animation: loading 1s linear infinite;
    color: var(--terminal-green);
}

/* Gallery grid */
.g-grid:empty {
    font-family: monospace;
    height: 50px;
    border: 1px dashed green;
    color: var(--terminal-green);
}
.g-grid:empty:before {
    content: "Nothing here!";
    margin: auto;
    padding: 5px;
}
.g-grid a {
    color: var(--link-color);
}
.g-grid a:hover {
    color: var(--link-hover-color);
}
.g-loading {
    text-align: center;
}
.g-loading:after {
    content: "...";
    animation: loading 1s linear infinite;
}

/* Gallery grid cell */
.g-gridCell {
    position: relative;
    margin: 8px;
    padding: 4px;
    border: 1px solid var(--terminal-green);
    background: rgb(0, 0, 0);
    box-sizing: content-box;
    display: flex;
}
.g-gridCell.g-noframe {
    background: transparent;
    border-color: transparent;
}
.g-gridCell.g-noframe .g-gridCellImage {
    filter: drop-shadow(1px 1px 0px green) drop-shadow(-1px -1px 0px green) drop-shadow(1px -1px 0px green) drop-shadow(-1px 1px 0px green);
}
.g-gridCellImage {
    order: 1;
    border: 2px solid var(--terminal-green);
    box-sizing: border-box;
}
.g-gridCell.g-noframe:hover .g-gridCellImage {
    filter: unset;
}
.g-gridCellButton {
    order: 2;
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}
.g-gridCellButton:hover {
    cursor: pointer;
}
.g-gridCellEffect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    mix-blend-mode: multiply;
    order: 3;
    display: none;
}
.g-gridCellEffect, .g-image {
    transition: 0.5s ease !important;
}
.g-gridCell:hover {
    background: rgba(0, 219, 0, 0.5);
}
.g-gridCell:hover .g-gridCellEffect {
    transition: 0s ease !important;
    box-shadow: inset 10px 10px 40px rgb(46, 46, 46);
}
.g-gridCell:hover .g-gridCellImage {
    border: 2px solid rgb(0, 0, 0);
}
.g-disabled img {
    opacity: 1 !important;
}
.g-disabled button {
    display: none;
}
.g-gridCellCaption {
    display: block;
    position: absolute;
    bottom: 0%;
    right: 0%;
    z-index: 1;

    margin: 6px;
    padding: 5px;
    background: black;
    color: var(--terminal-green);

    font-size: 0.9rem;
    border: 1px solid var(--terminal-green);

    overflow: hidden;
    text-overflow: ellipsis;

    max-height: 100%;
    max-width: 100%;
}
.g-noframe .g-gridCellCaption {
    margin: 0;
}
.g-gridCellCaption a {
    display: inline-block;
    position: relative;
    z-index: 1;
}
.g-gridCellCaption code {
    font-size: 0.9em;
    background-color: black;
    color: var(--terminal-green);
    box-shadow: inset 1px 1px 0px green, inset -1px -1px 0px green;
}
.g-gridCellCaption.g-smallScreen {
    display: none;
}

.g-gridCellLoading {
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: -1;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid gray;
    box-sizing: border-box;

    width: 100%;
    height: 100%;
}
.g-gridCellLoading:before {
    content: "...";
    animation: loading 1s linear infinite;
}

@media screen and (max-width: 600px) {
    .g-gridCellCaption.g-smallScreen {
        display: block;
    }
    .g-fixedGrid .g-gridCell.g-smallFillWidth {
        width: 100% !important;
        height: unset !important;
    }
    .g-justifiedGridRow.g-smallFillWidth {
        flex-direction: column;
        max-height: unset !important;
        max-width: unset !important;
        height: unset !important;
    }
    .g-justifiedGridRow.g-smallFillWidth .g-gridCellImage {
        width: 100%;
    }
    .g-justifiedGridRow.g-smallFillWidth .g-gridCell {
        box-sizing: border-box;
        width: calc(100% - 16px);
    }
}

/* Gallery justified grid */
.g-justifiedGrid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: safe center;
}
.g-justifiedGridRow {
    display: flex;
}
.g-justifiedGrid .g-gridCell {
    position: relative;
    max-height: 100%;
}
.g-justifiedGrid .g-gridCellButton {
    background: transparent;
    border-style: none;
    z-index: 1;
    top: 0%;
    left: 0%;
}
.g-justifiedGrid .g-gridCellImage {
    max-height: 100%;
}
.g-justifiedGrid .g-gridCellLoading {
    display: none;
}
.g-justifiedGrid.g-gridLoading:before {
    content: "Loading...";
}

/* Gallery fixed grid */
.g-fixedGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0em;
}
.g-fixedGrid .g-gridCell {
    display: inline;
}
.g-fixedGrid .g-gridCellImage {
    background: transparent;
    padding: 0px;
    margin: 0px;
    border-color: transparent;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: auto;
    vertical-align: middle;
}
.g-fixedGrid .g-gridCellButton {
    display: inline;
    background: transparent;
    box-sizing: content-box;
    border-style: none;
    border-width: 0px;
}

/* Gallery pagination */
.g-pageNav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 10px;
    font-family: monospace;
    color: var(--terminal-green);
}
.g-pageNavButton {
    margin: 0;
    cursor: pointer;
    background: black;
    color: var(--terminal-green);
    border: 1px solid var(--terminal-green);
}
.g-pageNavButton:disabled {
    border-color: green;
    color: green;
}
.g-pageNavButton:hover:not(:disabled) {
    background: rgb(0, 73, 18);
}
.g-pageNavPrev:before {
    content: "<";
}
.g-pageNavNext:before {
    content: ">";
}

@media screen and (max-width: 600px) {
    .g-smallScreenHide {
        display: none;
    }
}

/* Gallery sifter */
.g-sifterWrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 10px;
    font-family: monospace;
    font-size: 1.1em;
}
.g-sifter {
    display: flex;
    color: var(--terminal-green);
    accent-color: var(--terminal-green);
    align-items: center;
}
.g-sifter span:not(.g-sifterName) {
    margin: 0px 5px;
}
.g-sifterName {
    display: inline-block;
    text-transform: uppercase;
    color: rgb(0, 173, 0);
    margin-right: 5px;
}
.g-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

/* Filters */
.g-filterInputOther:before {
    content: "N/A"
}

/* Sorts */
.g-sort span:not(.g-sifterName) {
    text-transform: capitalize;
}
.g-sortInputAscending:before {
    content: "ascending";
}
.g-sortInputDescending:before {
    content: "descending";
}
.g-sortAlphabetical .g-sortInputAscending:before {
    content: "A-Z";
}
.g-sortAlphabetical .g-sortInputDescending:before {
    content: "Z-A";
}
/* basics */
body {
    background-image: url(https://miiaqa.neocities.org/16.png);
}

.container {
  max-width: 1000px;  
  margin: 20px auto;
  display: grid;
  grid-gap: 00px;
  grid-template-columns: 200px minmax(0, 1fr);
  font-family: monospace;
}

/*HEADER*/

header {
    border-bottom: rgb(53, 51, 51) 1px solid;
    grid-row:  1 / 2;
    grid-column: 1 / 3;
   box-shadow: 0px 10px 41px -5px rgba(0, 0, 0, 1.00);
   background-color: #000000;

}


/*SIDEBAR*/

nav {
    border-left: rgb(53, 51, 51) 1px solid;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    background-color: #000000;
  box-shadow: 0px 10px 41px -5px rgba(0, 0, 0, 1.00);

}

/*MAIN CONTENT*/

main {
    border-left: rgb(53, 51, 51) 1px solid;
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    padding: 10px;
    background-color: #000000;
    color: #f4f4f4;
   box-shadow: 0px 10px 41px -5px rgba(0, 0, 0, 1.00);
}

.secondcon {
    display: flex;

}

.boxinfo {
    border: rgb(0, 0, 0) 2px solid;
    margin: 10px;
}

.box {
    padding: 10px;
    border: blueviolet 0px solid;
    margin: 10px;
}

.statuscafe {
    border: #27291f 0px ridge;
    margin: 10px;
    border-radius: 5px;
    background-image: url(https://datoxicwaltz.neocities.org/img/bgs/brainnnnnnzzz.png);
    background-size: cover;
}

/*FOOTER*/

footer {
    border: black 2px solid;
    grid-row: 3 / 4;
    grid-column: 1 / 3;
    background-color: #000000;
    color: #f4f4f4;
    box-shadow: 0px 10px 41px -5px rgba(0, 0, 0, 1.00);
    
}

/*TEXT*/

h1 {
  text-align: center;
  color: #ff0000;
}

h2 {
  text-align: center;
  color: #2cc50a;
}

h3 {
  text-align: center;
  color: #2cc50a;
}

/*LINKS*/

ul {
    padding: 0%;
}

ul li::marker {
    content: none;
}

li a {
  display: block;
  color: rgb(255, 255, 255);
  padding: 8px 16px;
  text-decoration: none;
}
li a:hover{
    color: #ff0000;
}

 #text {
    color: #000000;
    animation: blinkingText 1.2s infinite;
  }

  @keyframes blinkingText {
    0% {
      color: #000000;
    }

    49% {
      color: #000000;
    }

    60% {
      color: white;
    }

    99% {
      color: white;
    }

    100% {
      color: #000000;
    }
  }

/*TEXT N IMAGE HOVER*/

/*Tooltip Follow Start*/
.contents {
  cursor: pointer;
  display: inline-block;
}

.contents:hover .contentstooltip {
    opacity: 1;
}

.contents h1 {
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: 2px;
  color: black;
  font-size: 14px;
  text-align: right;
  font-family: serif;
}

.contentstooltip {
  opacity: 0;
  margin-top: -5px;
  margin-left: 32px;
  position: fixed;
  z-index: 1000;
  min-width: 210px;
  max-width: 300px;
  height: auto;
  font-size: 13px;
  line-height: 1.5em;
  text-align: left;
  padding: 0.5em;
  padding-bottom:0.2em;
  background: rgba(0,0,0,0.8);
  color: #fff;
  border-radius:5px;
  pointer-events: none; /* This prevents the box from appearing when hovered. */
  -webkit-transition: opacity .1s linear, top .1s ease-in-out;
  transition: opacity .1s linear, top .1s ease-in-out; 
}

.contentstooltip.arrow-left:after {
  content: " ";
  position: absolute;
  left: -10px;
  top: 5px;
  border-top: 10px solid transparent;
  border-right: 10px solid rgba(0,0,0,0.8);
  border-left: none;
  border-bottom: 10px solid transparent;
}

.contentstooltip h1 {text-align: left;}

.max {width: max-content;}
/*Tooltip Follow End*/



/*IMAGENES*/

.imgone:hover {
    transform: scale(1.1);
}


/*TABS*/

.tab {
  overflow: hidden;
  border: 1px solid #000000;
  background-color: #000000;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  color: #f4f4f4;
  font-family: monospace;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #000000;
  color: #ff0000;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #000000;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #000000;
  border-top: none;
}