* {
  box-sizing: border-box;
}

html {
  --main-blue-color: #4071f4;
  --user-photo-size: 150px;
}

body {
  font-family: sans-serif;
  background-color: antiquewhite;
  text-align: center;
}

.user-card {
  margin: 20px auto;
  max-width: 350px;
  width: 100%;
  min-width: 250px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 0 5px grey;
  overflow: hidden;
}

.blue-bg {
  background-color: var(--main-blue-color);
  height: var(--user-photo-size);
}

.user-photo-wrapper {
  width: var(--user-photo-size);
  height: var(--user-photo-size);
  border-radius: 50%;
  margin-top: calc(var(--user-photo-size) * -3 / 4);
  overflow: hidden;
  border: 2px solid var(--main-blue-color);
  display: inline-block;
}

.user-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
}

.content-container {
  padding: 0 20px 15px;
}

h2,
p,
.links-container,
.btn-container {
  margin-bottom: 1em;
}

.social-link {
  display: inline-block;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  color: white;
}

.fb-link {
  background-color: #3f67b7;
}

.tw-link {
  background-color: #1da1f1;
}

.inst-link {
  background-color: #e52f6c;
}

.youtube-link {
  background-color: #fc0000;
}

.social-link + .social-link {
  margin-left: 7px;
}

.subscribe-btn,
.msg-btn {
  background-color: var(--main-blue-color);
  border: 0px;
  border-radius: 20px;
  padding: 10px 20px;
  color: white;
}

.msg-btn {
  margin-left: 20px;
}

.social-counts-list {
  font-size: 0;
}

.social-counts {
  display: inline-block;
  padding: 0 10px;
  font-size: 16px;
}

.social-counts + .social-counts {
  border-left: 1px solid grey;
}
