html body {
   background-color: #f7fafbf1;
  color: #333;

  margin: 0;
  height: 100vh; /* Ensure the gradient covers the full viewport height */
}

/* Style for the headline bar */
@keyframes ballAnimation {
   0% {
      transform: scale(0.6);
      opacity: 0.5;
   }
   50% {
      transform: scale(1);
      opacity: 1;
   }
   100% {
      transform: scale(0.6);
      opacity: 0.5;
   }
}
.menu-link {
  display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-size: 10.5px;
    font-family: 'Strait', sans-serif;
    
    line-height: 1;

}
.menu-link:hover {
    text-decoration: none;
    color: #25d96a;
}

.menu-link .icon {
    font-size: 12px; /* optional: size the emoji */
    line-height: 1;
}

.menu-link .label {
    margin-top: 4px;
}
.headline {
  background-color: rgb(88, 119, 126); /* Light blue color */  color: #fff; /* White text color for better contrast */
  padding: 10px 20px; /* Padding for better spacing */
  font-family: 'Arsenal SC', sans-serif; /* Use Roboto font for the text */
  font-weight: 600; /* Medium font weight for a professional look */
  position: fixed; /* Keep the hecader fixed at the top of the page */
  top: 0; /* Positioned at the very top of the page */
  left: 0; /* Aligned to the left side of the page */
  width: 100%; /* The header spans the entire width of the page */
  box-sizing: border-box; /* Include padding and border in the total width and height */
  z-index: 1000; /* Ensure the header stays on top of other elements */
  display: flex; /* Use a flexible layout to arrange elements */
  justify-content: space-between; /* Space evenly between elements */
  align-items: center; /* Center the text vertically within the header */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

/* Style for the text within the headline */
.headline-text {
  flex-grow: 1; /* Allow the text to expand and fill the remaining space */
  text-align: left; /* Center the text horizontally within the header */
  font-size: 14px; /* Adjusted font size */
  text-transform: uppercase; /* Convert text to uppercase */
  letter-spacing: 0.5px; /* Adjusted letter spacing */
      font-family: 'Strait', sans-serif; /* Use Roboto font for the text */
}

/* Style for the second header */
/* Style for the second header */
/* Style for the second header */
.headline33 {
  background-color: rgb(216, 215, 219); /* Slightly darker grey */
      font-family: 'Strait', sans-serif; /* Use Roboto font for the text */
  padding: 1px 4px; /* Reduced padding for a smaller height */
  border-top: 1px solid #ccc; /* Border at the top */
  position: fixed; /* Fix the position so it's at the bottom of the screen */
  bottom: 0; /* Position it at the bottom of the screen */
  left: 0;
  width: 100%;
  height: auto; /* Adjusted to fit content height */
  box-sizing: border-box; /* Include padding and border in the total width and height */
  z-index: 999; /* Ensure it is above other elements */
}

/* Style for the text within the second header */
.headline33 .headline-text {
  font-size: 10px; /* Reduced font size for a smaller height */
  text-align: center; /* Align text to the left */
  display: block;
  margin: 0; /* Remove any default margin */
  font-family: 'Strait', sans-serif; /* Use Roboto font for the text */
  color: black; /* Set text color to black */
}
/* Ensure the body content starts below the fixed headers */
body {
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  padding-top: 70px; /* Adjust based on the combined height of both headers */
}

.modal-solved {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  color: #333; /* Change the font color */
  transition: opacity 0.6s ease; /* Smooth transition for opacity */
}

.format1 {
  font-weight: bold;
  font-family: 'Strait', sans-serif; /* Use Roboto font for the text */
  font-size: 15px;
}

.format2 {
  color: blue;
  font-family: 'Roboto', sans-serif; /* Use Roboto font for the text */

  font-size: 14px;
}

.format3 {
  font-size: 18px;
  text-transform: uppercase;
}

/*This corresponds to the HELP Modal */

.modalhelp {
  display: none;
  position: fixed;

  left: -15px;
  top: 0;
  width: 110%;
  height: 140%;
  overflow: auto;
  color: rgb(0, 0, 0); /* Change the font color */
  transition: opacity 0.6s ease; /* Smooth transition for opacity */
    border-radius: 5px;
  z-index: 9999;
}

.modalhelp-content {
  background-color: rgba(255, 255, 255, 0.97); /* Background color of the textbox */   padding: 20px;/* Adjusted padding to make it taller and wider to the left and enlarge by the bottom */
 border: 2px solid black; /* Changed to a thick black border */
  margin: 5% auto;
    border-radius: 5px;
  width: 80%;
  font-family: 'Strait', sans-serif; /* Change the font family */
  font-size: 14px; /* Change the font size */
  font-weight: normal; /* Change the font weight */
  color: rgb(0, 0, 0); /* Text color of the textbox */
  max-width: 500px;
  opacity: 0; /* Initially hide the modal content */
  transition: opacity 0.3s ease; /* Smooth transition for opacity */
}

.modalhelp-content.show {
  opacity: 1; /* Show modal content with smooth transition */
}
.modalhelp-content hr {
  border: 1px solid rgb(58, 58, 60);
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.hidden {
  display: none;
}

/* here ends the help modal */

#random-button {
  margin-left: 5px;
  font-family: 'Roboto', sans-serif; /* Change the font family */
  font-size: 12px; /* Change the font size */
  font-weight: normal; /* Change the font weight */
  padding: 5px 8px;
  background-color: rgb(188, 186, 192);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#random-button:hover {
  background-color: #f8f8f8; /* Light gray on hover */
}

#archive-button {
  margin-left: 10px;
  font-family: 'Roboto', sans-serif; /* Change the font family */
  font-size: 12px; /* Change the font size */
  font-weight: normal; /* Change the font weight */
  padding: 5px 8px;
  background-color: rgb(188, 186, 192);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#archive-button:hover {
  background-color: #f8f8f8; /* Light gray on hover */
}
#searchk-button {
  margin-left: 10px;
  font-family: 'Roboto', sans-serif; /* Change the font family */
  font-size: 12px; /* Change the font size */
  font-weight: normal; /* Change the font weight */
  padding: 5px 8px;
  background-color: rgb(188, 186, 192);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#searchk-button:hover {
  background-color: #f8f8f8; /* Light gray on hover */
}

