@font-face {
    font-family: 'Final Fantasy'; 
    src: url('../fonts/finalf.ttf') format('truetype'); 
    src: url('../fonts/finalf.woff') format('woff'); 
    font-weight: normal; 
    font-style: normal;  

}

body {background-image: url("../Images/FF8/FF8_Main_Screen.png");
      background-repeat: no-repeat;
      background-attachment: fixed;  
      background-size: cover;
      font-family: 'vga', monospace;;
}
	  
	  
:root{
	--BorderColour: grey;
	--gradientOne: #404038;
	--gradientTwo: #606060;
	--sideNavColour: white;
	--gradientInt1: #000000;
	--gradientInt2: #2a2929;
	--gradientIntGrad: #2a2929e8;
	--gfProfile: #57d4c7;
}	 	  

/* ------------------------------------------------------NAV----------------------------------------------------------- */

.nav-wrapper {
  display: flex;
  gap: 10px;
}

.top-nav {
  flex: 1;
	background: linear-gradient(to right, var(--gradientOne), var(--gradientTwo));
    padding: 10px 20px;
    border: 3px solid var(--BorderColour);
    max-width: 1500px;
    box-sizing: border-box;
}

.nav-box {
  width: 200px;
  background: linear-gradient(to right, var(--gradientOne), var(--gradientTwo));
  border: 3px solid grey;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'vga', monospace;
}

.nav-box p {
  color: #f7b2eb;
  font-weight: bold;
  margin: 5px 0;
}

.nav-box ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.nav-box ul li {
  margin: 0 0;
}

.nav-box a {
  color: orange;
  text-decoration: underline;
  font-weight: bold;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
}

.social-icons img {
  width: 40px;
  height: 40px;
}


.moogle-box {
  margin-left: auto;
}



.whats-new-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 0px;                       
  color: #f05ea3fc !important;
  list-style-type: none;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
}

.whats-new-box {


  box-sizing: border-box;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top:  10px;
  padding-bottom: 10px;
}

.whats-new-box p {
  color: #f7b2eb;
  font-weight: bold;
  margin: 2px 0;
}

.whats-new-box ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.whats-new-box ul li {
  margin: 0 0;
   color: #f05ea3fc !important;
  
}

.whats-new-box a {
  color: orange;
  text-decoration: underline;
  font-weight: bold;
}




.nav-box.whats-new-box .whats-new-grid li {
    color: #f05ea3fc !important;
}


.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000b8a;
    border: 2px solid #82b9fd;
    padding: 5px 0;
    min-width: 120px;
    z-index: 1000;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #f7b2eb !important;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    font-family: 'vga', monospace;;
}

.dropdown-content a:hover {
    background-color: #001871;
}

.dropdown:hover .dropdown-content {
    display: block;
}






.logo-and-nav {
    display: flex;
    align-items: center;
    gap: 50px;
}

.top-nav .siteLogo {
    width: 250px;
    height: auto;
}

.top-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
	gap: 50px;
}

.top-nav-list li {
    margin: 0 10px;
}

.top-nav-list a {
    color: white !important;

    font-weight: bold;
    font-family: 'vga', monospace;
    font-size: 18px;
}


.siteLogo {
	width: 40%;
}

.motd {
font-size: 12px;
text-align: center;
color: #ffcb6e;
}


/* --------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------NAV BAR -------------------------------------------------- */

/* Grid-based Nav Container */
.nav {
    display: grid;
    grid-template-columns: 1fr;         /* Single column */
    width: 195px;
    margin-top: 10px;
    position: sticky;
    top: 0;
    float: left;
    text-align: center;
    background: transparent;            /* Background only on individual boxes */
	
}


.nav a {
    color: #red !important;
    font-weight: bold;
    font-size: 18px;
	
}

/* Each "row" section (replaces <tr><td>) */
.nav > div {
    border: 3px solid grey;
    background: linear-gradient(to right, #404038, #606060);
    box-sizing: border-box;
}

/* Individual section styling hooks */
.nav1 {border-bottom:none !important; padding-top:10px;}
.nav2 {border-bottom:none !important;}
.nav3 {border-bottom:none !important;}
.nav4 {}
.nav5 {border: none !important;     background: transparent !important;}

.nav1 li {font-size: 18px;}


.song-title {
    margin-bottom: 1px;
    overflow: hidden;
    color: red;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    font-style: italic;
}

#songTitle {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 20s linear infinite;
    color: white;
}

