* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #ffeead;
  color: black;
  line-height: 1.6;
  padding: 100px 10px 10px 10px;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  padding-bottom: 100px;
  position: relative;
}

.welcome-text {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-top: 50px;
  width: 100%;
  box-sizing: border-box;
}

.welcome-text p {
  margin-bottom: 15px;
}

.welcome-text h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #a02334;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-text .highlight {
  font-weight: 600;
}

.welcome-text .goodbye {
  font-size: 24px;
  font-weight: 600;
  margin-top: 20px;
  color: #a02334;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.language-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.theme-popup {
  --total_text_color: #e0e0e0;
  --total_font_family: Menlo, Roboto Mono, monospace;
  --btn_bg: #3a3a3a;
  --btn_padding: 0.5em;
  --btn_height: 2em;
  --btn_border_radius: 0.3125em;
  --btn_outline_width: 0.0625em;
  --btn_outline_color: #a0a0a0;
  --btn_outline_offset: 0.0625em;
  --btn_gap: 0.3125em;
  --list_padding: 0.5em;
  --list_bg: var(--btn_bg);
  --list_border_radius: var(--btn_border_radius);
  --list_gap: 0.1875em;
  --list_btn_hover_bg: #5a5656;
  --list_btn_active: #b9b9b970;
  --list_btn_border_radius: 0.25em;
  --list_btn_padding: 0.35em 1em;
  --list_btn_gap: 0.4375em;
  --list_btn_outline_width: 0.0625em;
  --list_btn_outline_color: rgb(212, 210, 210);
  --list_offset: 0.35em;
  --list_btn_font_size: 14px;
  --list_position_left: 0;
  --list_position_right: unset;

  color: var(--total_text_color);
  font-family: var(--total_font_family);
  display: inline-block;
  user-select: none;
}

.theme-popup__button {
  line-height: var(--btn_height);
  background-color: var(--btn_bg);
  padding: 0 var(--btn_padding);
  display: inline-flex;
  align-items: center;
  column-gap: var(--btn_gap);
  border-radius: var(--btn_border_radius);
  border: none;
  color: inherit;
  font-family: inherit;
  outline: none;
  font-weight: bold;
  cursor: pointer;
}

.theme-popup__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.theme-popup__list-container {
  position: absolute;
  left: var(--list_position_left);
  right: var(--list_position_right);
  top: calc(var(--btn_height) + var(--list_offset));
  display: none;
}

.theme-popup__list {
  margin: 0;
  list-style-type: none;
  padding: var(--list_padding);
  border-radius: var(--list_border_radius);
  background-color: var(--list_bg);
  display: flex;
  flex-direction: column;
  row-gap: var(--list_gap);
}

.theme-popup__list label {
  display: flex;
  align-items: center;
  justify-content: start;
  column-gap: var(--list_btn_gap);
  padding: var(--list_btn_padding);
  border-radius: var(--list_btn_border_radius);
  white-space: nowrap;
  cursor: pointer;
}

.theme-popup__list label span {
  font-size: var(--list_btn_font_size);
}

/* actions */
#checkbox:checked ~ .theme-popup__button {
  outline: var(--btn_outline_width) solid var(--btn_outline_color);
  outline-offset: var(--btn_outline_offset);
}

#checkbox:checked ~ .theme-popup__list-container {
  display: block;
}

.theme-popup__list label:hover,
.theme-popup__button:hover,
#checkbox:checked ~ .theme-popup__button {
  background-color: var(--list_btn_hover_bg);
}

#default:checked ~ .theme-popup__list-container label[for="default"],
#light:checked ~ .theme-popup__list-container label[for="light"],
#dark:checked ~ .theme-popup__list-container label[for="dark"] {
  background-color: var(--list_btn_active);
  outline: var(--list_btn_outline_width) solid var(--list_btn_outline_color);
}

.theme-popup__list input[type="radio"] {
  display: none;
}

.theme-popup__list input[type="radio"]:checked + label {
  background-color: var(--list_btn_active);
  outline: var(--list_btn_outline_width) solid var(--list_btn_outline_color);
}

.theme-popup__list input[type="radio"]:checked + label .theme-popup__icons img {
  border: 2px solid #a02334;
}

.hidden {
  display: none;
}

/* Google Translate gombok elrejtése */
#google_translate_element {
  display: none !important;
}

.goog-te-gadget-simple {
  display: none !important;
}

.goog-te-menu-value {
  display: none !important;
}

.goog-te-menu-value span {
  display: none !important;
}

.goog-te-gadget-icon {
  display: none !important;
}

.goog-te-menu-value:hover {
  display: none !important;
}

.goog-te-gadget .goog-te-combo {
  display: none !important;
}

.goog-te-banner-frame {
  display: none !important;
}

/* Checkbox és radio gombok elrejtése */
.theme-popup input[type="checkbox"],
.theme-popup input[type="radio"] {
  display: none !important;
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.start-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.start-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
