
body {
  background: black; /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	color: black;
	font-size: 13px;
	line-height: 125%;
	font-family: "Open Sans", sans-serif;
  }



.rotate {
  transform: scaleX(1) scaleY(1) scaleZ(0.5) rotateX(32deg) rotateY(5deg) rotateZ(-9deg) translateX(0px) translateY(0px) translateZ(0px) skewX(8deg) skewY(0deg);
  perspective: 79px;
  perspective-origin: 50% 50%;
}




.containerflex {
  display: flex; /* or inline-flex */
}




.floatingcontainer {
    position: relative; /* Establishes a positioning context for absolutely positioned elements */
}
.positioned-imageINDEX {
    position: absolute; /* Enables positioning the image */
	top: -73px;
    right: -30x; /* Adjusts the horizontal position */
    width: 500px; /* Increased image width */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Resets any default margin */
	 margin-top: -23%;
	margin-bottom: 40px;
}


.positioned-imageFIRSTMAIN {
    position: absolute; /* Enables positioning the image */
	top: -216px;
    right: 110px; /* Adjusts the horizontal position */
    width: 500px; /* Increased image width */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Resets any default margin */
	 margin-top: -23%;
	margin-bottom: 40px;
   }




.p1 {
	color: black;
	font-size: 8px;
	font-family: "Open Sans", sans-serif;
  }


.p2 {
	color: black;
	font-size: 16px;
	font-family: "Open Sans", sans-serif;
  }
  

.h1 {
	color: black;
	font-size: 21px;
	font-family: "Open Sans", sans-serif;
  }
  
  
.h2 {
	color: black;
	font-size: 34px;
	font-family: "Open Sans", sans-serif;
  }
  
.h3 {
	color: black;
	font-size: 34px;
	font-family: "Open Sans", sans-serif;
  }
  

  
  
