:root {
  --length-80: clamp(20px, calc(6vw - 10px), 80px);
  --length-40: clamp(20px, calc(2vw + 10px), 40px);
  --length-16: clamp(8px, calc(0.8vw + 4px), 16px);
  --font-32: clamp(16px, calc(1.6vw + 8px), 32px);
  --font-16: clamp(12x, calc(0.4vw + 10px), 16px);
}

.custom-track {
  padding: var(--length-80) 0;
}

.custom-track-warning {
  color: #d32f2f;
  font-size: 12px;
  position: absolute;
  bottom: 4px;
  left: var(--length-16);
}

.custom-track-inner {
  display: flex;
}

.custom-track-pic {
  width: 50%;
  flex-shrink: 0;
}

.custom-track-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-track-content {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--length-16);
  padding: var(--length-40);
  background-color: #ededed;
}

.custom-track-content h2 {
  /* font-size: var(--font-32); */
  text-align: center;
  font-size: 36px;
}

.custom-track-content-textarea {
  flex: 1;
  position: relative;
}

.custom-track-content textarea {
  width: 100%;
  height: 100%;
  flex: 1;
  padding: var(--length-16);
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  resize: none;
  font-size: var(--font-16);
  color: var(--text-color);
  line-height: 1.5;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
}

.custom-track-btn {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 5px;
  background-color: #0d9d52;
  color: #fff;
  font-size: var(--font-16);
  cursor: pointer;
}

.custom-track-btn:hover {
  background-color: #0a7c40;
}

@media screen and (max-width: 991px) {
  .custom-track-inner {
    flex-direction: column;
  }

  .custom-track-pic {
    width: 100%;
  }

  .custom-track-content {
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .custom-track-content textarea {
    min-height: 130px;
  }
}
