.vignette {
	position: fixed;
	height: 100dvh;
	width: 100%;
	box-shadow: inset 0px 0px 100px rgb(231, 31, 205);
	mix-blend-mode: color-dodge;
}

#character-image {
    height: 100%;
    width: 100%;
    top: 0%;
    left: 0%;
    position: absolute;
    object-fit: cover;
    image-rendering: pixelated;
    border-radius: var(--card-border-radius);
    z-index: 0;
}

/** CONTAINER */
.container {
    margin: auto;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    gap: 1em;
    padding-bottom: 20px;
}

/** GRID */
#grid {
    min-height: 524px;
}
.g-grid:empty {
    display: none;
}

/** CHARACTER PROFILE */
#character-profile {
    position: relative;
    display: flex;
    width: 100%;
}

/** CHARACTER CARD */
#character-card {
    position: relative;
    border-color: yellow;
    border-style: solid;
    border-width: 1px;
    border-radius: var(--card-border-radius);
    max-height: 450px;          min-height: 300px;
    max-width: 450px;           min-width: 322px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 10px 10px black;
}

#character-image {
    height: 100%;
    width: 100%;
    top: 0%;
    left: 0%;
    position: absolute;
    object-fit: cover;
    image-rendering: pixelated;
    border-radius: var(--card-border-radius);
    z-index: 0;
}
#card-header {
    position: relative;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.104),
    rgba(29, 0, 26, 0.334), 
        rgba(83, 0, 116, 0.671),
        rgba(29, 0, 24, 0.334), 
                rgba(0, 0, 0, 0.104));
    border-top-left-radius: var(--card-border-radius);
    border-top-right-radius: var(--card-border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
}
#character-name {
    width: fit-content;
    color: rgb(255, 255, 255);
    font-family: "Silkscreen";
    margin: 0;
    padding: 5px 7px;
    font-size: 70px;
    text-align: center;
    text-shadow: 1px 1px 2px #f6d354;
    z-index: 2;
    flex-grow: 1;
    font-width: 10px;
}
#character-types {
    display: flex;
    margin: 0;
    padding: 8px;
    gap: 5px;
    image-rendering: pixelated;
    width: fit-content;
    z-index: 2;
}
#character-types img {
    height: 1.5em;
}
#image-credit {
    color: #f6d354;
    max-width: 300px;
}
#image-credit p {
    margin: 0;
    font-size: 0.8em;
    font-style: italic;
    text-align: right;
}
#card-footer {
    width:inherit;
    height: 1em;
    border-bottom-left-radius: var(--card-border-radius);
    border-bottom-right-radius: var(--card-border-radius);
    flex-direction: column;
    align-content: center;
    padding: 10px;
    /*background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 85%, rgba(0,0,0,0) 100%); */
    z-index: 1;
}
#card-center {
    position: relative;
    flex-grow: 1;
}
.card-text {
    font-family: "Bodoni Ornaments ITC";
    color: #f6d354;;
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: vertical; /*ahhh, por eso*/
    font-size: 0.8em;
    letter-spacing: 5px;
    margin: 10px 10px;
    mix-blend-mode: color-dodge;
    text-transform: lowercase;
    z-index: 1;
}
#card-name-text {
    top: 0%;
    left: 0%;
}
#card-world-text {
    bottom: 0%;
    right: 0%;
}

/** CHARACTER INFO */
#character-info-wrapper {
    border-top: 1px solid #f6d354;
    border-left: 1px solid #f6d354;
    border-bottom: 1px solid #f6d354;
    border-radius: var(--info-border-radius);
    display: flex;
    flex-grow: 1;
    box-shadow: 10px 10px 10px black;
    box-sizing: border-box;
    /*background-image: url("IMG/estaticoso.jpg");
    background-size: 100% 100%;
        margin-left: 16px;*/


}
#character-info {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 20px;
    border-top-left-radius: var(--info-border-radius);
    border-bottom-left-radius: var(--info-border-radius);
    flex-grow: 1;
}
#character-info hr {
    width: 100%;
    border-bottom-style: dashed;
    border-top-style: none;
    border-color: green;
}
#character-world {
    font-family: "Consolas";
    color: rgb(255, 255, 255);
    margin: 0px 0px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgb(255, 255, 255);
    writing-mode: vertical-rl;
    text-orientation: vertical;
    font-size: 1em;
    letter-spacing: 10px;
    background: linear-gradient(0deg, 
    rgba(5, 155, 0, 0.3) 0%, 
    rgba(56, 56, 56, 0.5) 25%, 
    rgba(71, 71, 71, 0.5) 75%,
    rgba(5, 155, 0, 0.3) 100%); 
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    max-width: 50px;
    display: flex;
    align-items:flex-start;
}
#character-world .tab {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#character-world .tablinks {
  display: block;
  width: 100%;
  margin-bottom: 6px;
}
/*#character-world .tablinks.active {
  /*background-color: rgba(255,255,255,0.15);
}*/

/** CHARACTER STATS */
#character-stats {
    font-size: 0.9em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
.stat {
    width: fit-content;
    margin: 0;
    color: var(--lime-green);
}
.stat-label {
    text-transform: uppercase;
    color: #f6d354;
    font-weight: bold;
}
.stat-divider {
    margin: 0px 5px;
}

/** CHARACTER DESCRIPTION */
#character-desc {
    color: white;
    text-align: center;
    height: fit-content;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
    max-width: 500px;
    margin: 1em auto;
}
#character-desc p {
    margin: 0;
}
#character-desc a {
    color: white;
    text-decoration: underline;
}
#character-desc a:hover {
    color: var(--lime-green);
}

