body {
  font-family: 'Figtree', sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: pink;
  padding-bottom: env(safe-area-inset-bottom, 50px);
  color: white;
}

.half {
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  padding: 0;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  padding: 0 5vw;
  box-sizing: border-box;
}

.xavi-half {
  background-color: #87CEFA;
}

.layla-half {
  background-color: pink;
}

.label {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.value-box {
  background: white;
  border-radius: 20px;
  padding: 12px 24px;
  font-size: 28px;
  font-weight: bold;
  min-width: 80px;
  text-align: center;
  margin-top: 20px;
}

.xavi-value {
  color: #87CEFA;
}

.layla-value {
  color: pink;
}

.slider-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.slider-container {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.emoji {
  font-size: 32px;
  cursor: pointer;
  color: white;
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  background: white;
  outline: none;
  border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 8px;
  border: 4px solid rgba(255, 255, 255, 0.5);
  margin-top: -13px;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 8px;
  border: 4px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transform: translateY(-50%);
}

@media (max-width: 768px), (max-height: 600px) {
  .label {
    font-size: 6vw;
  }

  .value-box {
    font-size: 5vw;
    padding: 10px 20px;
  }

  .emoji {
    font-size: 6vw;
  }

  input[type="range"]::-webkit-slider-thumb,
  input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-width: 3px;
  }
}