.music-player {
    text-align: center;
    padding: 5px;
    padding-left: 5px;
    width: 195px;
    margin-left: auto;  
    margin-right: auto; 
    float: left; 
    position: relative; 
}

.controls {
    margin-top: 0px;
    text-align: left;
}

.PageThingIdk {
	text-align: center;
	font-size: 14px;
}

.navCrystal img {
    max-height: 140px;
    max-width: 180px;
    display: center;
    margin-bottom: 5px;
    border: none !important;
}
.help-image {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trigger-image:hover ~ .help-image {
  visibility: visible;
  opacity: 1;
}

/* --------------------------------------------------------------------------------------------------------------------- */


.content {
	margin-left: 180px;
	margin-right: 180px;
	padding: 8px 16px 8px 16px;
	transition: 0.1s;	
}

.contentX {
	padding: 8px 16px 8px 16px;
	transition: 0.1s;
}

.ff8Content {
	margin-left: 180px;
	padding: 8px 16px 8px 16px;
	transition: 0.1s;	
}


.album {
	margin-left: 180px;
	margin-right: auto;
	padding: 8px 16px 8px 16px;
	transition: 0.1s;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0; /* Remove any space under the header */
    padding: 5px;
	border:3px solid grey;
	background: linear-gradient(to right, #404038, #606060 50%, #404038);
	font-weight: bold !important;
    flex-wrap: nowrap; 

}  



.header a {
	color: #f7b2eb !important;
	text-decoration: underline !important;

}


.left-section, .left-center-section, .center-section, .right-center-section, .right-section, .left-left-center, 
.right-right-center, {
    flex: 1;                        /* Each section takes up equal space */
    text-align: center;             /* Centers text inside each section */

}


.center-section {
    display: flex;                  /* Flexbox to arrange items in a row */
    justify-content: center;        /* Center the content horizontally */
    align-items: center;  
    flex: 0 0 40%;                  /* Fixed width of 60% */
}


.right-section {
    text-align: center;       	/* Align right section content to the right */

}
.right-section p {
	margin: 0 !important;
	color: #df8715 !important;
	font-size: 15px;
}


.scrollDisable {

  overflow-y: scroll; 
}
.scrollDisable::-webkit-scrollbar {
    display: none;
}

.content:hover, .nav:hover, .contentBar:hover, .album:hover, .ff8guideHeading:hover, .ff8guide:hover { opacity:1}

/* Image Style */
.imageBannerCenter {
    width: 100px;
    height: 100px;
	margin-left: 15px;
    margin-right: 15px; /* Add some space between the image and title */
}


.mobileNav {
	display:none;
	width: 100%;
	transition: 0.1s;
	position: sticky;
	border: 2px solid red;
	top:0;

	
}
	


@media only screen and (max-width:600px){
.nav {display:none;}
.mobileNav  {display:inline; width: 100%;   transition: 0.1s; position: sticky; top:0;}
.content {width:100%; margin:0;}
.footer, .blogFooter {margin:0;}
li {display:inline;}
.contentBar {display:none;}
}

@media only screen and (max-width:1200px){
.nav {display:none;}
.mobileNav  {display:inline; width: 100%;   transition: 0.1s; position: sticky; top:0;}
.content {width:100%; margin:0;}
.footer, .blogFooter {margin:0;}
li {display:inline;}
.contentBar {display:none;}
}










.contentBar {
	float: right;
	width: 180px;
	padding: 4px;
	border: 3px solid grey;
	transition: 0.1s;
	position: sticky;
	top:0;
    background: linear-gradient(to right, #606060, #404038);
}

.SocialBar {
    text-align: center;
    width: 100%;
}

.socialImg {
	width:50px;
	height:50px;
}

div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  width: 180px;
  float:left;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.centered-links {
    display: flex;            /* Enable Flexbox */
    justify-content: center;  /* Center the content horizontally */
    margin: 20px 0;         /* Optional: Add some vertical spacing */
}

.navimg {
	display: block;
	margin-bottom: 1px;
	width: 180px;
	height: 180px;
}

/* Title Banner */
.TitleBanner {
    font-size: 60px; /* Keeps the current size */
    text-align: center;
    margin: 0;  
    padding: 10px 0; 
    color: aqua; 
    font-family: 'Final Fantasy', sans-serif;
    font-weight: 400; /* Adjusts thickness, use lower values like 300 for thinner styles */
    letter-spacing: 2px; /* Adds space between letters for better readability */
}






ul li{list-style-type: none;color:white; font:MS PGothic;}

li{
color:white;
}





h1 {color: aqua;}
h2 {color: aqua;
	text-decoration:underline;}

.enterButton {
	border-bottom: none;
	text-align: center;
	margin-top: 45vh;
}
.centre {
	margin-left:auto;
	margin-right:auto;
}
.footer {
	margin-left: auto;
	padding: 8px 16px 8px 16px;
	text-align: center;
}

.footer img[src$=".gif"] {
	opacity: 80%;
}

.tonberryFooter {

	width: 700px;
	height: auto;
	text-align: center;
}

.blogFooter {

	margin-left: 180px;
	margin-right: 180px;
	padding: 8px 16px 8px 16px;
	text-align: center;
}

.blogFont {color: pink;
		   font-family:Times New Roman;
		   font-size:17px}
		   
p {color: white;}

.ff8guide {color: pink;
		   font-family:Times New Roman;
		   font-size:17px}
		   



a:link, a:visited {font-family: 'vga', monospace; color: white; text-decoration:none;} 
a:hover  {color: magenta;}
a:active {color: pink;} 
 
table, th, td {border: 3px solid grey;border-collapse: collapse;}
	   th, td {border-color: grey;}
	   td {text-align: center;}

.cursorMover {
	position:relative;
	animation-name: cursorMove;
	animation-duration:0.60s;
	animation-iteration-count: infinite;
}


@keyframes cursorMove {
  0%   {right:0px;}
  50%  {right:10px;}
  100% {right:0px;}	
	}
	


.ff8HomeImg {
	width:350px;
	height:auto;
}



.bordered {
    border: 5px solid #2b958a; 
    padding: 2px; 
}



.ff8guideHeading {
	margin-left: 180px;
	margin-right: 180px;
	padding: 8px 16px 8px 16px;	
	text-align: center;
	font-family:'Final Fantasy';
}

.ff8guide {
	margin-left: 180px;
	margin-right: 180px;
	padding: 8px 16px 8px 16px;
	transition: 0.1s;	
	text-align: center;
	font-family:'Final Fantasy';
	    src: url('../fonts/FinalFantasy.ttf') format('truetype');
}


.sidebar {
    width: 10%;
    float: right;
    background-color: #f4f4f4;
    padding: 15px;
    border: 1px solid #ddd;
}



.disc-container {
    display: flex;               /* Enable flexbox */
    justify-content: center;      /* Center all content horizontally */
    flex-wrap: wrap;              /* Wrap content if it exceeds the container width */
    gap: 10px;                    /* Add space between items */
    margin-bottom: 5px;          /* Add margin to space the sections */
}

.ff8gallery img {
    max-width: 100%;              
    height: auto;                
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);  
	transition: filter 0.2s ease-in-out;
}


.ff8gallery img:hover {
	filter: brightness(120%);
}

div.ff8gallery {
  margin: 0; 
  max-width: 100%;
  float: left;
}

button {
    margin: 5px;
    padding: 1px;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
}



/* Image Wrapper */
.image-wrapper {
    position: relative; /* Establish a positioning context */
    width: 500px; /* Set the width of the wrapper */
    height: auto; /* Maintain height based on content */
    margin: auto; /* Center the wrapper */
}

/* Base Map Image */
.base-image {
    width: 100%; /* Set the width for the base image */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure it’s a block element */
    z-index: 1; /* Base image is at the back */
	top:0;
    transition: opacity 0.5s ease; /* Smooth transition for opacity */
}

/* Region Images */
.region-image {
    position: absolute; /* Position the region images absolutely within the wrapper */
    opacity: 0; /* Initially hide the region images */
    transition: opacity 0.5s ease; /* Smooth transition for opacity */
    width: 100%; /* Make sure region images are the same size as base image */
    height: auto; /* Maintain aspect ratio */
    z-index: 2; /* Region images are above the base image */
	top:0;
}

/* Hover Areas */
.hover-area {
    position: absolute; /* Position each hover area absolutely */
    z-index: 3; /* Ensure hover areas are above base image and region images */
}

/* Show Region Images on Hover and Hide Base Image */
.hover-area.balamb:hover ~ .balamb-img,
.hover-area.galbadia:hover ~ .galbadia-img,
.hover-area.esthar:hover ~ .esthar-img,
.hover-area.trabia:hover ~ .trabia-img,
.hover-area.centra:hover ~ .centra-img {
    opacity: 1; /* Show the corresponding region image */
}



/* Balamb Hover Area (Full Left Half) */
.balamb {
    left: 51%; /* Cover left half */
    top: 30%; /* Start from the top */
    width: 10%; /* Cover half the width of the wrapper */
    height: 10%; /* Full height */
}

/* Galbadia Hover Area (Full Left Half) */
.galbadia {
    left: 0; /* Cover left half */
    top: 20%; /* Start from the top */
    width: 50%; /* Cover half the width of the wrapper */
    height: 50%; /* Full height */
}

/* Esthar Hover Area (Full Right Half) */
.esthar {
    left: 68%; /* Cover right half */
    top: 30%; /* Start from the top */
    width: 32%; /* Cover half the width */
    height: 50%; /* Full height */
}

/* Trabia Hover Area (Full Top Half) */
.trabia {
    left: 50%; /* Cover top half */
    top: 0; /* Start from the top */
    width: 30%; /* Full width */
    height: 25%; /* Cover half the height */
}

/* Centra Hover Area (Full Bottom Half) */
.centra {
    left: 40%; /* Cover bottom half */
    top: 60%; /* Start from the middle */
    width: 30%; /* Full width */
    height: 35%; /* Cover half the height */
}

/* Show Region Images on Hover */
.hover-area.balamb:hover ~ .balamb-img {
    opacity: 1; /* Show Balamb Region */
}

.hover-area.galbadia:hover ~ .galbadia-img {
    opacity: 1; /* Show Galbadia Region */
}

.hover-area.esthar:hover ~ .esthar-img {
    opacity: 1; /* Show Esthar Region */
}

.hover-area.trabia:hover ~ .trabia-img {
    opacity: 1; /* Show Trabia Region */
}

.hover-area.centra:hover ~ .centra-img {
    opacity: 1; /* Show Centra Region */
}

/* Adjust Region Image sizes if needed */
.balamb-img,
.galbadia-img,
.esthar-img,
.trabia-img,
.centra-img {
    width: 100%; /* Ensure region images cover the whole image */
    height: auto; /* Maintain aspect ratio */
}







/*.ff8-text-box {
        width: 30%; /* 60% width of the screen */
        padding: 20px;
        background: linear-gradient(to bottom, rgba(30, 30, 30, 0.85), rgba(0, 0, 0, 0.85)); /* Dark gray gradient with transparency */
        border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle white border */
        color: #ffffff; /* White text */
        font-family: "Courier New", Courier, monospace; /* Monospaced font for a retro look */
        font-size: 1.2rem; /* Slightly larger text size */
        line-height: 1.5; /* Proper spacing between lines */
        text-align: left;
        margin-bottom: 50px; /* Lift box slightly above bottom */
        position: relative;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Slight glow for effect */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
}

.ff8-text-box p {
    margin: 0; /* No margin for paragraph */
}




.cardsLevel-container {
    display: flex;
    flex-wrap: wrap; /* This allows the cards to wrap onto the next line */
    justify-content: center; /* Center cards horizontally */
    max-width: 1400px; /* Constrain the width of the container */
    margin: 0 auto; /* Center the container itself */

}

.cards-container {
    display: flex;
    flex-wrap: wrap; /* This allows the cards to wrap onto the next line */
    justify-content: center; /* Center cards horizontally */
    max-width: 1200px; /* Constrain the width of the container */
    margin: 0 auto; /* Center the container itself */
	border: 3px solid #143245;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

	
}

.card {
    flex: 0 1 15%; /* This will allow 4 cards per row */
    margin: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    background: linear-gradient(to right, #404038, #606060);
	border: 4px solid #143245;
}

.card img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}



.card p:not(.card-name) {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* Ensure they stay on the same line */
}



/* Center the card name */
.card-name {
    text-align: center;  /* Center the text */
    font-weight: bold;   /* Keep the bold style */
    color: white;        /* Color of the card name */
    margin: block;      /* Ensure it's treated as a block element */
    width: 100%;         /* Take up full width of its parent */
}



/* Ensure label and description stay on the same line */
.label, .description {
    display: inline;      /* Makes sure they appear side by side */
	

}

.label {
    font-weight: bold;
    color: #66FF66;  /* Optional: Label color */
    margin-right: 5px; /* Spacing between label and description */
    white-space: nowrap; /* Prevent the description from wrapping to the next line */
}

.description {
    color: white;  /* Optional: Description color */
    white-space: nowrap; /* Prevent the description from wrapping to the next line */
}




.controls {
    margin-top: 0px;
	text-align: left;

}

button {
    margin: 5px;
    padding: 0px;
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
    font-size: 19px;
}


button:focus {
    outline: none; /* Remove outline on button click */

}

.song-title {
    margin-bottom: 1px;
    overflow: hidden;
	color:white;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

#songTitle {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}



.controls {
    margin-top: 0px;
	text-align: left;

}

button {
    margin: 5px;
    padding: 1px;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}





.Extras {
    display: flex;
    justify-content: space-between;
    margin-left: 100px; /* Reduced margin to bring boxes closer to the page center */
    margin-right: 100px;
    padding: 20px;
    color: white;
    margin-bottom: 20px;
}

.left-box2 {
    position: relative; /* Set to relative for absolute positioning of children */
    width: 65%; /* Increase width of the left box */
    padding: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-height: 530px; /* Set a maximum height for the left box */
    overflow: hidden; /* Hide overflow for a single image display */
}

.left-box2 img {
    width: 90%; /* Larger image to better fit the expanded left box */
    height: auto;
    margin: 10px 0;
    padding: 0;
}

/* Hide all topics by default */
.topic-content {
    display: none; /* Start with all topics hidden */
}

/* Show the default Overview content only when no target is active */
.Extras:not(:has(:target)) #intro {
    display: block; /* Show intro content when nothing is targeted */
}

/* Show the selected content based on the target */
#intro:target,
#diagram:target,
#battle:target,
#basic:target,
#hand:target,
#same:target,
#plus:target,
#combo:target,
#same-wall:target,
#elemental:target,
#other:target,
#trade-rules:target,
#special-trade:target {
    display: block; /* Only show the targeted content */
}