#grid container for text,
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
  background-color: dodgerblue;
  padding: 10px;
}
.grid-container > div {
  background-color: #f1f1f1;
  color: #000;
  padding: 10px;
  font-size: 30px;
  text-align: center;
}



  

  
  #rainbow text gradient,
  .easyread {
  background-color: #0c1ca1;
  background-image: linear-gradient(transparent 30%, #9d5b88 50%, transparent 70%), radial-gradient(transparent 5%, #167ac8 30%, transparent 45%, #0f2350 75%, #342424 80%, transparent 90%), linear-gradient(to right, transparent 3%, #af1e67 20%, #29b671 45%, #9a11a5 55%, #234288 70%, transparent 95%);
  background-size: 100% 400px;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}


  #japanese text,
  .jpn {
	text-transform: full-width;
	text-transform: full-size-kana;
}

#japanese text vertical,
.jpn_vertical {
	text-transform: full-width;
	text-transform: full-size-kana;
  writing-mode: vertical-lr;
}
  
  
   .tagboxblack {
  width: auto;
  min-height: 50px;
  height: auto;
  padding: 10px;
  background: black;
  		  box-shadow: 0 5px 20px -10px #222;
  font-family: "bubble", Helvetica;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
vertical-align: middle;
line-height: 0px;
 overflow-wrap: break-word;
 color: white;
  text-shadow: 1px 0 0 grey, 0 -1px 0 grey, 0 1px 0 grey, -1px 0 0 grey;
  margin: 0 auto;
}


.dotblack {
  height: 25px;
  width: 25px;
  background-color: black;
  border-radius: 50%;
  display: inline-block;
}
  
  
  

  .tagboxbrown {
  width: auto;
  min-height: 50px;
  height: auto;
  padding: 10px;
  background: #c99e91;
  		  box-shadow: 0 5px 20px -10px #222;
  font-family: "bubble", Helvetica;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
vertical-align: middle;
line-height: 0px;
 overflow-wrap: break-word;
 color: white;
  text-shadow: 1px 0 0 #7f5747, 0 -1px 0 #7f5747, 0 1px 0 #7f5747, -1px 0 0 #7f5747;
  margin: 0 auto;
}

.dotbrown {
  height: 25px;
  width: 25px;
  background-color: #c99e91;
  border-radius: 50%;
  display: inline-block;
}



  .tagboxtan {
  width: auto;
  min-height: 50px;
  height: auto;
  padding: 10px;
  background: #d3bd85;
  		  box-shadow: 0 5px 20px -10px #222;
  font-family: "bubble", Helvetica;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
vertical-align: middle;
line-height: 0px;
 overflow-wrap: break-word;
 color: white;
  text-shadow: 1px 0 0 #b29460, 0 -1px 0 #b29460, 0 1px 0 #b29460, -1px 0 0 #b29460;
  margin: 0 auto;
}



.dottan {
  height: 25px;
  width: 25px;
  background-color: #d3bd85;
  border-radius: 50%;
  display: inline-block;
}


  .tagboxgreen {
  width: auto;
  min-height: 50px;
  height: auto;
  padding: 10px;
  background: #afd3af;
  		  box-shadow: 0 5px 20px -10px #222;
  font-family: "bubble", Helvetica;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  overflow-wrap: anywhere;
vertical-align: middle;
line-height: 0px;
 color: white;
  text-shadow: 1px 0 0 #95b295, 0 -1px 0 #95b295, 0 1px 0 #95b295, -1px 0 0 #95b295;
  margin: 0 auto;
}



  .tagboxgreenmini {
  max-width: 200px;
    width: auto;
  min-height: 20px;
  height: auto;
  padding: 10px;
  background: #afd3af;
  		  box-shadow: 0 5px 20px -10px #222;
  font-family: "bubble", Helvetica;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
vertical-align: middle;
line-height: 0px;
 overflow-wrap: break-word;
 color: white;
  text-shadow: 1px 0 0 #95b295, 0 -1px 0 #95b295, 0 1px 0 #95b295, -1px 0 0 #95b295;
  margin: 0 auto;
}


.dotgreen {
  height: 25px;
  width: 25px;
  background-color: #afd3af;
  border-radius: 50%;
  display: inline-block;
}

  .tagboxblue {
  width: auto;
  min-height: 50px;
  height: auto;
  padding: 10px;
  background: #c5efff;
  		  box-shadow: 0 5px 20px -10px #222;
  font-family: "bubble", Helvetica;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
vertical-align: middle;
line-height: 0px;
 overflow-wrap: break-word;
 color: white;
  text-shadow: 1px 0 0 #95caed, 0 -1px 0 #95caed, 0 1px 0 #95caed, -1px 0 0 #95caed;
  margin: 0 auto;
}


.dotblue {
  height: 25px;
  width: 25px;
  background-color: #c5efff;
  border-radius: 50%;
  display: inline-block;
}

  .tagboxpurple {
  width: auto;
  min-height: 50px;
  height: auto;
  padding: 10px;
  background: #dac4ff;
  		  box-shadow: 0 5px 20px -10px #222;
  font-family: "bubble", Helvetica;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
vertical-align: middle;
line-height: 0px;
 overflow-wrap: break-word;
 color: white;
  text-shadow: 1px 0 0 #af95ed, 0 -1px 0 #af95ed, 0 1px 0 #af95ed, -1px 0 0 #af95ed;
  margin: 0 auto;
}


.dotpurple {
  height: 25px;
  width: 25px;
  background-color: #dac4ff;
  border-radius: 50%;
  display: inline-block;
}
  
  
  #padding in-between paragraphs and images,
  .spacer {
height: 10px;
  }
  


  /*Mobile compatibility*/
@media(orientation: portrait) {
    .tagbox {
      width: 80%;
      }
  }
  
  
  
  #music player
  /** if inserting into your css, just add the colors into your own root**/
		:root {
		/**music player colors, feel free to change**/
		--playerbg: #A4BE7B;
		--playerborder: #5F8D4E;
		--playertext: #285430;
		--playertitlebg: #5F8D4E;
		--playerbar: #285430;
		--playericons: #5F8D4E;
		}

		.playercontainer {
		display: flex;
		flex-flow: column nowrap;
		width: 100%;
		height: 100%;
		background-color: var(--playerbg);
		border: 3px outset var(--playerborder);
		padding: 5px;
		align-content: center;
		align-items: center;
		}

		.playercontainer .now-playing {
		width: 100%;
		height: 15%;
		color: var(--playertext);
		text-align: center;
		text-justify: center;
		font-size: .8vw;
		}

		.playercontainer marquee {
		width: 70%;
		height: 35%;
		border: 3px inset var(--playerborder);
		background-color: var(--playertitlebg);
		color: var(--playertext);
		text-align: center;
		font-size: 1.15vw;
		}

		.playercontainer .trackdurationcontrols {
		width: 100%;
		height: 25%;
		display: flex;
		flex-flow: row nowrap;
		align-items: center;
		justify-content: center;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		gap: .4vw;
		font-size: .85vw;
		color: var(--playertext);
		}

		.playercontainer .trackdurationcontrols .bar {
		width: 60%;
		margin-left: .1vw;
		}

		.playercontainer .trackdurationcontrols .time {
		width: 15%; 
		}

		.playercontainer .trackdurationcontrols #current-time {
		margin-left: -3px; 
		}

		.playercontainer .trackdurationcontrols #duration {
		margin-left: -3px; 
		}

		.playercontainer .trackdurationcontrols input[type="range"] {
		-webkit-appearance: none;
		background: transparent;
		display: block;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		}

		/** Chrome, Safari, Opera, and Edge Chromium Track**/
		.playercontainer .trackdurationcontrols input[type="range"]::-webkit-slider-runnable-track {
		background: var(--playerbar);
		height: 0.1rem;
		width: 100%;
		}

		/** Firefox Track**/
		.playercontainer .trackdurationcontrols input[type="range"]::-moz-range-track {
		background: var(--playerbar);
		height: 0.1rem;
		width: 100%;
		}

		/** Chrome, Safari, Opera, and Edge Chromium Thumb**/
		.playercontainer .trackdurationcontrols input[type="range"]::-webkit-slider-thumb {
		-webkit-appearance: none;
		border: .1rem solid var(--playerbar);
		appearance: none;
		margin-top: -12px;
		background-color: var(--playericons);
		height: .5rem;
		width: .5rem;
		}

		/** Firefox Thumb**/
		.playercontainer .trackdurationcontrols input[type="range"]::-moz-range-thumb {
		border: .1rem solid var(--playerbar);
		border-radius: 0;
		background-color: var(--playericons);
		height: .5rem;
		width: .5rem;
		}

		.playercontainer .trackcontrols {
		width: inherit;
		height: 20%;
		display: flex;
		flex-flow: row nowrap;
		justify-content: center;
		gap: 5px;
		margin-top: -5%;
		}

		.playercontainer .trackcontrols button {
		color: var(--playericons);
		font-size: 1.8vw;
		background-color: transparent;
		border: none;
		}

		.playercontainer .creditstooltip {
		color: var(--playerbar);
		text-align: right;
		align-self: flex-end;
		margin-bottom: -5px;
		}

		/* Tooltip text */
		.playercontainer .creditstooltip .playercredits {
		visibility: hidden;
		width: 170px;
		font-size: 10px;
		background-color: var(--playertitlebg);
		color: white;
		text-align: center;
		padding: 2px 0;
		border-radius: 2px;
		margin: 18px 0 0 -162px;
		position: absolute;
		z-index: 1;
		}

		/* Show the tooltip text when you mouse over the tooltip container */
		.playercontainer .creditstooltip:hover .playercredits {
		visibility: visible;
		}

		@media only screen and (max-width: 750px) {
		.playercontainer .now-playing {
		font-size: 1.7vw;
		}

		.playercontainer marquee {
		font-size: 2.3vw;
		}

		.playercontainer .trackdurationcontrols {
		gap: .4vw;
		font-size: 1.7vw;
		}

		.playercontainer .trackdurationcontrols .bar {
		margin-left: .2vw;
		margin-right: .3vw;
		}

		.playercontainer .trackdurationcontrols #current-time {
		margin-left: -2px; 
		}

		.playercontainer .trackdurationcontrols #duration {
		margin-left: -3px; 
		}

		.playercontainer .trackcontrols button {
		color: var(--playericons);
		font-size: 4vw;
		background-color: transparent;
		border: none;
		}
		}
  



