body {
    background-image: url('https://firebasestorage.googleapis.com/v0/b/polymathquest00.appspot.com/o/images%2Fbg.jpeg?alt=media&token=11b224d2-0d5f-4c52-8dde-c0e64ff41e08');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0px;
  }

  .bodyContent {
    margin-top: 10px;
    background: linear-gradient(180deg, rgb(31, 24, 59, 0.1), rgb(178, 223, 182, 0.9));
    width: 100%;
    padding-bottom: 50px;
  }

  .aboutContent {
    background-color: white;
    padding-top: 5px;
    padding-bottom: 20px;
  }

  #about{
    background-color: white;
    width: 60%;
    margin-left: 20%;
  }

  #about p {
   
    text-align: center;
  }

  .helpContent {
    background-color: white;
    padding-bottom: 30px;
    padding-top: 5px;
  }

  #help {
    width: 60%;
    margin-left: 20%;
  }

.triangle {
    width: 0;
    height: 0;
    border-right: 70vw solid transparent;
    border-top: 100vh solid rgb(20, 59, 66);
}

.midElement {
  color: rgb(7, 7, 7);
  border: 1px solid #ffffff;
  text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.5);
  font-size: 36px;
  font-weight: bolder;
  width: 70%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(to right, rgba(99, 87, 65, 0.5), rgba(255, 16, 95, 0.1));
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  /* Add this for the typing effect */
  white-space: wrap;
  overflow: hidden;
  animation: typing 4s steps(40, end), blink-caret .75s step-end infinite;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Typing animation */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* Cursor animations */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: rgb(78, 46, 3); }
}

.playNowButton {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#playNowButton {
  background: linear-gradient(to right, #ff105f, #ffad06);
  color: white;
  border: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  display: block;
  font-size: 16px;
  font-weight: bold;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 50px;
  margin-top: -285px;
}

#playNowButton:hover {
  background: linear-gradient(to right, #ffad06, #ff105f);
}

.playNowButton a {
  text-decoration: none;
}

.features {
  text-align: center;
  margin-top: -120px;
  width: 100%;
}

.featureLabel {
  color: rgb(73, 66, 66);
}

#feature1Text {
  font-size: large;
  margin-left: 30px;
  margin-right: 30px;
}

#feature3Text {
  font-size: large;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 115px;
}

#feature2Text {
  font-size: x-large;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}

#feature1Image {
  width: 80%;
  height: 450px;
  margin-left: 7%;

}

.dummyBundle {
  display: grid;
  grid-template-columns: 100% 0%;
}

.dummyBundle3 {
  display: none;
}

.bundle1 {
  border: 1px solid #feb47b;
  border-radius: 5px;
  margin-left: 20%;
  margin-right: 5%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5); /* semi-transparent */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#feature2Image {
  height: 350px;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: -40px;

}

.bundle2 {
  border: 1px solid #feb47b;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.5); /* semi-transparent */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#feature3Label {
  width: 80%;
  margin-left: 10%;
  margin-right: 0%;

}

#feature3Image {
  width: 80%;
  height: 350px;
  margin-left: 7%;
}

