@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --dark-cyan: hsl(185, 75%, 39%);
  --very-dark-blue: hsl(229, 23%, 23%);
  --dark-gray-blue: hsl(227, 10%, 46%);
  --dark-gray: hsl(0, 0%, 59%);
}

body {
  font-family: "Kumbh Sans", sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  color: var(--dark-gray);
  background-color: var(--dark-cyan);
  background-image: url("images/bg-pattern-top.svg"),
    url("images/bg-pattern-bottom.svg");
  background-position: bottom 12.5rem right 37.5rem, top 12.5rem left 31.25rem;
  background-repeat: no-repeat, no-repeat;
  background-size: 56.25rem, 56.25rem;
}

main {
  width: 22.5rem;
}

.avatar {
  border-radius: 6.25rem;
  outline: 5px solid #fff;
  z-index: 0;
  display: flex;
  margin: 0 auto -5rem auto;
}

h1,
.number {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--very-dark-blue);
}

.white {
  background-color: #fff;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0px 1px 10px 0 hsla(184, 13%, 22%, 0.2);
}

.card-pattern {
  width: 22.5rem;
  z-index: 10;
  border-radius: 1rem 1rem 0 0;
  margin-bottom: -3.75rem;
}

.age {
  font-size: 1.0625rem;
  color: var(--dark-gray-blue);
}

.name-age {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  margin-top: 5rem;
}

.location {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.profile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem auto;
  align-items: center;
  border-bottom: 0.0625rem solid hsla(0, 0%, 59%, 0.2);
}

.desc {
  font-size: 0.625rem;
  letter-spacing: 0.075rem;
}

.data {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.bottom3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 3.75rem 1.5rem 3.75rem;
}

footer {
  color: rgba(200, 200, 200, 0.8);
  margin-top: 1.5rem;
}

@media only screen and (max-width: 500px) {
  main {
    width: 90vw;
  }
  .card-pattern {
    width: 90vw;
  }
  body {
    background-image: url("images/bg-pattern-top.svg"),
      url("images/bg-pattern-bottom.svg");
    background-position: bottom 12.5rem right 12.5rem, top 12.5rem left 6.25rem;
    background-repeat: no-repeat, no-repeat;
    background-size: 25rem, 25rem;
  }
}