#left and right images on the side of the screen
.rightsideimage { /*optional*/
  right: 0px;
  bottom:-20px;
  float: right;
  position: fixed;
  max-width: 400px;
  }
  
.rightsideimage img {
  max-width: 100%;
  height: auto;  
  }

.leftsideimage { /*optional*/
  left: 0px;
  bottom:-20px;
  float: left;
  position: fixed;
  max-width: 400px;
  }
  
.leftsideimage img {
  max-width: 100%;
  height: auto;  
  }






  
span {
  vertical-align: middle;
}

span:hover {
  text-shadow: 0px 0px 20px black;
}
span:before {
  content:"";
  position:absolute;
  /* Don't set any top and bottom value! */
  left:0;
  right:0;
  height:100vh; /* a big height*/
  z-index:-2;
}
/*make the pseudo element on the top of all the others on span hover*/
span:hover:before {
  z-index:-1;
}

  
  
  
  
a {
  color: grey;
  }
  
a:hover {
  color: grey;
  }
  
  
.links {
  border-top: 1px solid grey;
  padding-left: 25px;
  padding-right: 25px;
  list-style-type:none;
  text-align: center;
  }
  
/*For the first link in the links bar*/
.link-first {
  display: inline-block;
  border-right: 1px solid grey;
  padding: 2px;
  padding-right: 11px;
  padding-bottom: 15px;
  padding-top: 10px;
  text-align: center;
  }
  
