body {
  background-color: #f5eecf;
  font-family: "Rockwell", serif;
}


#countryButtons {
  margin-top: 20px;
}

/* Button styles */
.buttonx {
  background-color: #d9710f;
  border: none;
  color: #fff;
  padding: 10px 20px;
  font-size: 18px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 8px;
}

/* Channel Name styles */
#channelBox {
  background-color: #FFC30B;
  border: 5px solid black;
  border-radius: 20px;
  margin-top: 20px;
  padding: 15px;
  text-align: center;
}

#channelName {
  font-family: Helvetica;
  font-size: 16px;
  color: #000;
}

/* Control buttons container styles */
#controlsContainer {
  border: 5px solid black;
  border-radius: 20px;
  padding: 0px;
  width: 30%; /* Adjusted width */
  margin: 20px auto;
}

/* Control button styles */
.largeButton,
.smallButton {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  margin: 4px;
  cursor: pointer;
  border-radius: 20px;
  background-color: #FFC30B;
}

#volumeButtonsContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 10px;
}

/* Media Query for Mobile Devices */
@media screen and (max-width: 600px) {
  h1 {
      font-size: 36px;
  }
  h2 {
      font-size: 24px;
  }
  h3 {
      font-size: 18px;
  }
  .buttonx {
      font-size: 14px;
      padding: 8px 16px;
  }
  #channelBox {
      padding: 10px;
  }
  #channelName {
      font-size: 14px;
  }
  .largeButton,
  .smallButton {
      padding: 8px 16px;
      font-size: 14px;
  }
  #radioPlayerContainer {
      width: 90%; /* Adjusted width for mobile */
      left: 0%;
  }
  #controlsContainer {
      width: 90%; /* Adjusted width for mobile */
  }
}
/* CSS for radio player */
.radio-player-container {
  /*position: fixed;*/
  top: 20px; /* Adjust as needed 
  right: 20px; /* Adjust as needed */

}
.radio-container {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Radio player styles */
.radio-player {
  display: flex;
  align-items: center;
}
.radio-container {
  border: 2px solid black;
  padding: 10px;
  border-radius: 10px; /* Increased border-radius for curved corners */
  background-color: #f2f2f2;
}

.radio-player {
  display: flex;
  align-items: center;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure overlay is on top of everything else */
}

.overlay-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}
button {
  padding: 10px 15px;
  border: none;
  background-color: #ffc30b; /* Yellow color */
  color: black; /* Text color adjusted for better visibility */
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px; /* Border radius for curved buttons */
}

button:hover {
  background-color: #ffb30b; /* Darker shade of yellow on hover */
}

.volume-button {
  margin-right: 10px;
}

.channel-button {
  margin-left: auto;
}

.radio-player audio {
  width: 100%;
}
/* Add custom styles for the mute icon */
#muteIcon.fa-volume-mute:before {
  content: "\f6a9"; /* Unicode for volume-mute icon in FontAwesome */
}

#muteIcon.fa-volume-up:before {
  content: "\f028"; /* Unicode for volume-up icon in FontAwesome */
}

.radio-player button {
  margin-left: 10px;
}

#radioPlayer {
  width: 100%;
}

/* Adjustments for controls */
#controlsContainer {
  margin-top: 10px;
}

/* Adjust the size of the buttons */
.largeButton {
  font-size: 14px;
}

.smallButton {
  font-size: 12px;
}

/* Adjust the size of the volume buttons */
#volumeButtonsContainer button {
  font-size: 10px;
}

#map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/a2.png") no-repeat center center fixed;
  background-size: cover; /* This will make the background image cover the entire background */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-family: "Rockwell", serif;
  z-index: -50;
  visibility: hidden;
}

#mly {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/a5.png");
  background-repeat: repeat;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-family: "Rockwell", serif;
  z-index: -99;
}

.text-center2 {
  position: fixed;
  color: #ccc; /* Set the text color to white */
  top: 80%;
  display: block;
  left: 1%;
  right: 0;
  font-size: 19px;
  font-family: "Rockwell", serif;
}