/* Positioning for the scroll buttons */
.image-container {
    position: relative; /* Set the container to relative to position children absolutely */
}

.scroll-button {
    position: absolute;
    bottom: 20px; /* Adjust as needed for vertical positioning */
    font-size: 15px; /* Increase font size for better visibility */
    color: white; /* Change color as needed */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
	opacity: 0;
}

.scroll-button.left {
    left: 200px; /* Position for the left button */
}

.scroll-button.right {
    left: 250px; /* Position for the right button */
}

.right-box2 {
    width: 15%; /* Reduce width of the right box */
    padding: 15px;
    background-color: #333;
    border: 3px solid grey;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, #404038, #606060);
    height: 530px; /* Set a fixed height for the right box */
    text-align: center;
    font-size: 13px;
    overflow: auto; /* Allow scrolling if content overflows */
	font-family: 'vga', sans-serif !important;
}

.right-box2 ul {
    list-style-type: none;
    padding: 0;
    color: #8bff8b;
    text-align: center; /* Align text to left for the list */
}

.right-box2 h2 {
color: #ff6c00 !important;	
	
	
}

.right-box2 li {
    margin-bottom: 10px;
    font-size: 1.2em;
		font-family: 'vga', sans-serif !important;
}

.right-box2 li:hover {
    color: #ffd700;
}

