* {
  box-sizing: border-box;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
  -moz-appearance: textfield;
  /* Firefox */
}

body {
  background-color: #eceef5;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

nav {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-block: 24px;
}

a {
  color: currentColor;
}


input[type="submit"],
button {
  background: white;
  border-radius: 16px;
  cursor: pointer;
}

input[type="number"],
input[type="text"] {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid currentColor;
  padding: 4px 8px;
}

input[type="number"] {
  width: 5ch;
  font-size: 2rem;
}

table {
  margin: 0 auto;
}

.hidden {
  display: none;
}

/* ---------- */

h1,
h2,
.mega-bold {
  font-weight: 900;
  font-style: normal;
}

h2 {
  margin-block: 0;
  font-size: 2.5rem;
  text-align: center;
  line-height: 1;
}

.buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;

  align-items: stretch;

  list-style: none;
  padding: 0;
  margin: 0;
}

.buttons>* {
  background-color: white;
  border-radius: 8px;
  position: relative;
  min-height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.buttons *,
.mega-button {
  background-color: white;
  font-weight: 800;
  text-decoration: none;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
}


.buttons a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

header,
.header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: 16px;
  padding-inline: 16px;
}

header .icon,
.header .icon {
  position: relative;
  z-index: 10;
  width: 24px;
  height: 24px;
  padding: 0;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;

}


.pad-around {
  width: 100%;
  padding-inline: 32px;
  text-align: center;
  margin: 0;
}


.icon.back,
.icon.close {
  margin-right: auto;
  position: absolute;
  top: 0;
  left: 8px;
  margin: 0;
  padding: 0;
}



header p,
.header p {
  text-align: center;
  margin: 0;
  line-height: 24px;
}