#flaglist1-button {
  margin-left: 10px;
  font-family: 'Roboto', sans-serif; /* Change the font family */
  font-size: 12px; /* Change the font size */
  font-weight: normal; /* Change the font weight */
  padding: 5px 8px;
  background-color: rgb(188, 186, 192);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#flaglist1-button:hover {
  background-color: #f8f8f8; /* Light gray on hover */
}


#language-button:hover {
  background-color: #f8f8f8; /* Light gray on hover */
}

#language-button {
  font-family: 'Roboto', sans-serif; /* Change the font family */
  font-size: 12px; /* Change the font size */
  font-weight: normal; /* Change the font weight */

  margin-left: 10px;
  padding: 5px 8px;
  background-color: rgb(188, 186, 192);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#reset-button:hover {
  background-color: #f8f8f8; /* Light gray on hover */
}

.grid-container {
  position: absolute;
  top: calc(15%); /* Adjust this value as needed */
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 73px);
  grid-template-rows: repeat(4, 95px);
  justify-content: center;
  align-content: center;
}

.grid-playercell {
  border: 1.5px solid #ccc; /* Softened border */
  border-radius: 5px; /* Reduced border radius for a more card-like look */
  width: 63.68px;
  height: 88.54px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(243, 242, 242, 0.686); /* Brown background color */
  font-family: 'Arial', sans-serif; /* Arial font for a clean and widely supported typeface */
  font-size: 12px; /* Slightly smaller font size for a thinner card appearance */
  color: #333; /* Darkened text color for better contrast */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
  position: relative; /* Position relative for the circle positioning */
  cursor: pointer; /* Pointer cursor for interactivity */
}


.grid-playercell:hover {
  transform: translateY(
    -2px
  ); /* Lift up slightly on hover for interactive feedback */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover for depth */
}
.grid-cellunsolved {
  position: relative; /* Make the cell a positioning context */
  width: 63.68px;
  height: 88.54px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Strait', sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000; /* Change text color to black */
  border-radius: 5px;
  background: rgb(228, 199, 199); /* Set background to white */
  text-align: center;
  animation: starAnimation 1s forwards;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: line-through;
}

.grid-cellunsolved img {
  width: 52px;
  height: 74.5px;
  object-fit: fill;
  border-radius: 5%; /* Set border radius */
  filter: grayscale(100%) brightness(0.5);
}


