body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: #f5f5f5;
  background-image: url("pattern.svg");
  background-repeat: repeat;
  background-size: 15px 15px;
  color: #f8f8f2;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card {
  box-sizing: border-box;
  width: min(498px, calc(100% - 32px));
  padding: 20px 36px;
  background: #282a36;
  border-radius: 12px;
  display: grid;
  gap: 4px;
}

.row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  min-height: 20px;
}

.n {
  color: #999;
}

.name {
  color: #ffb86c;
}

.phone {
  color: #bd93f9;
}

.mail,
.phone {
  justify-self: start;
  text-decoration: none;
}

.mail {
  color: #50fa7b;
}

@media screen and (max-width: 540px) {
  .card {
    padding: 20px;
  }
}
