html, body {
    overflow-x: hidden;
}
h1{
  padding-top: 10%;
  padding-bottom: 10%;
  text-align: center;
}
body {
    position: relative;
    margin: 1%;
    font-family: Arial, sans-serif;
}
.green-bg {
  background-color: rgb(0, 137, 200);
  height: 100%;
}
.header-text {
  padding: 0px;
  font-size: 24px;
  text-align: center;
}
.Interdis-container {  
    z-index: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    gap: 2vh 1%;
    grid-auto-flow: row;
    grid-template-areas:
      ". . . . ."
      ". . . . ."
      ". . . . ."
      ". . . . ."
      ". . . . .";
    margin: 2%;
    margin-right: 2%;
    justify-items: center; 
    align-items: start; 
  }
.bingoItem {
    font-size: smaller;
    border-top: 1px solid rgb(0, 174, 255);
    align-content: center;
    justify-content: center;
    text-align: center;
    text-justify: center;
    cursor: pointer;
    hyphens: auto;
}

/* Styles for image upload dialog */
.modal {
  display: flex;
  margin-top: 20%;
  margin-left: 10%;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.dialog-heading {
  font-size: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn {
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

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

/* Styles for ranking */
.ranking {
  display: flex;
  flex-direction: column;
}

.ranking-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.rank {
  font-size: 24px;
  font-weight: bold;
  margin-right: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ranking-item .rank {
    background-color: rgb(125, 210, 255);
}

/* Gold background for first rank */
.ranking-item:nth-child(1) .rank {
  background-color: gold;
}

/* Silver background for second rank */
.ranking-item:nth-child(2) .rank {
  background-color: silver;
}

/* Bronze background for third rank */
.ranking-item:nth-child(3) .rank {
  background-color: #cd7f32; /* Bronze color */
}

.user-info {
  flex: 1;
}

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

.fulfilled-tasks,
.bingo-time {
  font-size: 14px;
  color: #777;
}
