body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Changed from height to min-height to allow scrolling */
  background-color: #f0f0f0;
}

.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.competition-block {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s;
}

.competition-block:hover {
  transform: scale(1.02);
}

.description,
.more-info {
  margin: 10px 0;
}

.more-info {
  display: none;
  max-height: 300px; /* Adjust height as needed */
  overflow-y: auto;
  margin-top: 10px;
}

.connect-form,
.user-list {
  margin-top: 20px;
}

.connect-form input {
  display: block;
  margin: 5px 0;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}

.connect-form button,
.more-info button {
  margin-top: 10px;
  padding: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.connect-form button:hover,
.more-info button:hover {
  background-color: #218838;
}

/* Add styles for table */
table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid #000000;
  text-align: left;
  padding: 8px;
}

th {
  background-color: #f2f2f2;
  font-weight: bold; /* Make the heading text bold */
}

button {
  color: #090909;
  padding: 0.7em 1.7em;
  font-size: 18px;
  border-radius: 0.5em;
  background: #e8e8e8;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

button:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.back {
  margin-left: 20px;
  margin-bottom: 45%;
}
