body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white; /* optional – helps see the white div */
}
a, a:link, a:visited {
    color: darksalmon;
    text-decoration-line: none;
}
a:active{
    color: salmon;
}
.centered {
  background: white;
  color: lightsalmon;
  font-family: sans-serif;
  text-align: center;
  line-height: 1.25;
  padding: 0.4em 0;
  box-sizing: border-box;
}
.centered .name {
  display: block;
  font-weight: 600;
  white-space: nowrap;
}
.centered .subtitle {
  display: block;
  white-space: nowrap;
}

/* Computer */
@media (min-width: 769px) {
  .centered {
    width: 35vw;
  }
  .centered .name {
    font-size: 3.9vw;   /* roughly fills the 35vw width */
  }
  .centered .subtitle {
    font-size: 2.3vw;
  }
}

/* Mobile phone */
@media (max-width: 768px) {
  .centered {
    width: 80vw;
  }
  .centered .name {
    font-size: 8.5vw;   /* roughly fills the 80vw width */
  }
  .centered .subtitle {
    font-size: 6.5vw;
  }
}