:root {
  --bg: #1d2421;
  --surface: rgba(248, 244, 234, 0.08);
  --surface-strong: rgba(248, 244, 234, 0.14);
  --text: #f8f4ea;
  --muted: #b7b4aa;
  --line: rgba(248, 244, 234, 0.16);
  --amber: #e7b75f;
  --coral: #de6b5f;
  --teal: #79c7b9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #1d2421 0%, #26352f 48%, #342a22 100%);
  background-size: 44px 44px, 44px 44px, cover;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 16px 48px;
}

.label {
  color: var(--teal);
}

.title {
  color: var(--teal);
}

.pad-panel {
  --tray: #102019;
  --accent: #4f7d57;
  --accent-dark: #243d2b;
  --button: #173522;
  --button-hover: #21482e;
  --button-hover-top: #2d5c3a;
  --button-active: #0d2518;
  --button-active-bottom: #07150e;
  --text: #edf6e8;
  --focus-ring: #9bbf7a;

  width: 10.9375rem;
  padding: 0.375rem;
  border: 2px solid var(--accent);
  border-radius: 0.5rem;
  background: linear-gradient(145deg, var(--tray), #07150e);
  box-shadow: inset 0 0 0 1px rgba(155, 191, 122, 0.16);
}

.button-pad {
  display: grid;
  grid-template-columns: repeat(3, 3rem);
  grid-template-rows: repeat(3, 3rem);
  gap: 0.375rem;
}

.pad-button {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid var(--accent-dark);
  border-radius: 0.25rem;
  background: linear-gradient(180deg, var(--button-hover), var(--button));
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.pad-button:hover {
  background: linear-gradient(180deg, var(--button-hover-top, var(--button-hover)), var(--button-hover));
  box-shadow: inset 0 0 0 1px rgba(155, 191, 122, 0.38);
}

.pad-button:focus-visible {
  outline: 3px solid var(--focus-ring, #ffffff);
  outline-offset: 2px;
}

.pad-button:active,
.pad-button.is-pressed {
  transform: translateY(2px) scale(0.97);
  background: linear-gradient(180deg, var(--button-active), var(--button-active-bottom, var(--button-active)));
}


.intro {
  width: 100%;
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.sections {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

input:focus-visible {
  outline: 1px solid teal; 
  outline-offset: 2px; 
}

.button1 {
  color: white;
  cursor: pointer;
  background-color: #243d2b;
}

 .input1 {
    border: none;
    text-align: center;
    font-size: 15px;
    width: 60px;
    color: white;
    background-color: #243d2b;
  }

  .input2 {
    border: 2px solid teal;
    border-radius: 5px;
    text-align: left;
    width: 200px;
    font-size: 17px;
    color: #4CAF50;
    background-color: #50AE5050;
  }

 .gobutton {
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    color: #4CAF50;
    background-color: #50AE5050;
  }

  .infobutton {
    border-radius: 5px;
    color: #4CAF50;
    text-align: center;
    text-decoration: none;
    border: 2px solid teal;
    font-size: 17px;
    cursor: pointer;
    background-color: #24415f47;
  } 

  table {
    font-variant-numeric: tabular-nums;
    background-color: #243d2b;
  }

  td {
    text-align: center;
  }

  table,th,td {
    border : 1px solid black;
    border-collapse: collapse;
  }
  th,td {
    padding: 5px;
  }


.item-list {
  display: grid;
  gap: 10px;
}

.item-list a {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 720;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.item-list a::after {
  content: ">";
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #111312;
  background: var(--amber);
}

.item-list a:hover,
.item-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(231, 183, 95, 0.55);
  background: var(--surface-strong);
  outline: none;
}

@media (max-width: 900px) {
  h1 {
    font-size: 5.8rem;
  }
}

@media (max-width: 760px) {
  .page {
    width: 100%;
    max-width: 100%;
    padding: 16px 12px 40px;
  }


  .intro {
    max-width: 100%;
    font-size: 1rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  .sections {
    grid-template-columns: 1fr;
  }
}
