body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  margin: 0;
  background: linear-gradient(to right, #e9e4d5 50%, #abc1a6 50%);
}

.container {
  display: flex;
  flex-wrap: wrap;
  /* Allow items to wrap to a new line on smaller screens */
  justify-content: center;
  width: 100%;
  padding: 20px;
}

.side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  /* Adjust padding for smaller screens */
  text-align: center;
  /* Center align content */
}

.left-side {
  justify-content: flex-start;
}

.right-side {
  justify-content: flex-start;
}

.name-left,
.name-right {
  font-size: 24px;
}

.checkmark-left,
.checkmark-right,
.x-mark-left,
.x-mark-right {
  font-size: 18px;
}

.name-left {
  font-size: 48px;
  font-weight: bold;
  margin-top: 0;
  display: inline-block;
}

.name-right {
  font-size: 48px;
  color: darkgreen;
  display: inline-block;
}

.checkmark-left,
.checkmark-right,
.x-mark-left,
.x-mark-right {
  font-size: 24px;
  margin-top: 5px;
}

.checkmark-left,
.x-mark-left {
  color: green;
}

.checkmark-right,
.x-mark-right {
  color: darkgreen;
}

.checkmark-left {
  display: inline;
}

.x-mark-left {
  display: none;
}

.checkmark-right {
  display: none;
}

.x-mark-right {
  display: inline;
}

.slider-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  margin-top: 8%;
  padding: 10px;
}

.slider {
  width: 300px;
  height: 50px;
  background-color: #ccc;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.slider-thumb {
  width: 80px;
  height: 50px;
  background-color: white;
  border-radius: 25px;
  cursor: pointer;
  position: absolute;
  left: 0;
  transition: left 0.3s, background-color 0.3s;
}

.on .slider-thumb {
  left: calc(100% - 80px);
  background-color: green;
}

.edit-icon {
  font-size: 36px;
  color: gray;
  cursor: pointer;
  margin-right: 5px;
  display: inline-block;
}

.edit-icon:hover {
  cursor: pointer;
  color: blue;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  .side {
    padding: 5px;
  }

  .name-left,
  .name-right {
    font-size: 36px;
  }

  .checkmark-left,
  .checkmark-right,
  .x-mark-left,
  .x-mark-right {
    font-size: 18px;
  }

  .edit-icon {
    font-size: 24px;
  }

}
