/* General body styling */
body, html {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #F9F9F9; /* light grey background */
  color: #333; /* dark grey text for readability */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

a {
  color: #333; /* Black */
  text-decoration: none;
  margin-right: 30px;
  font-weight: bold;
}

a:hover {
  color: #333;
}

/* Modal window styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Slightly darker background for better contrast */
}

.modal-content {
  background-color: #FFF;
  margin: 15% auto;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #CCC;
  max-width: 700px;
  min-width: 550px;
  text-align: center;
}

/* Game On Div Styling */
#gameOnDiv {
  display: none;
  background-color: #FFFFFF;
  width: 50%;
  padding: 20px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  z-index: 1000;
}

#gameOnDiv .close-btn {
  position: absolute;
  top: 20px; /* Add equal padding */
  right: 0px; /* Add equal padding */
  font-size: 20px;
  color: #333;
  font-weight: bold;
}


#gameOnDiv .close-btn:hover {
  color: #ff0000; /* Red on hover for visual feedback */
}

/* Timer Bar Styling */
#timerBar {
  height: 15px;
  background-color: #292928;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
}

#timerBar:after {
  content: "";
  display: block;
  background-color: #292928;
  height: 100%;
  width: 100%;
}

/* Input fields */
input[type="text"], input[type="range"] {
  width: 80%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #CCC;
  border-radius: 5px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

button {
  background-color: #E0EA96;
  color: #333;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #CCDB5B; /* Darker green on hover */
}

/* Adjust modal text */
h1 {
  font-family: Museo Slab,sans-serif;
  color: #333;
}

h1 {
  color: #333;
}

p {
  color: #333; /* Darker grey for body text */
  text-align: left; /* Ensures the text is left-aligned */
}

/* Map Styling */
#mapid {
  height: calc(100vh - 50px);
  z-index: 0;
  border: 1px solid #0055A4;
}

h2 a {
  text-decoration: none; /* Remove underline by default */
}

h2 a:hover {
  text-decoration: underline; /* Underline only on hover */
}

p a {
  text-decoration: underline;
  font-weight: normal;
  margin-right: 0;
}

#highScoresContainer {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin-top: 20px;
}

#highScoresContainer > div {
  width: 45%;
}

#highScoresContainer h3 {
  border-bottom: 1px solid #CCC;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

#highScoresContainer div#localScores,
#highScoresContainer div#firebaseScores {
  text-align: left;
}

<!-- Button inside a separate div -->
<div class="button-container">
  <button type="button" id="startBtn">Start</button>
</div>

table {
  width: 100%;
  border-collapse: collapse;
}

td div {
  margin-right: 10px;
}

/* GDPR Banner Styling */
.gdpr-banner {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #FFF;
  color: #333;
  padding: 15px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  text-align: center;
}

.gdpr-banner p {
  margin: 0 0 10px;
}

.gdpr-buttons {
  display: flex;
  justify-content: center;
}

.gdpr-buttons button {
  background-color: #E0EA96;
  color: #333;
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.gdpr-buttons button:hover {
  background-color: #CCDB5B;
}

/* Central logo styling (inside the modal) */
.logo-container-central {
    margin: 0 auto;
    text-align: right; /* Align the logo to the right */
    z-index: 2000; /* Same z-index as modal content */
    margin-bottom: -20px;
}

.central-logo {
    width: 150px;
    height: auto;
}

/* Global logo (always at the top right) */
.logo-container-global {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000; /* Ensure it's above most content but below modal */
    display: "block";
}

.upper-right-logo {
    max-width: 200px;
    height: auto;
}