.text-center {
  position: fixed;
  display: flex; /* Use flexbox */
  justify-content: flex-start; /* Align to the left */
  align-items: flex-end; /* Align to the bottom */
  bottom: 0; /* Ensure it stays at the bottom */
  left: 0; /* Ensure it stays at the left */
  text-align: center;
  font-size: 19px;
  font-family: "Rockwell", serif;
}

.text-center3 {
  position: fixed;
  top: 84%;
  right: 135px;
  font-size: 19px;
  font-family: "Rockwell", serif;
  color: #000000;
  text-align: center; /* Center the text vertically */
}
.custom-button {
  font-size: 0; /* Set font-size to 0 to hide any text */
  background-image: url("assets/c2.png"); /* Set the background image */
  background-size: contain; /* Adjust background size */
  background-repeat: no-repeat; /* Prevent image from repeating */
  display: inline-flex;
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
  padding: 10px; /* Adjust padding as needed */
  background-color: #ffc30b;
  color: #000000; /* Black text color */
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #000000; /* Black border */
  border-radius: 5px;
  height: 50px;
  width: 50px;
  position: fixed;
  color: rgb(1, 0, 0);
  text-align: center;
  top: 10px;
  left: 10px;
  border-radius: 5px;
}

.custom-button:hover {
  background-color: #000000; /* Black background on hover */
  color: #ffa600; /* Yellow text color on hover */
  border: 2px solid #555248; /* Yellow border on hover */
}
.container {
  position: relative; /* Container needs a position for absolute positioning to work */
}

.custom-image {
  position: absolute; /* Use absolute positioning */
  width: 100px;
  height: 80px;
  pointer-events: none;
  border-radius: 5px;
  z-index: 2;
}
.custom-image2 {
  position: absolute; /* Use absolute positioning */
  width: 100px;
  height: 80px;
  pointer-events: none;
  border-radius: 5px;
  z-index: 1;
}
/* Adjust top and left values as needed */
#image1 {
  top: 260px;
  left: -5px;
}

#image2 {
  top: 260px;
  left: 65px;
}

#image3 {
  top: 260px;
  left: 135px;
}

#image4 {
  top: 260px;
  left: -5px;
}

#image5 {
  top: 260px;
  left: 65px;
}

#image6 {
  top: 260px;
  left: 135px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffc30b;
  color: #000000; /* Black text color */
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #000000; /* Black border */
  border-radius: 5px;
  font-family: "Rockwell", serif;
}

.button:hover {
  background-color: #000000; /* Black background on hover */
  color: #ffc30b; /* Yellow text color on hover */
  border: 2px solid #ffc30b; /* Yellow border on hover */
}

h1 {
  position: fixed;

  font-size: 24px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 7px;
  font-family: "Rockwell", serif;
}

#loading {
  position: fixed;

  display: none;
  position: fixed;
  top: 95%;
  left: 7%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  text-align: center;
  font-size: 12px;
  font-family: "Rockwell", serif;
}

.leaflet-control-attribution {
  display: none !important;
}

#result {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-family: "Rockwell", serif;
  color: #ffc30b;
  z-index: 1000; /* Ensure it appears above other elements */
}

#loading::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(50% - 15px);
  left: calc(50% + 70px);
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border-radius: 50%;
  border: 4px solid #ccc;
  border-color: #a15d0a transparent #a15d0a transparent;
  animation: loading 1.2s linear infinite;
  font-family: "Rockwell", serif;
}

#loading span {
  display: inline-block;
  margin-right: 8px;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#new-game-button {
  position: fixed;

  color: rgb(1, 0, 0);
  font-size: 12px;
  text-align: center;
  width: 100px;
  height: 30px;
  background-color: #ffc30b;
  top: 18px;
  font-family: "Rockwell", serif;
  right: 185px;
  border-radius: 5px;
}

#new-game-button:hover {
  background-color: #000000; /* Black background on hover */
  color: #ffc30b; /* Yellow text color on hover */
  border: 2px solid #ffc30b; /* Yellow border on hover */
}
#toggle-high-scores {
  position: fixed;
  color: rgb(1, 0, 0);
  font-size: 11px;
  text-align: center;
  width: 100px;
  height: 30px;
  background-color: #ffc30b;
  top: 51px;
  font-family: "Rockwell", serif;
  right: 185px;
  border-radius: 5px;
}