.bundle3{
  border: 1px solid #feb47b;
  border-radius: 5px;
  margin-right: 20%;
  margin-left: 5%;
  background-color: rgba(255, 255, 255, 0.5); /* semi-transparent */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.featureGroup1 {
  display: grid;
  grid-template-columns: 30% 40% 30%;
  margin-top: 10px;
  text-align: center;
}

.featureGroup2 {
  display: grid;
  grid-template-columns: 50% 50%;
  margin-top: 10px;
  text-align: center;
  margin-top: 20px;
  margin-left: 6%;
  margin-right: 6%;
  padding-bottom: 10px;
  padding-top: 10px;
  background-color: rgba(255, 255, 255, 0.5); /* semi-transparent */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.featureGroup3 {
  display: grid;
  grid-template-columns: 50% 50%;
  margin-top: 10px;
  text-align: center;
  margin-top: 20px;
  margin-left: 6%;
  margin-right: 6%;
}

.bundle4, .bundle5 {
  width: 80%;
  margin-right: 10%;
  margin-left: 10%;
}

.bundle6, .bundle7{
  width: 80%;
  margin-right: 10%;
  margin-left: 10%;
}


  .gameContent {
    width: 80%;
    margin-left: 10%;
  }

  .navigation {
    display: grid;
    grid-template-columns: 50% 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-image: linear-gradient(180deg, rgb(31, 24, 59), rgb(178, 223, 182));
  }

  .heading {
    text-align: left;
    color: #feb47b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: -30px;
    margin-left: 5px;
  }

  .heading h1 {
    text-align: left;
    font-size: 50px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-decoration: underline;
    font-family: 'Times New Roman', Times, serif;
  }

  .heading p {
    margin-top: -30px;
    color: #dbd1cb;
    font-size: 18px;
    font-weight: bolder;
    text-shadow: 2px 0px 4px rgba(1, 1, 1, 1);
    font-family: 'Times New Roman', Times, serif;
  }

  .heading a{
    text-decoration: none;
  }

  ul
    {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        
      }
      
      li {
        float: right;
      }
      
      li:last-child {
        border-right: none;
      }
      
      li a {
        display: block;
        color: rgb(255, 255, 255);
        text-align: center;
        padding: 10px 16px;
        text-decoration: none;
      }
      
      li a:hover:not(.active) {
        background-color: #f8f8f8;
      }
      
      .active {
        background-color: #04AA6D;
        text-align: right;
}

/* List styling */
ul, li {

    margin-top: 15px;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/*For the sound button in the navigation area*/
#soundButtonDiv {
  margin-top: 16px;
  margin-left: 10px;
  text-align: right;
}

/* Styling for the navigation bar with a gradient background */
.nav-bar {
    background-color: rgba(254, 180, 123, 0.1); /* 90% transparent */
    overflow: hidden;
    top: 0;
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
  }
  
  .nav-bar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .nav-bar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Styling for the observer list with alternating background colors */
.observer-list {
    width: 100%;
    height: 50px;
    border: 1px solid #ccc;
    background-color: rgba(252, 252, 252, 0.5); /* 50% transparent */
    margin-top: 10px;
    position: static;
    
  
}

@keyframes marquee {
  0%   { transform: translate(400%, 0); }
  100% { transform: translate(-100%, 0); }
}

/* Styling for the challenges container */
.challenges {
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
  width: 100%;
  margin-top: 10px;
  text-align: center;
  padding-bottom: 500px;

}

/* Styling for the sub containers in the challenge container */
.challenge {
  border: 1px solid #ccc;
  width: 100%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
}


.challenge h3 {
  background-color: rgb(194, 188, 188);
  padding: 10px;
  margin-top: 0px;
}

   /* Container holding the image and the text */
.playerOneContainer, .playerTwoContainer {
    width: auto;
   }
 
.playerOneContainer {
     text-align: center;
   }
 
.playerTwoContainer {
     text-align: center;
   }


#aboutApp {
  margin: 50px 50px 50px 50px;
  text-align: justify;
}

.footer {
  display: grid;
  grid-template-columns: 50% 50%;
  font-size: small;
  color: white;
  height: 150px;
  background-color: black;
  padding-bottom: 50px;
}

.footer a {
  text-decoration: none;
  color: orange;
}

.socials {
  display: grid;
  grid-template-columns: 50% 50%;
  text-align: right;
  margin-right: 10px;
}

#socials {
  text-align: left;
}

.declarations {
  margin-left: 10px;
  display: grid;
  grid-template-columns: 50% 50%;
}

