:root {
  --games-bg: #f4f8f5;
  --games-surface: #ffffff;
  --games-surface-soft: #edf6f1;
  --games-text: #1f2937;
  --games-muted: #57646f;
  --games-border: #d5e6dc;
  --games-accent: #2f7d5e;
  --games-accent-strong: #215a45;
}

body {
  background-color: var(--games-bg);
  color: var(--games-text);
}

body,
body * {
  font-family: Arial, Helvetica, sans-serif;
}

.centr {
  width: min(1100px, calc(100% - 20px));
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3,
.text {
  color: var(--games-text);
}

.devider {
  border-color: var(--games-border);
}

.box_2,
.select_button,
button.box_2 {
  border: 1px solid var(--games-border);
  border-radius: 10px;
  background: var(--games-surface);
  color: var(--games-text);
}

.box_2:hover,
.select_button:hover,
button.box_2:hover {
  background: var(--games-surface-soft);
  border-color: #bcd8ca;
}

.head_section {
  border-bottom: 1px solid var(--games-border);
  padding: 12px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.head_section > .dropdown {
  position: relative;
  display: inline-block;
}

.head_section > .dropdown > .dropbtn {
  border: 1px solid var(--games-border);
  border-radius: 999px;
  background: var(--games-surface);
  color: var(--games-text);
  padding: 8px 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.head_section > .dropdown > .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: var(--games-surface);
  border: 1px solid var(--games-border);
  border-radius: 10px;
  overflow: hidden;
  z-index: 20;
}

.head_section > .dropdown > .dropdown-content > a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--games-text);
  background: transparent;
}

.head_section > .dropdown > .dropdown-content > a:hover {
  background: var(--games-surface-soft);
  color: var(--games-text);
}

.head_section > .dropdown:hover > .dropdown-content,
.head_section > .dropdown:focus-within > .dropdown-content {
  display: block;
}

a.text,
a:link,
a:visited {
  color: var(--games-accent);
}

a:hover,
a:active {
  color: var(--games-accent-strong);
}

.waterland-btn,
.waterland-btn:link,
.waterland-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #d9e6dd;
  border-radius: 10px;
  background: #ffffff;
  color: #2f7d5e;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
}

.waterland-btn:hover,
.waterland-btn:active {
  background: #eef6f1;
  border-color: #bcd8ca;
  color: #1f5a43;
}

@media (max-width: 700px) {
  .head_section {
    padding: 8px 10px;
  }
}
