.topbar-right,
.social-links {
  display: flex;
  align-items: center;
}

.topbar-right { gap: 15px; }
.social-links { gap: 7px; }

.social-links a {
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.social-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

.social-links svg rect,
.social-links svg circle:not(.social-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-links .social-dot {
  fill: currentColor;
  stroke: none;
}

.social-links-top {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .3);
}

.social-links-top a {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
}

.social-links-top a:hover,
.social-links-top a:focus-visible {
  background: #a8d63c;
  border-color: #a8d63c;
  color: #074c76;
  transform: translateY(-2px);
  outline: none;
}

.social-links-footer { margin-right: 145px; }

.social-links-footer a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #e5f2ed;
}

.social-links-footer a:hover,
.social-links-footer a:focus-visible {
  background: #a8d63c;
  border-color: #a8d63c;
  color: #073f49;
  transform: translateY(-2px);
  outline: none;
}

.social-links-footer svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 850px) {
  .topbar-right > span { display: none; }
  .topbar-right { gap: 0; }
  .social-links-top {
    padding-left: 0;
    border-left: 0;
  }
  .social-links-top a {
    width: 22px;
    height: 22px;
  }
  .social-links-footer {
    margin-top: 4px;
    margin-right: 0;
  }
}

@media (max-width: 510px) {
  .topbar { justify-content: space-between; }
  .topbar > span:first-child {
    display: flex;
    align-items: center;
  }
  .social-links { gap: 6px; }
  .social-links-footer a {
    width: 34px;
    height: 34px;
  }
}
