/* Universal Selector to remove default browser settings */
* {
  padding: 0rem;
  margin: 0rem;
  box-sizing: border-box;
}

@font-face {
  font-family: "Main";
  src: url(./assets/fonts/KumbhSans-VariableFont_YOPQ_wght.ttf);
  font-weight: 400 700;
}

/* CSS Variables */
:root {
  /* Primary */
  --Dark-cyan: hsl(185, 75%, 39%);
  --Very-dark-desaturated-blue: hsl(229, 23%, 23%);
  --Dark-grayish-blue: hsl(227, 10%, 46%);

  /* Neutral */
  --Dark-gray: hsl(0, 0%, 59%);
}

html {
  font-size: 18px;
}

body {
  font-family: "Main";
  background-color: var(--Dark-cyan);
  background-image: url("./assets/images/bg-pattern-top.svg"),
    url("./assets/images/bg-pattern-bottom.svg");
  background-position: right 51.5vw bottom 35vh, left 49vw top 52vh;
  background-repeat: no-repeat, no-repeat;
}

.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  display: flex;
  flex-direction: column;
  width: 350px;
  height: 374px;
  border-radius: 12px;
  box-shadow: 0px 15px 50px 5px hsl(277, 10%, 46%, 0.5);
}

.background {
  width: 350px;
  height: 140px;
}

.background img {
  width: inherit;
  height: inherit;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-content {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 234px;
  background-color: white;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  text-align: center;
}

.card-content img {
  position: absolute;
  top: -53px;
  left: 121px;
  border: 5px solid white;
  border-radius: 50%;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 75px 0 10px 0;
}

h1,
h2 {
  font-size: 18px;
}

h1 {
  font-weight: 700;
  margin-right: 10px;
}

h2 {
  font-weight: 400;
  color: var(--Dark-grayish-blue);
}

h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--Dark-grayish-blue);
}

hr {
  margin: 18px 0;
  border: 1px solid rgb(230, 230, 230);
}

.stats {
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
}

h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

h5 {
  font-size: 10px;
  font-weight: 400;
  color: var(--Dark-grayish-blue);
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

/* Extra small devices [iPhone SE - 375](phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .card,
  .background {
    width: 320px;
  }

  .card-content img {
    left: 107px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
}

/* Medium devices [iPad Mini] (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}