.link {
  display: inline-block;
  border-right: 1px solid #ccc;
  padding: 2px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 15px;
  padding-top: 10px;
  text-align: center;
  }
  
/*For the last link in the links bar*/
.link-last {
  display: inline-block;
  padding: 2px;
  padding-left: 9px;
  padding-bottom: 15px;
  padding-top: 10px;
  text-align: center;
  }

.main {
  margin: 0 auto;
  width: 600px;
  background: #ededed;
  border-radius: 0px;
  margin-top: 30px;
  margin-bottom: 40px;
  /*Quick guide to box-shadow:
    First two numbers are vertical and horizontal offset.
    Third number is how far to spread the fuzzy effect.
    Fourth number is how much solid border/shadow there should be before the fuzzy effect begins.
  */
  box-shadow: 0px 0px 15px 2px grey;
  }

.main-inner {
  padding: 30px;
  padding-top: 30px;
  padding-bottom: 25px;
  }
  
/*Prevent image overflow*/  
.main img {
  max-width: 100%;
  height: auto;
  }
  
  
  .box {
  margin: 0 auto;
  height: 150px;
  width: 300px;
  background: #ededed;
  border-radius: 0px;
  margin-top: 25%;
  margin-bottom: 40px;
  /*Quick guide to box-shadow:
    First two numbers are vertical and horizontal offset.
    Third number is how far to spread the fuzzy effect.
    Fourth number is how much solid border/shadow there should be before the fuzzy effect begins.
  */
  box-shadow: 0px 0px 15px 2px grey;
  }
  
 
 .box-inner {
  padding: 30px;
  padding-top: 25px;
   overflow: auto;
  }
  
  
 

  
 
  
.footer {
  margin: 0 auto;
  padding: 15px;
  padding-top: 0px;
  margin-top: -20px;
  text-align: center;
  font-size: 12px;
  }
  

/*Mobile compatibility*/
@media(orientation: portrait) {
    .main {
      width: 80%;
      }
  }
  
  
  @media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}










@media(max-width: 1000px) {
  
    .rightsideimage {
      /*don't even bother at this point*/
      display: none;
      }
	  
	   .leftsideimage {
      /*don't even bother at this point*/
      display: none;
      }
  }

  
/*Tentative mobile support.*/
@media(orientation:portrait) {
  .rightsideimage {
    /*don't even bother*/
    display: none;
    }
	
	 .leftsideimage {
    /*don't even bother*/
    display: none;
    }
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /*modal images style*/
 #myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 60%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}










/* character card atributes */
            .cardmain {
                width: auto;
                height: 300px;
                background-color: white;
                box-shadow: inset 0 0 8px #CCFFFF;
                border: 1px solid #003366;
                border-radius: 5px;
                color: white;
                padding: 10px;
                margin: 20px;
                overflow: hidden;

            }
			            .cardmain-inner {
                display: flex;

            }

            .cardimage {
                width: 150px;
                height: 150px;
                background-image: url("/rq/greengrid-rq_tp.png");
                box-shadow:  0 0 8px #CCFFFF;
                border: 1px solid #003366;
                border-radius: 5px;
                color: white;
                padding: 10px;
                overflow: hidden;
            }

            .cardinfo {
                width: 5000px;
                height: 150px;
                background-image: url("/rq/greengrid-rq_tp.png");
                box-shadow:  0 0 8px #CCFFFF;
                border: 1px solid #003366;
                border-radius: 5px;
                color: white;
                padding: 10px;
                margin: left 10px;
                overflow: scroll;

            }
			
			
			
			
			            .updatebox {
                width: auto;
                height: 150px;
                background-color: white;
                box-shadow:  0 0 8px #CCFFFF;
                border: 1px solid #003366;
                border-radius: 5px;
                color: black;
                padding: 10px;
                margin: left 10px;
                overflow: scroll;

            }

            .cardblurb {
                width: auto;
                height: 100px;
                background-image: url("/rq/greengrid-rq_tp.png");
                box-shadow:  0 0 8px #CCFFFF;
                border: 1px solid #003366;
                border-radius: 5px;
                color: white;
                padding: 10px;
                overflow: hidden;
                text-align: center
            }