/* Base class for shared styles */
.grid-cellbase {
  border-radius: 5px; /* Reduced border radius for a more card-like look */
  width: 64.68px;
  height: 90.04px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Strait', sans-serif; /* Arial font for a clean and widely supported typeface */
  font-size: 12px; /* Slightly smaller font size for a thinner card appearance */
  color: #333; /* Darkened text color for better contrast */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
  position: relative; /* Position relative for the circle positioning */
  text-align: center; /* Justify text horizontally */
  animation: starAnimationextra 1.1s forwards;
  overflow: hidden; /* Hide overflow text */
  text-overflow: ellipsis; /* Display ellipsis (...) for overflow text */
    box-sizing: border-box; /* Ensures that the border and padding are included in the width and height */
          box-shadow: 0px 8px 15px rgba(255, 255, 255, 0.918); /* Larger shadow with higher opacity */
  border: 2px solid rgba(0, 0, 0, 0.1); /* Subtle border for added definition */
    background: rgba(201, 219, 200, 0.753); /* Set background to white */
        --glow-color: rgb(29, 82, 22); /* Glow color for Normal subtype */
}

.grid-cellsolvedlink{
  background: rgb(197, 204, 252); /* Example: Set a different background for trap */
   --glow-color: rgb(145, 170, 216); /* Solved sync glow color */
}
.grid-cellsolvedd{
  background: rgb(224, 224, 200); /* Example: Set a different background for trap */
        --glow-color: rgb(92, 83, 56); /* Glow color for Normal subtype */

}

.grid-cellsolvedfod {
  background: rgb(223, 223, 156); /* Example: Set a different background for trap */
  --glow-color: rgb(238, 226, 62); /* Glow color for Normal subtype */
  animation: starAnimationextra22 1.1s forwards;
  border: 1px solid rgb(238, 226, 62); /* Example: Set a border color and thickness */
  border-radius: 5px; /* Optional: Add rounded corners */
}
.grid-cellsolvednorm{
  background: rgb(233, 233, 215); /* Example: Set a different background for trap */
        --glow-color: rgb(238, 215, 201); /* Glow color for Normal subtype */

}

 .grid-cellbase img {
  width: 52px;
  height: 74.5px;
  object-fit: fill;

 }


/* Shared img styles */
/* .grid-cellbase img {
  width: 85%;
  height: auto;
  object-fit: contain;
  border-radius: 10%;
  transform: translateY(-30%); /* Shift image up by 10% */
/*  margin-bottom: -30%;  /* Prevent overflow gap */
 /* Prevent overflow gap */


@keyframes starAnimationextra
{
  0% {
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 0 10px var(--glow-color); /* Use custom property for glow color */
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--glow-color); /* Glow color changes */
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(5, 22, 78, 0); /* Fading glow */
  }
}

@keyframes starAnimationextra22
{
  0% {
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 0 10px var(--glow-color); /* Use custom property for glow color */
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 150px var(--glow-color); /* Glow color changes */
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 14px var(--glow-color); /* Glow color changes */
  }
}







.grid-cellalreadyused {
  width: 63.68px;
  height: 88.54px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Strait', sans-serif; /* You can replace 'Roboto' with your preferred font */
  font-size: 12px;
  font-weight: bold; /* Make the text bolder */
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #424242; /* Dark grey text color */
  border-radius: 5px; /* Adjust the value as needed */
  background: linear-gradient(
    45deg,
    #ececec,
    #f7f7f7
  ); /* Gradient background with greyish colors */
  text-align: center; /* Justify text horizontally */
  animation: starAnimation 1.10s forwards;
  overflow: hidden; /* Hide overflow text */
  text-overflow: ellipsis; /* Display ellipsis (...) for overflow text */
  border: 2px solid #a5a5a5; /* Light grey border */
  box-shadow: 0 2px 4px #b0b0b0; /* Light grey shadow */
  margin-left: 3px; /* Adjust the margin as needed */
}
.grid-cellalreadyused img {
  width: 60%; /* Scale the image to 80% of the container's width */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensures the image fits well within the cell */
}

@keyframes cellFill {
  0% {
    transform: scale(0.75); /* Start with smaller size */
    opacity: 0; /* Initially hide the text */
  }
  50% {
    transform: scale(1.1); /* Slightly increase size */
    opacity: 1; /* Show the text */
  }
  100% {
    transform: scale(1); /* Return to normal size */
  }
}

@keyframes cellVibrate {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2px, -2px);
  }
  50% {
    transform: translate(2px, 2px);
  }
  75% {
    transform: translate(-2px, 2px);
  }
  100% {
    transform: translate(2px, -2px), scale(0.85);
  }
}

@keyframes starAnimation {
  0% {
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 0 10px rgb(156, 156, 84); /* Initial glow */
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgb(156, 156, 84); /* Stronger glow at peak */
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 30px rgba(234, 246, 119, 0); /* Glow fades out */
  }
}

