body {
  background-color: #ffffff; /*coral*/
  margin: 0;
}

/**----------navbar----------**/
img.logo {
  width: 210px;
  height: auto;
  /**margin-right: 34px;*/
}

.navbar {
  background-color: #fff9dd;
}

.nav1 {
  margin-right: 6px;
  position: relative;
  /**margin-right: 34px;*/
}

.nav2 {
  margin-left: 18px;
}

a.nav-link{
  font-size: 14px;
}


/**----------navbar------------**/

/**-----------general section--------**/
.container {
  max-width: 1300px;
  margin: auto;
  padding-left: 0px;
  padding-right: 0px;
  position: relative;
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}

.small-container {
  /**.popular-container, .featured-container, .testimonial-container, .partner-container*/
  max-width: 1160px;
  margin: auto;
  padding-left: 0px;
  /**22px**/
  padding-right: 0px;
}

/**-----------general section--------**/

/**-----------score section--------**/
.score {
  margin-top: 20px;
}

.score .col-4{
  text-align: center;
  cursor: pointer;
}


.score .col-4 img {
  width: 170px;
}



.score .col-4 h3 {
  font-weight: 600;
  color: #3b3b3b;
  font-size: 24px;
}

.score .col-4 {
  flex-basis: 27%; /** the smaller the %, the narrower the div column*/
  min-width: 250px; /** the larger the px, the narrower*/
  font-size: 20px;
}

/**-----------score section--------**/

/**-----------button section--------**/
.play-button{
  margin-top: 34px;
}

.play-button .col-6{
  text-align: center;
  cursor: pointer;
}

.play-button .col-6{
    flex-basis: 30%;
    min-width: 300px;
  }


/**-----------button section--------**/

/**-----------hangman and result section--------**/

.result {
  margin-top: 22px; /**top rightleft bot**/
  /**--100px auto--topbot rightleft---*/
}

.result .col-12{
  text-align: center;
}

.result .col-12{
  flex-basis: 90%; /** the smaller the %, the narrower the div column*/
  min-width: 300px; /** the larger the px, the narrower*/
}
/**-----------hangman and result section--------**/

/**-----------two-player section--------**/

.two-player {
  margin-top: 75px; /**top rightleft bot**/
  /**--100px auto--topbot rightleft---*/
  
}


.two-player .col-12{
  flex-basis: 90%; /** the smaller the %, the narrower the div column*/
  min-width: 300px; /** the larger the px, the narrower*/
}

/**-----------two-player section--------**/
.leaderboardUpdateMessage {
  display: block; /* or inline-block */
  font-size: 18px;
  margin-left: 10px;
}
/**-----------leaderboard section--------**/

.leaderboard {
  margin-top: 60px; /**top rightleft bot**/
  /**--100px auto--topbot rightleft---*/
  
}


.leaderboard .col-12{
  flex-basis: 90%; /** the smaller the %, the narrower the div column*/
  min-width: 300px; /** the larger the px, the narrower*/
}
/**-----------leaderboard section--------**/

/**-----------typing section--------**/

.type-letters {
  margin-top: 22px; /**top rightleft bot**/
  /**--100px auto--topbot rightleft---*/
}

.type-letters .col-12{
  text-align: center;
}

.type-letters .col-12{
  flex-basis: 85%; /** the smaller the %, the narrower the div column*/
  min-width: 300px; /** the larger the px, the narrower*/
}
/**-----------typing section--------**/

/**-----------hint section--------**/

.hint {
  margin-top: 22px; /**top rightleft bot**/
  /**--100px auto--topbot rightleft---*/
}

.hint .col-12{
  text-align: center;
}

.hint .col-12{
  flex-basis: 85%; /** the smaller the %, the narrower the div column*/
  min-width: 300px; /** the larger the px, the narrower*/
}
/**-----------typing section--------**/

/**-----------lose message section--------**/
.loseMessage {
  background-color: rgb(241, 110, 110);
  color: rgb(50, 50, 50); /* Change text color to white for better visibility */
  padding: 8px;
  border-radius: 0px;
}
/**-----------lose message section--------**/

header {
  text-align: center;
}

h1 {
  font-family: 'Love Ya Like A Sister', cursive;
  color: #1358d7; /*off-white*/
  text-transform: uppercase;
  letter-spacing: 10px;
  font-size: 130px;
  margin-top: 50px;
  margin-bottom: 50px;
  text-shadow: 5px 5px #a9a9a9; /*light gray*/
}

.nav-item1, .difficulty-button, .two-player-button {
  text-decoration: none;
  font-size: 15px;
  margin-right: 25px;
  margin-left: 25px;
  color: black;
}

.difficulty-button:hover, .two-player-button:hover {
  text-decoration: underline;
}

