/* General Body Styles */
body {
  background-color: #242424 !important;
  margin: 0;
  font-family: 'Space Mono', monospace;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* Content Containers */
.content,
.commands-content {
  padding: 2em;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#bcards {
  display: flex;
  justify-content: center;
}

/* Card Layout */
.card:nth-child(4n + 1) {
  width: 60%;
}
.card:nth-child(4n + 2) {
  width: 30%;
}

.card:nth-child(4n + 3) {
  width: 30%;
}
.card:nth-child(4n + 4) {
  width: 60%;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: auto;
}

/* Card Styles */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 250px;
  padding: 15px;
  margin: 2px;
  border: 1px solid #ccc;
  background-color: #a9a9a9;
  border-radius: 30px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
  text-align: center;
  opacity: 0.8;
  transition: transform 0.2s;
}

.card:hover {
  background-color: rgba(var(--card-color), 1) !important;
}

.card img {
  max-width: 100%;
  object-fit: contain;
    border-radius: 50% !important;
}

/* Avatar */
.avatar {
  display: block;
  margin: 0 auto;
  height: 200px;
  width: 200px;
  padding: 10px;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin: 5px;
  transition: background-color 0.3s;
}

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

/* Image List */
.image-list {
  display: inline-flex;
  gap: 5em;
  overflow: visible;
  width: 100%;
}

.image-list img {
  height: 150px;
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s;
}

.image-list img:hover {
  transform: scale(3);
  position: relative;
  z-index: 10;
}

/* Overlay Text */
.top-left-text {
  position: absolute;
  top: 25px;
  left: 30px;
  font-size: 1.2em;
  color: #fff;
  font-weight: bold;
  z-index: 1;
}

/* Card Structure */
.card-header {
  border-radius: 30px !important;
}

.card-body {
  flex-grow: 1;
}

/* Responsive Layout */
@media (max-width: 695px) {
  .card-left,
  .card-right {
    width: 100% !important;
  }
}
