:root {
  color-scheme: light;
  --ink: #192c2b;
  --muted: #536360;
  --paper: #f3f4ed;
  --surface: #fffefa;
  --line: #d8ded4;
  --teal: #11645d;
  --lime: #d2f05a;
  --coral: #ef7656;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Nunito, "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--teal); }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  background: var(--ink);
  color: #f7f8ef;
  border-bottom: 5px solid var(--lime);
}

header a { color: #f7f8ef; text-decoration: none; }

header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand { grid-column: 2; }

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 4px;
  color: var(--lime);
  border: 1px solid rgb(210 240 90 / 45%);
  border-radius: 11px;
  background: rgb(255 255 255 / 5%);
}

.brand-copy { display: block; }

.brand strong {
  color: var(--lime);
  font-family: Oxanium, "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.brand-copy > span { display: block; font-size: 12px; color: #c5d2c9; margin-top: 4px; }

header nav { grid-column: 3; justify-self: end; }

nav a {
  display: inline-block;
  margin-left: 18px;
  padding: 7px 0;
  font-size: 15px;
  border-bottom: 2px solid transparent;
}

nav a:hover, nav a:focus-visible { border-color: var(--coral); }

.place {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 42%;
}

main { padding-top: 18px; padding-bottom: 16px; }

h1, h2, h3 { color: var(--ink); }

h1, h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 700;
}

h1 { font-size: 46px; line-height: 1.05; margin: 18px 0 10px; }
h2 { font-size: 32px; line-height: 1.1; margin: 30px 0 14px; }
h3 { margin: 0 0 6px; font-size: 19px; }
p { margin: 0 0 12px; }
.lead { max-width: 740px; font-size: 19px; color: #36504d; }

.games {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0 0 8px;
}

.game {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 5px 16px rgb(25 44 43 / 6%);
}

.game img { width: 100%; height: 210px; object-fit: cover; }
.game div { padding: 14px 16px 17px; border-top: 3px solid var(--coral); }
.game p { margin: 0; color: var(--muted); }

.price-list {
  width: 100%;
  margin: 12px 0 30px;
  border-collapse: collapse;
  background: var(--surface);
}

.price-list th, .price-list td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-list th { background: #e6ebe3; }
.price-list td:last-child { font-weight: 700; }

.visit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  padding: 18px 20px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 17px;
  border: 0;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.btn:hover, .btn:focus-visible { background: #0a4d47; }
.btn:disabled { opacity: 0.7; cursor: wait; }

footer {
  background: var(--ink);
  color: #c5d2c9;
  font-size: 14px;
  padding: 22px 0;
  clear: both;
  border-top: 5px solid var(--coral);
}

footer a { color: var(--lime); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.form-box {
  max-width: 560px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  padding: 8px 18px 18px;
  margin: 8px 0 30px;
}

label { display: block; margin: 12px 0 0; }

input, textarea, select {
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid #b9c7bf;
  border-radius: 2px;
  font: inherit;
  background: #fff;
}

input:focus, textarea:focus, select:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
textarea { min-height: 120px; }
.note { color: #17634e; }
.err { color: #a33d2d; }
.plain { max-width: 680px; margin-bottom: 30px; }

@media (min-width: 700px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place { height: 280px; }
}

@media (min-width: 1050px) {
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game img { height: 190px; }
}

@media (max-width: 699px) {
  .wrap { padding: 0 18px; }
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  .lead { font-size: 17px; }
  header .wrap { grid-template-columns: 1fr; justify-items: center; padding-top: 13px; padding-bottom: 12px; }
  .brand { grid-column: 1; }
  header nav { grid-column: 1; justify-self: center; width: auto; }
  nav a { margin: 0 9px; padding: 8px 0; }
  .place { height: 180px; }
  .game img { height: 200px; }
  .price-list th, .price-list td { padding: 10px 8px; font-size: 14px; }
  .btn { display: block; text-align: center; padding: 12px 14px; }
  footer .wrap { flex-direction: column; gap: 8px; }
}
