* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:focus {
  outline: none;
}

h1 {
  font-size: 48px;
  font-weight: 400;
}

body {
  font-family: 'Playfair Display';
  font-size: 16px;
  font-weight: 400;
}

.wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 320px;
  padding: 48px 0 24px;
  width: 70vw;
}

.avatar {
  border: #eee solid 10px;
  border-radius: 50%;
  height: auto;
  width: 100%;
}

.family-name {
  color: #fff;
  font-family: inherit;
  font-size: 48px;
  line-height: 40px;
  margin: -80px 0 36px;
  padding: 12px 0 24px;
  position: relative;
  text-shadow: 1px 0 10px hsla(0, 0%, 0%, .5);
  z-index: 1;
}

.socials {
  width: 100%;
}

.socials a {
  align-items: center;
  border: #000 solid 2px;
  border-radius: 5px;
  box-shadow: 0 0 25px #ccc;
  color: #000;
  display: flex;
  font-family: 'Tajawal';
  justify-content: center;
  height: 46px;
  padding: 12px 12px 8px;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.socials a:not(:last-of-type) {
  margin-bottom: 32px;
}

.socials a .icon {
  fill: #000;
  left: 7px;
  position: absolute;
  top: 6px;
  width: 32px;
}

.socials a .icon-svg {
  width: 100%;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #222;
    color: #fff;
  }

  .avatar {
    border-color: transparent;
  }

  .name {
    text-shadow: 1px 0 10px hsla(0, 0%, 0%, 1);
  }

  .socials a {
    border-color: #fff;
    box-shadow: 0 0 25px #111;
    color: #fff;
  }

  .socials a .icon {
    fill: #fff;
  }
}