@keyframes starAnimation2 {
  0% {
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 0 10px rgba(17, 9, 88, 0.6), 0 0 20px rgba(49, 29, 104, 0.4); /* Subtle initial glow */
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 60px rgb(111, 0, 255), 0 0 80px rgba(255, 215, 0, 0.8); /* Strongest, continuous glow */
  }
  90% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 30px rgba(47, 0, 255, 0.3); /* Fading aura, nearing the end */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Final size */
    box-shadow: none; /* Completely remove the glow at the end */
  }
}




.grid-puzzlecell {
  border: 0.05px solid black;
  width: 66.68px;
  height: 88.54px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* Added to center the text horizontally */
  border-radius: 5px; /* Adjust the value as needed */

  font-family: 'Strait', sans-serif; /* You can replace 'Roboto' with your preferred font */
  font-weight: 700;
  font-size: 0.80em;
}

.grid-puzzlecell img {
  max-width: 50%;
  max-height: 50%;
  display: block;
  justify-content: center; /* horizontally center */
  align-items: center; /* vertically center */
  filter: contrast(100%) brightness(90%) blur(0);
}


.coolButton {
      background-color: rgba(82, 121, 150, 0.802); /* Green background */
    border: none; /* Remove borders */
    font-family: 'Strait', sans-serif; /* You can replace 'Roboto' with your preferred font */

    color: rgb(255, 255, 255); /* White text */
    padding: 10px 14px; /* Padding */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Display as a block element */
    font-size: 12px; /* Font size */
    margin: 4px 2px; /* Margin */
    cursor: pointer; /* Cursor pointer */
    border-radius: 7px; /* Rounded corners */
    transition-duration: 0.4s; /* Transition duration */
}

.coolButton:hover {
    background-color: #030d45; /* Darker green on hover */
     color: rgb(255, 255, 255); /* White text */
}


.coolButton2 {
  background-color: rgb(0, 23, 39); /* Green background */
  border: 1px solid black; /* Black border */
  font-family: 'Strait', sans-serif; /* You can replace 'Roboto' with your preferred font */
  color: rgb(255, 255, 255); /* Black text */
  padding: 6px 10px; /* Padding */
  text-align: center; /* Center text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Display as a block element */
  font-size: 11px; /* Font size */
  margin: 4px 2px; /* Margin */
  cursor: pointer; /* Cursor pointer */
  border-radius: 8px; /* Rounded corners */
  transition-duration: 0.4s; /* Transition duration */
}

.coolButton2:hover {
  background-color: #005b90; /* Darker green on hover */
  color: rgb(255, 255, 255); /* Black text */
}

.coolButton3 {
  background-color: rgb(
    0,
    23,
    39
  ); /* Darker green on hover */ /* Green background */
  border: 1px solid black; /* Black border */
  font-family: 'Strait', sans-serif; /* You can replace 'Roboto' with your preferred font */
  color: rgb(255, 255, 255); /* Black text */
  padding: 4px 8px; /* Padding */
  text-align: center; /* Center text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Display as a block element */
  font-size: 11px; /* Font size */
  margin: 4px 2px; /* Margin */
  cursor: pointer; /* Cursor pointer */
  border-radius: 8px; /* Rounded corners */
  transition-duration: 0.4s; /* Transition duration */
}

.coolButton3:hover {
  background-color: #005b90; /* Darker green on hover */
  color: rgb(255, 255, 255); /* Black text */
}

.modalq {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-70%, -50%);
  background-color: #f9f9f9;
  padding: 5px 20px 40px; /* Adjusted padding to make it taller and wider to the left and enlarge by the bottom */
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 9999;
}

.modalq-content {
  width: 100%;
  height: 100%;
  padding: 20px 50px 50px; /* Adjusted padding to make it taller and wider to the left and enlarge by the bottom */

  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-70%, -50%);
  background-color: #f9f9f9;
  padding: 5px 20px 40px; /* Adjusted padding to make it taller and wider to the left and enlarge by the bottom */
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 9999;
}

.modal-content {
  width: 100%;
  height: 100%;
  padding: 20px 50px 50px; /* Adjusted padding to make it taller and wider to the left and enlarge by the bottom */

  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal input[type='text'] {
  width: 85%;
  padding: 8px;
  margin-bottom: 10px;
  border: 5px solid #ccc;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
}
/* Style for the suggestion list */
#nameList,
#nameElement {
  list-style-type: none;
  padding: 0;
  margin: 0; /* Add this line to remove default margin */
  max-height: 160px; /* Adjust the maximum height as needed */
  overflow-y: auto; /* Add vertical scroll when content overflows */
}

