html {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

body {
  font-family: "JejuMyeongjoFont", ui-serif, serif;
  background-color: #ffffff;
  align-items: center;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.names-card {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  background: linear-gradient(to bottom, #c7b289, #dfc295);
  color: white;
  border: 6px solid white;
  padding: 5px 40px;
  text-align: center;
  max-width: 80%;
}

.card-names {
  font-size: 52px;
  letter-spacing: 8px;
}

.card-date {
  font-size: 24px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-offset: 3px;
  /* или none */
  letter-spacing: 4px;
}

.gradient-sky {
  width: 100%;
  /* Ширина по вашему усмотрению */
  height: 12vh;
  /* 15% от высоты окна (viewport height) */
  background: linear-gradient(to bottom, #b2bcb7, #f9f7ef);
  /* border-radius: 8px; */
  /* Радиус скругления (можно убрать) */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.welcome-image {
  height: 74vh;
  width: 100%;
  object-fit: cover;
}

.welcome-prompt {
  min-height: 14vh;
  font-size: 20px;
  padding: 20px 20px;
  width: 100%;
  line-height: 1.1;

  background: #c19766;
  color: #000;
  text-align: center;
}

h1 {
  /* padding: 40px 20px; */
  padding: 40px 20px 0px 20px;
  font-size: 60px;
  font-weight: normal;
  letter-spacing: 0.1em;

  font-family: "Pattaya", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

p {
  padding: 20px 20px;
  font-size: 19px;
  text-align: center;
  letter-spacing: 0.08 em;
  line-height: 1.5;
}

.accept-btn {
  background-color: #7b7b23;
  /* border: dashed; */
  /* border-width: 2px 4px; */
  border-radius: 50px;
  cursor: pointer;
  padding: 15px;
  color: black;
  font-size: 16px;

  padding: 26px 36px;
  /* margin-top: 20px; */
  font-size: 22px;

  outline: none;
  -webkit-tap-highlight-color: transparent;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* accept-btn:hover { */
/* background-color: #5f5f1a; */
/* transform: scale(1.05); */
/* } */

/* accept-btn:active { */
/* transform: scale(0.95); */
/* } */

.palette {
  display: flex;
  gap: 5px;
  padding: 30px;
  background-color: white;
  /* border-radius: 10px; */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.color-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  /* transition: transform 0.2s ease; */
  /* border: 2px solid #ddd; */
}

h2 {
  font-family: "Pattaya", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  font-size: 40px;
  /* background-color: lightgray; */
}



/* //////// */

.overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

#debug-info {
  max-width: 600px;
  /* Ограничивает ширину */
  margin: 0 auto;
  /* Центрирует элемент */
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 10px;
  box-sizing: border-box;
}

/* //////// */
/* body { */
/* font-family: Arial, sans-serif; */
/* background-color: #f0f0f0; */
/* display: flex; */
/* justify-content: center; */
/* align-items: center; */
/* height: 100vh; */
/* margin: 0; */
/* } */

.timer-container {
  text-align: center;
}

.timer {
  display: flex;
  justify-content: space-evenly;
  gap: 4px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.time-unit {
  background: white;
  border-radius: 10px;
  padding: 5px;
  min-width: 70px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.time-unit span {
  font-size: 2.5em;
  font-weight: bold;
  display: block;
}

.time-unit .label {
  font-size: 1em;
  color: #555;
  margin-top: 10px;
}