body {
  text-align: center;
  font-size: 15px;
  background-image: url('background.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  padding: 0;
  margin: 0;
  font-family: "Bebas Neue", serif;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

/* Main container to hold avatar and traits side by side */
.main-container {
  display: flex;
  justify-content: space-around;
  width: 90%;
  max-width: 1200px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8); /* Optional background for readability */
  border-radius: 10px;
}

/* Avatar container styling */
.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
  background-color: #d3f4f7;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Traits container styling */
.traits-container {
  width: 55%;
  background-color: #d3f4f7;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.traits-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Tabs styling */
.tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  background-color: #b9e3e6;
  border-radius: 8px;
  padding: 5px;
}

.tab {
  flex: 1;
  padding: 10px 0;
  cursor: pointer;
  font-family: "Bebas Neue", serif;
  font-size: 18px;
  text-align: center;
  background-color: #ccc;
  border: none;
  border-radius: 5px;
  margin: 0 5px;
}

.tab.active {
  background-color: #fff;
  font-weight: bold;
  color: #333;
}

/* Slider container styling */
.slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  background-color: #b9e3e6;
  min-height: 200px;
}

.slider img {
  width: 80px;
  height: 80px;
  margin: 5px;
  cursor: pointer;
  border: 2px solid black;
  border-radius: 4px;
}

/* Button styling */
.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

button {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  font-family: "Bebas Neue", serif;
  border-radius: 5px;
  border: 2px solid #333;
  background-color: #fff;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #b9e3e6;
}
