#globeContainer {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#countryLabel {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  z-index: 10;
}

#globe {
  width: 100%;
  height: 100%;
  display: block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Network members list styling */
#current-network-members {
  display: flex;
  justify-content: center;
  gap: 12px 60px;
  max-height: 50vh;
  overflow: auto;
  padding: 8px;
}

.network-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  border-radius: 0;
  width: 176px;
  /* fixed tile width so three fit per row */
  box-sizing: border-box;
}

.network-member-thumb {
  width: 176px;
  height: 126px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.network-member-content {
  width: 100%;
  text-align: center;
}

.network-member-content h3 {
  margin: 8px 0 0 0;
  padding: 0;
  border: none;
  width: 100%;
}

@media (max-width: 700px) {

  .network-member {
    width: 100%;
  }

  .network-member-thumb {
    width: 100%;
    height: auto;
  }
}