.getQuestionsBtn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.getQuestionsButton {
    background: linear-gradient(to right, #ff105f, #ffad06);
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 50px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

#getQuestionsButton:hover {
    background: linear-gradient(to right, #ffad06, #ff105f);
}

  /* For the filters menu */
  #filters {
    display: grid;
    grid-template-columns: 33.3% 33.3% 33.3%;
    text-align: center;
    margin-top: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  form {
    width: auto;
    margin: 0px;
    padding: 0px;
    border: 1px solid #cccccc;
    border-radius: 0px;
    background-color: #eeecec;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;

}


label {
    display: block;
    margin-bottom: 5px;
}

select {
    width: 100%;
    padding: 3px;
    border-radius: 0px;
    border: 1px solid #04AA6D;
    background-color: #04AA6D;
    margin-bottom: 20px;
    font-size: medium;
}
  
  /* Styling for the player avatars with a circular border */
  .avatar {
    margin-top: 15px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #feb47b;
    background: linear-gradient(to right, #ff105f, #ffad06);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.1);
}

.playerName{
    bottom: 20px;
    left: 20px;
    background-color: white;
    color: black;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 50px;
    font-weight: bold;
}

.playerName h4 {
   padding: 5px;
}

.avatars {
    display: grid;
    grid-template-columns: 33.3% 33.3% 33.3%;
    padding: 10px;
    justify-content: center;
    place-items: center;
    margin-top: 10px;
    background-color: #f7fbff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-image: linear-gradient(180deg, rgb(9, 2, 37), rgb(219, 241, 220));
 
}


  #controlButtons button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, #ff105f, #ffad06);
    color: white;
    cursor: pointer;
    transition: background 0.5s ease;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
 
}

#controlButtons button:hover, #refreshButton:hover, #getQuestionsButtonP1:hover, #getQuestionsButtonP2:hover {
    background: linear-gradient(to right, #ffad06, #ff105f);
}

.countdownTimer {
  text-align: center;
  margin: 10px;
}

@keyframes flash {
  0% {opacity: 1;}
  50% {opacity: 0;}
  100% {opacity: 1;}
}

#countdownWarning {
  text-align: center;
  color: rgb(243, 243, 243);
  font-size: 26px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.5);
  animation: flash 1s linear infinite; /* Flashing effect */
}

#currentRoundDisplay {
  font-size: 26px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: rgb(175, 173, 173);
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

  #timer {
    width: 300px;
    height: 100px;
    border: 2px solid #84c0f1;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6em;
    color: rgb(163, 4, 4);
    background-color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#refreshButton {
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(to right, #105cff, #4dff06);
  color: white;
  cursor: pointer;
  transition: background 0.5s ease;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


.game {
    display: grid;
    grid-template-columns: 28% 44% 28%;
    padding-bottom: 150px;
}
  
  /* Styling for the player scores with a shadow effect */
.scoreP1 {
    font-size: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  /* Styling for the question display with a box around it */
.textOutput {
    
    font-weight: bold;
    margin-bottom: 10px;
    border: 1px solid #feb47b;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
  }

#chatsLabel {
    text-align: center;
    background-color: rgb(1, 8, 15);
    font-size: x-large;
    margin-bottom: 10px;
    color: white;
    padding-top:10px ;
    padding-bottom:10px ;
    width: 100%;
    box-shadow: 0px 12px 4px 4px rgba(255, 255, 255, 0.5);
  } 
 
#scoresLabel {
  text-align: center;
  background-color: rgb(1, 8, 15);
  font-size: x-large;
  margin-bottom: 10px;
  color: white;
  padding-top:10px ;
  padding-bottom:10px ;
  width: 100%;
  box-shadow: 0px 12px 4px 4px rgba(255, 255, 255, 0.5);
}  

.playerLabels {
  background-color: #172001;
  border: none;
  padding: 5px;
  color: white;
  font-weight: bold;
}

#playerOneLabel {
  margin-right: 5px;
}

#playerTwoLabel {
  margin-left: 5px;
}

#playerOneScore {
  margin-right: 5px;
}

#playerTwoScore {
  margin-left: 5px;
}

#chatBoxP1::-webkit-scrollbar {
    width: 10px;
  }

  #chatBoxP1::-webkit-scrollbar-thumb {
    background: #feb47b;
    border-radius: 5px;
  }

/* Styling for the chat box with a scrollbar for high resolution */
#chatBoxP {
  position: relative;
  width: 100%;
  height: 400px;
  border: 1px solid #feb47b;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
}

#chatBoxP::-webkit-scrollbar {
    width: 10px;
  }

  #chatBoxP::-webkit-scrollbar-thumb {
    background: #feb47b;
    border-radius: 5px;
  }

/* Styling for the chat box with a scrollbar */
#chatBoxP {
  position: relative;
  width: 100%;
  height: 400px;
  border: 1px solid #feb47b;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
}


/* Styling for the chat box with a scrollbar for mobile */
#chatBoxP1 {
  position: relative;
  width: 100%;
  height: 400px;
  border: 1px solid #feb47b;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
}

#chatBoxP1::-webkit-scrollbar {
    width: 10px;
  }

  #chatBoxP1::-webkit-scrollbar-thumb {
    background: #feb47b;
    border-radius: 5px;
  }