/* Text styles */
.left-box2 h2 {
    font-size: 1.5em;
    color: #8bff8b;
    margin-bottom: 10px;
}

.left-box2 p {
    font-size: 1em;
    color: lightgray;
    padding-bottom: 10px;
    margin-top: auto;
}


/* For Webkit-based browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-thumb {
    background: #570900; /* Scrollbar color */

}



::-webkit-scrollbar-track {
    background: #271a1d; /* Background of the scrollbar track */

}


.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-icon {
  width: 25px;
  height: auto;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 150px;
  background-color: #000b8a;
  color: #f7b2eb;
  text-align: center;
  border: 2px solid #82b9fd;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 9999;
  top: 50%;
  left: 60%; 
  transform: translateY(-50%) scale(0.9); 
  transition: opacity 0.3s ease;
  font-size: 18px;
  white-space: normal;
  pointer-events: none; 
}

.tooltip-wrapper:hover .tooltip-text,
.tooltip-text:hover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto; 
}


.tooltip-text a {
  color: #08c2ff; 
  text-decoration: none;
  font-weight: none !important;
}

.intro {
  display: flex;
  gap: 20px;
  background: linear-gradient(to bottom right, var(--gradientInt1), var(--gradientInt2)) ; 
  background-repeat: repeat;
  border: 3px solid var(--BorderColour);
  padding: 20px;
  align-items: flex-start;
  max-width: 800px;
  margin: auto;
  color: white;
  box-shadow: 0 0 12px #000000aa;
}


