.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #1F2833;
  padding: 20px;
  border: 2px solid #00FF41;
  box-shadow: 0px 0px 10px rgba(0, 255, 65, 0.5);
  width: 50%;
  max-width: 400px;
  text-align: left;
  z-index: 1000;
}
.popup-content {
  font-size: 16px;
  color: #fff;
}
.close-btn {
  background: red;
  border: none;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  float: right;
}
.highlight {
  color: #00FF41;
  cursor: pointer;
  text-decoration: underline;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.section-header {
  margin-top: 250px;
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-family: "Rubik Glitch";
  color: white;
}

.section-header p {
  font-size: 1.2rem;
  color: #CCCCCC; /* Adjust to match your theme */
  max-width: 90%;
  margin: 0 auto;
  font-family: "Special Elite";
}

.dot {
    width: 12px;
    height: 12px;
    background-color: gray;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: rgb(61, 59, 59);
    transform: scale(1.3);
}

#mapSection {
    display: block !important;
}
#shapeSection {
    display: block !important;
}

/***********/
/*  Accessing Custom Fonts */
/***********/
@font-face {
  font-family: 'aliens'; /* The name you will use in CSS */
  src: url('/fonts/AliensAndCows.ttf') format('truetype');
}

.alien-word {
  font: aliens;
}

/***********/
/*  Header */
/***********/
.headerContainer {
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: white;
}

.headerContainer h1 {
  font-family: 'aliens', serif;
  font-size: 15vh;
  /* background-color: red; */
}

.title {
  font-size: 10vh;
  font-family: 'aliens', sans-serif;
}

.header {
  font-size: 20px;
}

/***********/
/*   MAP   */
/***********/

#zoom-map-container {
  position: relative;
  width: 70%;
  height: 100vh;
}

#map {
  width: 100%;
  height: 100%;
}

#menu {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: white;
  padding: 8px 12px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  gap: 10px;
}

#menu button {
  padding: 8px 12px;
  cursor: pointer;
}

#container {
  display: flex;
}

#info-panel {
  width: 30%;
  padding: 10px;
  overflow-y: auto;
}

.province-link {
  cursor: pointer;
  font-size: 14px;
  color: white;
  padding: 3px;
}

.province-link:hover {
  text-decoration: underline;
}

.page-container {
    scroll-snap-type: y mandatory;
    overflow-y: auto; /* Allows scrolling */
    height: 100vh;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    background-color: black;
}

.page-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome & Safari */
}

/* Navigation Dots */
.nav-dots {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: gray;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: rgb(61, 59, 59);
    transform: scale(1.3);
}

#mapSection {
    display: block !important;
}
#shapeSection {
    display: block !important;
}

/******************/
/*    Line Chart  */
/******************/
#reportsOverTimeChart {
  margin: auto;
}

.circleTooltip {
  position: absolute;
  background: black;
  color: white;
  padding: 5px;
  border: 1px solid white;
  border-radius: 5px;
  display: none;
}

#lineSidebar h3{
  font-size: 30px;
  color: black;
  margin-top: 20px;
  margin-bottom: 10px;
}

#yearDataContainer {
  background-color: #b5b1b1;
  border-radius: 5px;
  border-width: 2px;
  margin: 10px;
  margin-left: 20px;
}

#movieDataContainer {
  background-color: #b5b1b1;
  border-radius: 5px;
  border-width: 2px;
  margin: 10px;
  margin-right: 20px;
}

/* width */
#movieData ::-webkit-scrollbar {
  width: 20px;
}

/* Track */
#movieData ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
#movieData ::-webkit-scrollbar-thumb {
  background: red; 
  border-radius: 10px;
}

/* Handle on hover */
#movieData ::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
  color: black;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

tr:nth-child(odd) {
  background-color: #8a8a8a;
}
/******************/
/*    Witnesses   */
/******************/
.witness-btn, .ship-btn, #percentage-output {
  color: black;
}
