/* CSS Reset */
/* Resetting margins, paddings, and borders */
html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
em, small, strong,
sub, sup,
mark, del, ins, strike,
abbr, dfn,
blockquote, q, cite,
code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,
tbody, tfoot, thead,
tr, th, td {
  border: 0;
  margin: 0;
  padding: 0;
}

/* Box sizing */
html {
  box-sizing: border-box;
}

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

/* Sizing - Height */
body {
  min-height: 100vh;
}

/* Typography */
body {
  font-size: 1rem;
  line-height: 1.5;
}

* {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

a,
a:visited {
  color: inherit;
}

/* Resetting specific element styles */
ol,
ul {
  list-style: none;
}

img,
video {
  max-width: 100%;
}

img {
  border-style: none;
}

a {
  text-decoration: none;
}

/* Basic rules */
body {
  background-image: url(images/bg-pattern-bottom.svg), url(images/bg-pattern-top.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: bottom -550px right -150px, top -500px left -200px;
  background-color: #00B6C7;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1rem;
}

p,
h1 {
  font-size: 1.1rem;
  font-weight: bold;
}

span {
  color: #6A6F81;
}

.container {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.card-component {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 20px;
  flex-basis: 400px;
}

header {
  background-image: url(images/bg-pattern-card.svg);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px 20px 0 0;
  height: 150px;
  position: relative;
}

header img {
  border-radius: 50%;
  bottom: -48px;
  box-shadow: 0px 0px 0px 5px #fff;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

main {
  background-color: #fff;
  border-radius: 0 0 20px 20px;
}

.profile {
  border-bottom: 1px solid #b1a9a9;
  height: 170px;
  padding: 80px 10px 20px;
  text-align: center;
}

.profile div {
  margin-bottom: 10px;
}

.profile div h1 {
  display: inline-block;
}

.profile div span {
  font-size: 1.1rem;
}

.stats {
  align-items: center;
  display: flex;
  height: 130px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
}

.stats div {
  flex: 1;
}

.stats div:not(:last-child) {
  margin-right: 20px;
}