/* Styling for the chat box with a scrollbar */
#chatBoxP1 {
  position: relative;
  width: 100%;
  height: 400px;
  border: 1px solid #feb47b;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
}

.chatContent {
  flex-grow: 1;
  overflow-y: scroll;
  height: 330px;
  margin-top: 10px;
  margin-left: 5px;
  margin-right: 5px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.chat-input-container {
  position: relative;
  width: 100%;
  background-color: #f8f8f8;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  
}

.chat-input {
  flex-grow: 1;
  margin-right: 10px;
  padding: 10px;
  border-radius: 20px;
  border: none;
  outline: none;
  resize: none; 
  overflow: auto; 
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: medium;
}

.send-button img {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.send-button {
  padding: 10px 20px;
  background-color: #ffffff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

  /* Styling for the scoreboard with a box around it */
.scoreboardP1 {
    border: 1px solid #ffffff;
    padding: 10px;
    border-radius: 5px;
  }
  
#playerOneScoreHistory {
    border: 1px solid #feb47b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: block; /* visible by default */
  }

  #playerTwoScoreHistory {
    border: 1px solid #feb47b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: block; /* visible by default */
  }
  
  
.boxP1 {
    position: relative;
    background-color: rgba(255, 255, 255, 0.5); /* semi-transparent */
    display: none; /* initially hidden */
}

.displayButtonsP1 {
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.5); /* semi-transparent */
}


#scoreButtonP1, #chatButtonP1, #questionsButtonP1 {
    background-color: transparent;
    border: 1px solid #feb47b;
    height: 30px;
    font-weight: bold;
}

#scoreButtonP1:hover, #chatButtonP1:hover, #questionsButtonP1:hover {
  background-color: white;
  color: black;
}

.challengeButtons {

  border-radius: 5px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 50% 50%;
}


#acceptButton, #denyButton {
  border: 1px solid #feb47b;
  height: 30px;
  display: none;
}

#acceptButton:hover, #denyButton:hover {
  background-color: white;
  color: black;
}

#acceptButton {
  background-color: green;
}

#denyButton {
  background-color:  red;
}

.theScores {
  display: grid;
  grid-template-columns: 50% 50%;
  border: 1px solid #feb47b;
  border-radius: 0px;
}

  /* Styling for the scoreboard with a box around it */
.scoreboardP2 {
    border: 1px solid #ffffff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
#playerOneScoreHistory {
    border: 1px solid #feb47b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: block; /* visible by default */
  }
  

/*This controls the highlighting of the control buttons*/
#scoreButtonP1.active, #chatButtonP1.active,  #questionsButtonP1.active{
    background-color: #fcfcfc; 
    text-align: center;
}

#myBtn {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: none;
    outline: none;
    background-color: red; 
    color: white; 
    cursor: pointer; 
    padding: 10px; 
    border-radius: 10px;
    font-size: 18px;
    margin: 10px;
}

#myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

/* For the available players cards */

.card {
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 5px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  display: flex; /* Enable Flexbox */
  justify-content: space-between; /* Space items evenly */
  align-items: center; /* Align items vertically centered */
}

.card img {
  width: 60px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.username {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.challengeButton {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-right: 10px;
}

.challengeButton:hover {
  background-color: #0056b3;
}

.message-card {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}
.accept-button,.deny-button {
  background-color: #4CAF50;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}
.deny-button {
  background-color: #f44336;
}

#myAudio {
display: none;
}



#soundButton {
    /* Add your custom styles here */
    background-color: #16a116; /* Green */
    border: 1px solid rgb(247, 247, 247);
    color: rgb(245, 245, 245);
    padding: 26px 18px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin-right: 10px;
    cursor: pointer;
}

#soundButtonDivMob {
    display: none;
}

.pauseHover:hover {
  background-color: orange;
}

#play {
  margin-left: 23px;
  margin-bottom: -10px;
}

.hamnPlay {
  display: block;
  float: right;
}

.selected-answer {
  background-color: orange;
}

.displayButtonsP1 {
  display: none;
}


/*Style mobile menu */


.hamburger {
  display: none; /* Hide on larger screens */
  cursor: pointer;
  position: relative; /* Added to position the dot */
  padding-left: 20px; /* Added to make space for the dot */
  margin-bottom: 10px;
}

