@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');

/*the background*/
body {
  margin: 40px; auto;
  background-color: black;
  color: white;
  text-align: left;
  font-size: large;
  line-height: 150%;
  font-family: "Lucida Grande", sans-serif;
}

#colorTable {
  border: none;
  border-collapse: collapse;
}

#colorTable td,
#colorTable th {
  border: none;
}


/*the title*/
h2 {
  color: white;
  margin: 20px auto;
  font-family: 'Roboto Mono', monospace;
  font-size: inherit;
  font-weight: normal;
}

/*text box*/
#color-container {
  width: 500px;
  height: 300px;
  color: white;
  margin: auto;
  padding: 0 0 10px 0;
  border: 1px solid white;
  
}


#details_box, #film_box {
  width: 500px;
  color: white;
  margin: auto;
  padding: 0 0 10px 0;
  font-family: 'Roboto Mono', monospace;

  
}

#color-box {
  padding-top:200px;
  font-family: 'Roboto Mono', monospace;

  
}


/* Full-width hover zone */
.hover-zone {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust this height as needed to go below your color-container */
  z-index: 1000;
}

/* Hide menu initially */
.menu-wrapper {
  display: none;
  position: absolute; /* Important for correct positioning */
  top: 10px; /* Adjust if needed */
  left: 10px; /* Adjust if needed */
  z-index: 1001;
}
/* Show menu when hovering anywhere in the hover zone */
.hover-zone:hover .menu-wrapper {
  display: inline-block;
}

/* Keep previous menu styles */
.menu-trigger {
  background-color: #000;
  color: #818589;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.hidden-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 150px;
  border-radius: 5px;
}

.hidden-menu li a {
  display: block;
  text-decoration: none;
  padding-left: 20px;
  color: #333;
  font-size: .8em;
  font-family: 'Roboto Mono', monospace;
}

.hidden-menu li a:hover {
  color: white;
}

.menu-wrapper:hover .hidden-menu {
  display: block;
}


#filmslist a,
#filmslist a:visited,
#filmslist a:active,
#filmslist a:focus {
  color: white;
  text-decoration: none; /* Optional: removes underline */
  font-family: 'Roboto Mono', monospace;
}

#filmslist a:hover,
#details_box a, 
#details_box a:visited,
#details_box  a:hover,
#details_box  a:active,
#details_box a:focus

 {
  color: white;
  text-decoration: underline; /* Optional: removes underline */\
   font-family: 'Roboto Mono', monospace;
}