#toggle-high-scores:hover {
  background-color: #000000; /* Black background on hover */
  color: #ffc30b; /* Yellow text color on hover */
  border: 2px solid #ffc30b; /* Yellow border on hover */
}

#toggle-map {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center; /* Change from align-items: flex-end to align-items: center */
  font-size: 19px;
  font-family: "Rockwell", serif;
  width: 250px;
  height: 50px;
  color: rgb(1, 0, 0);
  text-align: center;
  background-color: #ffc30b;
  bottom: 10px;
  left: 10px;
  border-radius: 5px;

  z-index: 40;
}
#toggle-map:hover {
  background-color: #000000; /* Black background on hover */
  color: #ffc30b; /* Yellow text color on hover */
  border: 2px solid #ffc30b; /* Yellow border on hover */
}
#guess-button {
  position: fixed;
  display: flex;
  justify-content: center; /* Center the content horizontally */
  align-items: flex-end; /* Align to the bottom */
  font-size: 19px;
  font-family: "Rockwell", serif;
  width: 250px;
  height: 50px;
  color: rgb(1, 0, 0);
  text-align: center;
  background-color: #ffc30b;
  font-family: "Rockwell", serif;
  bottom: 10px; /* Adjust the distance from the bottom as needed */
  right: 10px; /* Adjust the distance from the left as needed */
  z-index: 40;
}
#guess-button:hover {
  background-color: #000000; /* Black background on hover */
  color: #ffc30b; /* Yellow text color on hover */
  border: 2px solid #ffc30b; /* Yellow border on hover */
}

#timer {
  color: rgb(1, 0, 0);
  font-size: px;
  text-align: center;
  width: 150px;
  height: 50px;
  position: absolute;
  top: 2px;
  right: 20px;
  padding: 5px;
  font-family: "Rockwell", serif;
  border: 2px solid black;
  border-radius: 5px;

  background-color: #ffc30b;
}
.logo {
  position: fixed;
  top: -65px;
  width: 180px;
  height: 180px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 10;
}
.logolink {
  width: 190px;
  height: 180px;
  cursor: pointer;
}
#score-table {
  text-align: center;
  position: fixed;
  top: 10%;
  border: 2px solid black;
  border-radius: 5px;
  left: 50%;
  color: #000000;
  transform: translateX(-50%);
  background-color: #ffc20bc8; /* Background image URL */
  background-size: cover; /* Adjusts the background image size */
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 2000; /* Ensure it appears over the map */
  display: none; /* Initially hide the high score table */
  border-radius: 5px;
}

.yellow-border {
  text-shadow: -0.5px -0.5px 0 #ffc30b, 0.5px -0.5px 0 #ffc30b,
    -0.5px 0.5px 0 #ffc30b, 0.5px 0.5px 0 #ffc30b;
}

.yellow-border2 {
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000;
}

#score {
  position: absolute;
  width: 190px;
  height: 60px;
  margin-top: 190px;
  left: 10px;
  font-size: 30px;
  color: rgb(1, 0, 0);
  font-family: "Rockwell", serif;
  border: 2px solid black;
  border-radius: 5px;
  background-color: #ffc30b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 60px; /* Adjust the line-height to vertically center the text */
}

#player-score {
  #score {
    position: absolute;
    width: 190px;
    height: 60px;
    top: 100px;
    left: 10px;
    font-size: 30px;
    color: rgb(1, 0, 0);
    font-family: "Rockwell", serif;
    border: 2px solid black;
    border-radius: 5px;
    background-color: #ffc30b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 60px; /* Adjust the line-height to vertically center the text */
  }
}
#fullscreen-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
}
#back-button {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
}
#high-score-list {
  font-size: 20;
  text-align: left;
}
#save-score {
  font-family: "Rockwell", serif;
  color: #000000;
  text-align: center;
  background-color: #ffc30b;
  border: 2px solid black;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 20px;
  width: fit-content; /* This sets the width of the button to fit its content */
}
#save-score:hover {
  background-color: #000000; /* Black background on hover */
  color: #ffc30b; /* Yellow text color on hover */
  border: 2px solid #ffc30b; /* Yellow border on hover */
}
#user-name {
  display: block;
  margin: 10px auto; /* Add margin to create space */
  padding: 10px;
  font-size: 15px;
  text-align: center;
}
.play-radio-button {
  width: 100%;
}
#show-coordinates + label::before {
  content: "Show Coordinates"; /* Replace with the text you want to display */
  display: inline-block;
  width: 180px;
  height: 20px;
  background-color: #ffffff; /* Change the background color to your preferred color */
  border: 2px solid #000000; /* Change the border color to your preferred color */
  border-radius: 5px;
  margin-right: -60px;
  vertical-align: middle;
  cursor: pointer;
}
#show-coordinates {
  display: none;
}
/* Define the checked state of the custom checkbox */
#show-coordinates:checked + label::before {
  background-color: #ffc30b; /* Change the background color for the checked state */
}