.hamburger::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: #04AA6D;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.mobileGame {
  display: none;
}

.navnBtn {
  display: grid;
  grid-template-columns: auto auto;
}

@media only screen and (max-width: 600px) {



}


@media only screen and (min-width: 500px) and (max-width: 950px) {

.dummyBundle {
  display: grid;
  grid-template-columns: 50% 50%;
}

.bundle3 {
  display: none;
}

.featureGroup2 {
  margin: 5%;
}


.dummyBundle3 {
  display: block;
  border: 1px solid #feb47b;
  border-radius: 5px;
  margin: 5%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5); /* semi-transparent */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

}



@media only screen and (max-width: 1110px) { /* Show on smaller screens */

body {
  margin: 0px;
  margin-right: 0px;

}

.navigation {
  margin-right: -5px;
}

.line {
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #fff;
    margin-right: 20px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  display: block; /* Added to make list items stack vertically */
  width: 100%; /* Added to make list items take up full width */
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb; /* Added to separate list items vertically */
}

li:last-child {
  border-right: none;
  border-bottom: none; /* Added to remove bottom border from last list item */
}

li a {
  display: block;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
}

li a:hover:not(.active) {
  background-color: #f8f8f8;
}

.active {
  background-color: #04AA6D;
  text-align: center;
}  

#nav-bar {
  display: none;
}

    .hamburger {
        display: block;
        float: right;
        margin-top: 25px;
        margin-right:5px;
    }

    #nav-bar ul li {
        display: block; /* Display list items vertically on smaller screens */
    }

    #nav-bar {
        display: none;
    }

    #nav-bar.show {
        display: block;
        margin-top: 125px;
    }

    .midElement {
      font-size: 18px;
      border-radius: 20px;
    }
    
    .bodyContent {
      width: 101%;

    }

    .features {
      margin-top: -140px;
    }

    .featureGroup1 {
      display: block;
    }

    .featureGroup2 {
      display: block;
    }

    .featureGroup3 {
      display: block;
    }

    .bundle1 {
      margin: 5%;
    }

    .bundle2 {
      margin: 5%;
    }

    .bundle3 {
      margin: 5%;
    }

    .gameContent {
      width: 100%;
      margin: 0%;
    }

    #timer {
      width: 70px;
      height: 50px;
      font-size: 26px;
  }

  .avatar {
    display: none;
  }

  #countdownWarning {
    font-size: 14px;
  }

.declarations, .socials {
  display: block;
}

#socials {
  text-align: right;

}


#contact, #legals {
  margin-top: 40px; 
}

.footer {
  display: grid;
  grid-template-columns: 50% 50%;
  font-size: small;
  color: white;
  height: 300px;
  background-color: black;
  padding-bottom: 50px;
}

.game{
  display: block;
}

.chatBoxP1, #playerScoreHistory {
  display: none; /* Initially hide these elements */
}

.playerScoreHistory {
  padding-bottom: 100px;
}

.theScores {
  display: block;
}

.textOutput {
  display: block; /* textOutput is displayed by default */
  margin-top: -100px;
  padding-bottom: 300px;
}

.scoreboardP2 {
  margin-top: -100px;
}

/* Styling for the chat box with a scrollbar */
#chatBoxP1 {
  position: relative;
  width: 100%;
  height: 400px;
  border: 1px solid #feb47b;
  border-radius: 0px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  display: none;
}

#playerOneLabel {
  margin-right: 0px;
}

#playerTwoLabel {
  margin-left: 0px;
}

#myBtn {
  padding: 6px; 
  font-size: 12px;
}

.red-dot {
  position: relative;
}

.red-dot::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: red;
}

.scoreboardP1 {
  margin-bottom: 85px;
}

.displayButtonsP1 {
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.5); /* semi-transparent */
}

#soundButton {
  /* Add your custom styles here */
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 10px 18px;
  text-align: right;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
}

/*For the sound button in the navigation area*/
#soundButtonDiv {
  margin-top: 64px;
  text-align: right;
}

.challenges {
  display: block;
}

#availablePlayers, #publicChallenges, #privateChallenges {

  margin-bottom: 10px;
}

.navnBtn {
  display: block;
}
}