/* Style for each suggestion item */
#nameList li,
#nameElement li {
  padding: 7px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Roboto', sans-serif; /* You can replace 'Roboto' with your preferred font */
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333; /* Text color */
  border-bottom: 1px solid #ccc; /* Add a fine line below each item */
}

#nameList li:last-child,
#nameElement li:last-child {
  border-bottom: none; /* Remove the border from the last item */
}

#nameList li:hover,
#nameElement li:hover {
  background-color: #f0f0f0; /* Background color change on hover */
}

#nameElement {
  list-style-type: none;
  padding: 0;
  max-height: 200px; /* Adjust the maximum height as needed */
  overflow-y: auto; /* Add vertical scroll when content overflows */
}

/* Style for each suggestion item */
#nameElement li {
  list-style-type: none; /* Remove default bullet points */
  padding: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Roboto', sans-serif; /* You can replace 'Roboto' with your preferred font */
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333; /* Text color */
  border-bottom: 1px solid #ccc; /* Add a fine line below each item */
}
#nameList li:last-child {
  border-bottom: none; /* Remove the border from the last item */
}

.modalarchive {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(
    -60%,
    -50%
  ); /* Adjust the first value (-60%) to move it more to the left */
  background-color: #f9f9f9;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 9999;
}

.modalarchive li {
  list-style-type: none; /* Remove default bullet points */
}
.dateItem {
  cursor: pointer;
  padding: 10px 16px;
  border-bottom: 1px solid #ccc;
  font-family: 'Arial', sans-serif; /* Use a cool font */
  font-size: 12px; /* Adjust font size */
}

.dateItem:hover {
  background-color: #f0f0f0; /* Change background color on hover */
}

.grid-cellnumber {
  width: 45px; /* Increased width for better readability */
  height: 45px; /* Increased height for better spacing */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 14px; /* Increased font size for better legibility */
  font-weight: 700; /* Added font weight for a more professional look */
  text-align: center;
  border-radius: 4px; /* Increased border radius for smoother edges */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enhanced shadow effect for depth */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
 background-color: rgba(209, 182, 131, 0.363); /* Light blue color */
   color: #030338;
}

.fluorescent-border {
  border: 2px solid #7fff7f; /* Lighter green color */
  box-shadow: 0 0 10px #7fff7f; /* Lighter green shadow */
  transition: border-color 1.3s, box-shadow 1.3s;
}

.unfluorescent-border {
  border: 2px solid #006600; /* Darker and less intense fluorescent green color */

  box-shadow: 0 0 10px #7fff7f; /* Lighter green shadow */
  transition: border-color 1.3s, box-shadow 1.3s;
}

.fluorescent-border2 {
  border: 2px solid #990000; /* Darker and less fluorescent red color */
  box-shadow: 0 0 10px #990000; /* Darker and less fluorescent red shadow */
}

.modal2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-70%, -50%);
  background-color: #f9f9f9;
  padding: 5px 20px 40px; /* Adjusted padding to make it taller and wider to the left and enlarge by the bottom */
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 9999;
}

#nameElement {
  list-style-type: none;
  padding: 0;
  margin: 0; /* Add this line to remove default margin */
  max-height: 160px; /* Adjust the maximum height as needed */
  overflow-y: auto; /* Add vertical scroll when content overflows */
}

/* Style for each suggestion item */
#nameList li,
#nameElement li {
  padding: 7px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Roboto', sans-serif; /* You can replace 'Roboto' with your preferred font */
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333; /* Text color */
  border-bottom: 1px solid #ccc; /* Add a fine line below each item */
}

#nameList li:last-child,
#nameElement li:last-child {
  border-bottom: none; /* Remove the border from the last item */
}

#nameList li:hover,
#nameElement li:hover {
  background-color: #f0f0f0; /* Background color change on hover */
}

#nameElement {
  list-style-type: none;
  padding: 0;
  max-height: 200px; /* Adjust the maximum height as needed */
  overflow-y: auto; /* Add vertical scroll when content overflows */
}

/* Style for each suggestion item */
#nameElement li {
  list-style-type: none; /* Remove default bullet points */
  padding: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Roboto', sans-serif; /* You can replace 'Roboto' with your preferred font */
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333; /* Text color */
  border-bottom: 1px solid #ccc; /* Add a fine line below each item */
}
#nameList li:last-child {
  border-bottom: none; /* Remove the border from the last item */
}