/* Style the label text next to the custom checkbox */
#show-coordinates + label {
  vertical-align: middle;
  cursor: pointer;
}

#germania {
  font-family: "Germania One", cursive;
}
/* Styles for mobile phones */
@media only screen and (min-width: 300px) and (max-width: 980px) {
  #map {
    background: url("assets/p2.png");
  }
  #mly {
    height: 100%;
    width: 100%;
    background: url("assets/p5.png");
  }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure overlay is on top of everything else */
  }
  
  .overlay-content {
    background-color: #fff;
    padding: 20px;
    font-size: 30px;
    border-radius: 10px;
    text-align: left;
  }
  .radio-container {
    width: 20%;
    right: 5%;
    font-size: 30px; /* Adjust font size for mobile */
  }

  /* Adjusted width for mobile */
  .radio-player {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center; /* Center align horizontally */
  }

  /* Style for each radio control button */
  .radio-control-button {
    font-size: 26px; /* Adjust font size for mobile */
    width: 100%;

    margin: 5px; /* Add spacing around buttons */
  }
  #startButton {
    font-size: 26px; /* Adjust font size for mobile */
    width: 100%;

    margin: 5px; /* Add spacing around buttons */
  }
  #result {
    font-size: 40px;
    top: 600px;
  }
  .custom-image {
    width: 200px;
    height: 160px;
    pointer-events: none;
    border-radius: 5px;
  }
  .custom-image2 {
    width: 200px;
    height: 160px;
    pointer-events: none;
    border-radius: 5px;
  }

  #image1 {
    top: 270px;
    left: -20px;
  }

  #image2 {
    top: 270px;
    left: 110px;
  }

  #image3 {
    top: 270px;
    left: 240px;
  }

  #image4 {
    top: 270px;
    left: -20px;
  }

  #image5 {
    top: 270px;
    left: 110px;
  }

  #image6 {
    top: 270px;
    left: 240px;
  }

  #save-score {
    font-family: "Rockwell", serif;
    color: #000000;
    text-align: center;
    background-color: #ffc30b;
    border: 2px solid black;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 30px;
    width: fit-content; /* This sets the width of the button to fit its content */
  }
  #user-name {
    font-family: "Rockwell", serif;
    font-size: 30px;
  }
  #score-table {
    font-size: 30px;
    top: 25%;
  }

  #score {
    font-size: 60px;
    width: 300px;
    height: 80px;
  }
  .custom-button {
    width: 150px;
    height: 150px;
    font-size: 60px;
  }
  #toggle-map {
    width: 300px;
    height: 180px;
    font-size: 60px;
  }

  #guess-button {
    width: 300px;
    height: 180px;
    font-size: 60px;
  }
  /* Hide the default checkbox */
  #show-coordinates {
    display: none;
  }
  #timer {
    top: -40px;
    width: 300px;
    height: 180px;
    font-size: 50px;
  }
  #new-game-button {
    width: 315px;
    height: 80px;
    font-size: 40px;
    top: 212px;
    right: 20px;
  }
  #toggle-high-scores {
    width: 315px;
    height: 120px;
    font-size: 40px;
    top: 300px;
    right: 20px;
  }

  #show-coordinates + label::before {
    display: none;
  }
  #show-coordinates {
    display: none;
  }
  #show-coordinates + label {
    display: none;
  }
  .text-center2 {
    display: none;
  }
}
/* Create a custom checkbox style */
