/* milos.gavrilovic.rs: one narrow centered column, styled after the old Bootstrap 3 page. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.43;
  color: #333;
  background: #fff;
}

main {
  max-width: 360px;
  margin: 0 auto;
  padding: 0 15px 40px;
}

a { color: #428bca; text-decoration: none; }
a:hover, a:focus { color: #2a6496; text-decoration: underline; }

p { margin: 0 0 10px; }

.page-header {
  margin: 40px 0 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee;
}

.page-header h1 {
  margin: 20px 0 10px;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
}

.page-header small {
  display: inline-block;
  font-size: 65%;
  font-weight: 400;
  color: #777;
}

.links {
  margin: 0 0 10px;
  padding-left: 40px;
}

.icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  fill: currentColor;
}

/* Toptal "Top 3% talent" badge */
.badge {
  display: block;
  width: max-content;
  margin: 40px auto 0;
  padding: 6px;
  background: #25a9ef;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
  font-family: proxima-nova, Arial, sans-serif;
  text-align: center;
}

.badge-inner {
  width: 200px;
  padding: 24px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #204ecf;
  background:
    radial-gradient(circle at 20% -10%, #00c3ff -80%, #fff 30%),
    radial-gradient(circle at -20% 20%, #00c3ff -80%, #fff 30%),
    radial-gradient(circle at 70% 100%, #00c3ff -80%, #fff 30%),
    radial-gradient(circle at 120% 80%, #00c3ff -80%, #fff 30%);
  background-blend-mode: multiply;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}

.badge .stars { width: 64px; fill: #00c3ff; }

.badge h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.badge .rule { width: 120px; height: 1px; background: #25a9ef; }

.badge .vetted { font-size: 16px; margin-bottom: -6px; }

.badge .toptal { width: 100px; }

.badge .hire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 20px;
  border-radius: 6px;
  background: #296bff;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-underline-offset: 2px;
}

.badge .hire:hover, .badge .hire:focus { background: #204ecf; color: #fff; text-decoration-thickness: .5px; }