.intro .logo img {
  max-width: 300px;
  height: auto;
}

.intro .intro-text p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: left;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;   
  gap: 8px;              
}


.testHeading {
	border-width: 0 0 3px 0;
    border-style: solid;
    border-color: #ff008b;
    text-align: left;
	margin: 20px 280px 10px 280px;
	padding: 0px;
}

.headingText {
	padding: 0;
	margin: 0;
	display: inline-block;
	border: 3px solid #ff008b;
	border-bottom: none;
	padding: 4px 10px; 
	background: linear-gradient(to bottom right, var(--gradientInt1), var(--gradientInt2)) ; 
}

.headingText h1 {
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
	color: #ffffff;
}





.items-table {
	margin: auto;
    border-collapse: collapse;
    background-color: #111;
    color: blue;
    font-family: 'Courier New', Courier, monospace;
}

.items-table th,
.items-table td {
    border: 1px solid red;
    padding: 8px;
    text-align: left;
}

.items-table th {
    background-color: #222;
    text-transform: uppercase;
}

/* --------------------------------------------------------GF------------------------------------------------------- */
  .image-table-wrapper {
    width: 577px;
    height: 250px;
    background: url('../Images/FF8/DBimages/ff8-GFbg.png') no-repeat center center;
    background-size: cover;
    padding: 14px 13px 14px 14px; /* Left+Top = 14px, Right = 13px for total 577px */
    box-sizing: border-box;
  }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(8, 53px);
    grid-template-rows: repeat(2, 96px);
    column-gap: 18px;
    row-gap: 30px;
    justify-content: start;
    align-content: start;
  }

  .image-grid img {
    width: 53px;
    height: 96px;
    display: block;
  }
  
  
  .GF-grid {
  display: grid;
  grid-template-columns: 3.5fr 2.5fr;
  grid-template-rows: 1.5fr 2.5fr;
  grid-template-areas:
    "GFBox1 GFBox3"
    "GFBox2 GFBox2";
  gap: 0;
  height:800px;
  margin-left: 280px;
  margin-right: 150px;
  width: auto;
  box-sizing: border-box;
  background: linear-gradient(to top, var(--gradientInt1), var(--gradientIntGrad));
}