/** CHARACTER LINK */
#character-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    white-space: nowrap;
}
#links-title {
    font-family: "Silkscreen";
    color: #f6d354;
    margin: 0;
    text-align: left;
    margin: 10px 0px;
}
#links-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    text-align: left;
    gap: 1em;
}
.link-container {
    background-color: rgb(0, 0, 0);
    padding: 5px 6px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--lime-green);
    border-radius: 5px;
}
.link-container:hover {
    background-color: var(--lime-green);
}
.link-container:hover p {
    color: black;
}
.link p {
    margin: 0;
    color: var(--lime-green);
    display: flex;
    gap: 5px;
}
.link-label {
    text-transform: uppercase;
}

/** Lightbox */
#lb-desc {
    font-family: "Consolas";
}
.credit {
    color: var(--lime-green);
}
#lb-desc a {
    color: var(--lime-green);
    text-decoration: underline;
}
#lb-desc a:hover {
    color: #f6d354;
}
.g-gridCellImage {
    image-rendering: auto;
}
#page-nav {
    margin-top: 20px;
}






* {box-sizing: border-box}

/* Style the tab */
.tab {
  float: left;
  /*background-color: #f1f1f1;
  height: 300px;*/
}
#character-world .tab {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem;
}
#character-world .tab .tablinks,
#character-world .tab button {
  display: block !important;
  width: 100% !important;
  text-align: left;
}
/* Style the buttons that are used to open the tab content */
.tab button {
  display: block;
  background-color: inherit;
  color: white;
  padding: 18px 11px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
   writing-mode: vertical-rl;
    text-orientation: vertical;
}

/* Change background color of buttons on hover */
.tab button:hover {
  color: #f6d354;
  border-left: 1px solid #f6d354;
}

/* Create an active/current "tab button" class */
.tab button.active {
  color: white;
  animation: glitch 0.3s;
      animation-iteration-count: infinite;
      text-shadow: 1px 0px 0px rgba(0, 166, 199, 0.478), 
  -1px 0px 0px rgba(199, 0, 129, 0.46),  
  0px 1px 0px rgba(199, 172, 0, 0.442), 
  0px -1px 0px rgba(146, 199, 0, 0.383), 
  0px 0px 5px rgba(199, 0, 56, 0.3), 
  0px 0px 3px rgba(199, 0, 149, 0.512);
}

/* Style the tab content */
.tabcontent {
    text-align:justify;
    margin: -15px 20px 5px 30px;

}

.h2aoir {
    color: #E1DED9 ;/*#FC7643;*/
      border-bottom: thick double #755468;/*#AF4F41;*/
      transition: color 0.2s;    
      font-weight: bold;
    letter-spacing: 2px;
}
.h3aoir{
   color: #E1DED9 ;/*#FC7643;*/
      border-bottom: thick double #755468;/*#AF4F41;*/
      transition: color 0.2s;    
      font-weight: bold;
    letter-spacing: 2px; 
}
.texto-chico {
      font-size: 13px;
      text-align: justify;
      background-color: #66666628;
      color: rgba(241, 226, 251, 0.401);

    }
.titulinis {
  color: #f6d354;
}
.NonBinary{
    background: linear-gradient(to right, rgb(253, 219, 0), rgb(238, 212, 143), rgb(255, 255, 255) 30%, rgb(255, 255, 255) 36%, rgb(212, 181, 222), rgb(156, 92, 212), rgb(88, 50, 96), rgb(0, 0, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block
}
.Agender{
    background: linear-gradient(to right, rgb(0, 0, 0), rgb(103, 103, 103), rgb(205, 205, 205), rgb(230, 230, 230), rgb(255, 255, 255), rgb(228, 239, 201), rgb(186, 244, 132)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block
}
.Ace{
    background: linear-gradient(to right, rgb(0, 0, 0), rgb(81, 81, 80), rgb(163, 162, 160), rgb(209, 208, 208), rgb(255, 255, 255) 60%, rgb(255, 255, 255), rgb(255, 255, 255) 70%, rgb(185, 151, 185), rgb(101, 46, 129)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block
}
.Bisexual
{
    background:linear-gradient(to right, rgb(255, 0, 128), rgb(200, 37, 157), rgb(140, 71, 153), rgb(68, 46, 159), rgb(0, 50, 160))
}
.Gay{
    background:linear-gradient(to right, rgb(7, 141, 111), rgb(152, 202, 153), rgb(255, 255, 255) 45%, rgb(255, 255, 255), rgb(255, 255, 255) 55%, rgb(205, 208, 234), rgb(123, 173, 226) 70%, rgb(69, 76, 189), rgb(63, 26, 121)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block
}
.Lesbian{
    background:linear-gradient(to right, rgb(213, 44, 0), rgb(226, 150, 136), rgb(255, 255, 255) 45%, rgb(255, 255, 255), rgb(255, 255, 255) 55%, rgb(210, 127, 164), rgb(162, 2, 98)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block
}
.Trans{
    background: linear-gradient(to right, rgb(85, 205, 252), rgb(179, 157, 233), rgb(247, 168, 184), rgb(246, 216, 221), rgb(255, 255, 255) 45%, rgb(255, 255, 255), rgb(255, 255, 255) 55%, rgb(246, 216, 221), rgb(247, 168, 184), rgb(179, 157, 233), rgb(85, 205, 252)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block
}