a.clicked {
  text-decoration: underline;
  font-weight: 800;
  color: rgb(236, 11, 11);

}
/**
.button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    font-size: 25px;
    margin-top: 50px;
    margin-bottom: 30px;
}**/


.game-board-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0px;
  margin-top: 20px;
}

.button {
  display: inline-block;
  background: #0479b4;
  color: #fff;
  padding: 8px 30px;
  margin-top: 5px;
  margin-right: 20px;
  border-radius: 30px;
  border: none;
  transition: background 0.5s;
}

.button:hover{
  background: #57b7ff;
  color: #2e2f2f;
}

.letter {
  width: 40px;
  height: 40px;
  margin: 10px;
  font-family: 'Love Ya Like A Sister', cursive;
  font-size: 20px;
  font-weight: 800;
}

#letterBoard {
  background-color: turquoise;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.disabled {
  background-color: #a9a9a9; /*light gray*/
  color: gray;
}

#containerForHiddenLetterList {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
/*  margin-bottom: 70px;*/
}

#hiddenLetterList {
  text-align: center;
  letter-spacing: 10px;
  font-size: 70px;
  font-family: 'Love Ya Like A Sister', cursive;
  text-transform: uppercase;
  margin: 0 auto;
}

#containerForHintButton{
  margin: 0 auto;
}

#hintButton {
  margin-left: 40px;
}

#containerForHint {
  margin-bottom: 70px;
  font-size: 26px;
}

.winOrLossMessage {
  font-size: 70px;
}

button {
  background-color: #FDF4FD; /*off-white*/
}

button:hover {
  background-color: #a9a9a9; /*gray*/
}

.hangman-display {
  margin-right: 0px;
  height: 320px;
  text-align: center;
}
.letterBoard{
  margin-left: 20px;
}

/**-----------footer section--------**/
  
.footer {
  background: #000;
color: #8a8a8a;
font-size: 18px;
position: relative;
bottom: 100%;
padding: 30px 0 10px;/**top rightleft bot**/
margin-top: 10px;
}

.footer-link {
  color: rgb(140, 140, 140);
  text-decoration: none;
  font-weight: 700;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-col6{
  flex-basis: 30%;
  min-width: 300px;
}

#name {
  color: rgb(140, 140, 140);
  text-decoration: none;
  font-weight: 700;
}
/**-----------footer section--------**/

.notification-hide{
  display: none;
}

.notification-count{
  position: relative;
  height: 1rem;
  width: 1rem;
  bottom: 30px;
  left: 14px;
  border: 2px solid red;
  background-color: red;
  border-radius: 50%;
  text-decoration: none;
  color: white;
  text-align: center;
  font-size: 0.8rem;
  line-height: 0.8rem;
}

.notifications-bar{
  position: absolute;
  right: 10%;
  background-color: white;
  padding: 0.7rem 1rem;
  border: 2px solid red;
  border-radius: 5px;
  width: 25rem;
}

.notifications-bar hr{
  margin: 0.3rem 0;
}

.notification-item{
  display: flex;
  align-items: center;
}

.show {display: block;}

.username{
  color: #0479b4;
  font-weight: bold;
}

.btn-accept{
  height: 3rem;
}

/**----------sign up---------------**/
.signup-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.signup-container h2 {
  text-align: center;
  margin-bottom: 20px;
}
label {
  font-weight: bold;
}
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
input[type="submit"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
input[type="submit"]:hover {
  background-color: #45a049;
}
.icon {
  position: absolute;
  padding: 15px;
  pointer-events: none;
}
.fa-user {
  padding-top: 16px;
  padding-left: 10px;
}
.fa-lock {
  padding-top: 16px;
  padding-left: 10px;
}
.fa-check-circle {
  color: #4caf50;
  padding-top: 16px;
  padding-left: 10px;
  visibility: hidden;
}
input[type="text"]:focus + .fa-user,
input[type="password"]:focus + .fa-lock {
  color: #4caf50;
}
input[type="text"]:valid + .fa-user,
input[type="password"]:valid + .fa-lock {
  color: #4caf50;
}
input[type="text"]:valid + .fa-check-circle,
input[type="password"]:valid + .fa-check-circle {
  visibility: visible;
}

.success-msg{
  color: #07cc0d;
}

.error-msg{
  color: #de0707;
}
.msg-col{
  margin-bottom: 8px;
  text-align: center;
  font-size: 14px;
}
/**----------sign up---------------**/

@media only screen and (max-device-width : 480px) {
  body {
    margin: auto;
  }

  .game-board-wrapper {
    flex-direction: column;
    margin-right: 0;
  }

  #letterBoard {
    width: 80%;
  }

  .button-container {
    flex-direction: column;
    justify-content: space-between;
    order: 5;
  }

}



