/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.box-notinuse{
  background-color: aqua;
  border: 1px solid rgb(232, 6, 6);
  min-height:50px
  
}

/* General Styles */
body {
    font-family: 'Futura', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
}

/*Density Plot*/
.density-plot-container {
  text-align: center;
  margin: 20px auto;
  max-width: 900px;
}
#densityPlot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #000; /* Optional background for better contrast */
  padding: 20px; /* Optional padding around the plot */
}

/* Vis0 Pie chart*/
#interactivePieChart{
  display: flex;
  justify-content: left;
  align-items: left;
}


/* Vis1 Css */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;

 }
 /* Vis2,3,4,5 Css */
 .visualization-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem; /* Space between items */
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  #vis1, #vis2, #vis3, #vis4 {
    background: none; /* Remove any background color */
    border: none; /* Remove any borders */
    padding: 0; /* Ensure no padding */
    margin: 0; /* Ensure no margin */
  }
 
   /* Individual Visualization Box */
  .vis-item {
    text-align: center;
  }
   .vis-box {
    width: 100%;
    height: 300px;
    background-color: #111; /* Dark background for visualizations */
    border: 1px solid #333; /* Slight border to separate visualizations */
    border-radius: 5px;
  }
  
  /* Title Styling for Each Visualization */
  h2 {
    font-size: 1.2rem;
    color: #ffffff; /* Bright blue for section titles */
    margin-bottom: 1rem;
    text-align: left;
  }
 
 
 
 #view1a,#view2 {
    width: 100%;
    height: auto;
    max-width: 1200px;
 }

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
    background: #060606;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: black;
    
}

.hero h1 {
    font-size: 8rem;
    margin-bottom: 20px;
}

.hero p {
    font-family: GT Pressura Mono Trial;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-btn {
    padding: 10px 20px;
    background: #000000;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: #616161;
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

/* Page 1 */

/* Generic Page Style */
.page {
    height: 100vh;
    background-color: black;
    scroll-margin-top: 100px;
   
    
   
}


/* block Section */
.about {
    padding: 50px;
    background: #000;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    color: #ccc;
}

/*Vis 6, 7 Css*/
.twinChart {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 2rem;
  }
   .twinChart-item {
    width: 45%;
    text-align: center;
  }
  /*vis8*/
 .content-container {
    display: flex; /* Align children horizontally */
    position: relative;
    justify-content: flex-start; /* Space between the two children */
    align-items: flex-start; /* Align top edges */
    text-align: left;
    margin: 0 auto;
    width: 100%;
  }
  .game-icon {
    max-height: 300px;
    width: auto;
    object-fit: contain; 
    display: block;
    margin: 0 auto;
 }
 
   /* Block Visualization */
  #blockVisualization {
    margin: 0;
    width: 70%;
  }
  /* Info Section */
 #info-section {
  position: absolute; /* Fixes position to the grid */
  left: 450px; /* Adjust spacing from the right */
  top: 5%; /* Adjust based on where you want the info section */
  max-width: 80%; /* Restrict the width */
  flex: 1;
  visibility: hidden; /* Keep space but hide content initially */
  opacity: 0; /* Smooth transition for visibility */
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start; /* Align content to the left */
  gap: 10px;
  border-radius: 5px;
  width: 800px;
  transform: translateY(10px); /* Slightly below the initial position */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
#info-section.visible {
  visibility: visible; /* Make it visible */
  opacity: 1;
  transform: translateY(0);
  }
  /* Small screens: Hide info section */
  @media (max-width: 768px) {
      #info-section {
      display: none; /* Hide the info section */
      }
  }

  #tooltip {
    position: absolute;
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    opacity: 0; /* Start hidden */
    transform: translateY(10px); /* Slightly below initial position */
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out; /* Smooth transition */
    display: none; /* Initially hidden */
    z-index: 1000;
}
#tooltip.visible {
    display: block; /* Make tooltip visible */
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Reset position */
}

  /* Info Section Game Name */
  #info-section .game-name {
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
  }
   /* Info Section Details */
  #info-section .game-details {
    flex: 2;
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
  }
   /* Game Icon Placement */
 .game-icon-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
    
  }
   
 

/* bottom Section */
.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 50px;
}

.service-card {
    padding: 20px;
    background: #1a1a1a;
    text-align: center;
    border: 1px solid #333;
    max-width: 300px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #ccc;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #060606;
    color: white;
}