.GFBox1 { grid-area: GFBox1; }
.GFBox2 { grid-area: GFBox2; }
.GFBox3 { grid-area: GFBox3;   border-left: none !important;}


.GF-grid > div {

  border: 3px solid var(--BorderColour);
  color: #fff;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
  padding: 15px;
}

/* Preview content box */
.GFBox1 {
  overflow-y: auto;
}

.GFBox2 {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
  padding: 10px;
  border-top: none !important;
  overflow-y: auto;
}

.GFBox2-text {
  flex: 1;
}

.GFBox2-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.GFBox2-text li {
  font-size: 15px;
  color: #cfcfcf;
  font-family: Times New Roman;
  text-align: center;
  font-style: italic;
}

.GFBox2-images {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
  align-items: center;
}

.GFBox2-images img {
  max-height: 140px;
  width: auto;
  display: block;
  margin-bottom: 5px;
}

.GFBox3 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  text-align: left;
}

.GFBox3 li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.GFBox3 a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  width: 95%;
  padding-left: 10px;
}


#see-more-link {
  color: dodgerblue !important;
  text-decoration: none;
  font-weight: bold;
}

#see-more-link:hover {
  text-decoration: underline;
}


.GFContent {
	margin-left: 180px;
	margin-right: 180px;
}

#GF-preview-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 10px;
}

.gfProfile {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  background: #1a1a1a;
  color: #dcdcdc;
}

.gfProfile td {
  border: 1px solid #444;
  padding: 10px;
  vertical-align: middle;
}

.gfProfile td[colspan="2"] {
  background-color: #2a2a2a;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  color: var(--gfProfile);
}

.gfProfile td[rowspan="5"] {
  background-color: #222;
  text-align: center;
}

.gfAbility {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-family: Arial, sans-serif;
  background: #1a1a1a;
  color: #dcdcdc;
  font-size: 0.7em;
}

.gfAbility thead th {
  background-color: #444;
  padding: 8px;
  font-weight: bold;
  border-bottom: 2px solid #666;
  text-transform: uppercase;
  font-size: 0.9em;
}

.gfAbility tbody td {
  border-bottom: 1px solid #333;
  padding: 8px;
}

.gfAbility tbody td:nth-child(3) {
  text-align: center;
}

.gfAbility tbody tr:hover {
  background-color: #333;
}


/* ------------------------------------------------------------------------------------------------------------------- */