:root {
  --background: #ffffff;
  --button: #61ce70;
  --button-hover: #6ec1e4;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  width: min(100%, 420px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo {
  width: min(300px, 82vw);
  height: auto;
  display: block;
}

.links {
  width: 100%;
  display: grid;
  gap: 14px;
}

.button {
  width: 100%;
  min-height: 40px;
  padding: 12px 20px;
  border-radius: 3px;
  background: var(--button);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--button-hover);
}

.button:active {
  transform: translateY(1px);
}

.social {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--button);
  color: var(--text);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--button-hover);
}

.icon-button:active {
  transform: translateY(1px);
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 360px) {
  .page {
    padding-inline: 14px;
  }
}
