/* ============================================= */
/* ===================component=============== */
/* =========================================== */
:root{
    --clr-dark-cyan: hsl(185, 75%, 39%);
    --clr-dark-desaturated: hsl(229, 23%, 23%);
    --clr-grayish-blue: hsl(227, 10%, 46%);
    
    /* Neutral */
    --clr-gray: hsl(0, 0%, 59%);
    --clr-white: hsl(0,0%, 100%);

    /* font-size */
    --fs-1: 2rem;
    --fs-2: 1.8rem;
    --fs-3: 1.0rem;
    --fs-4: .9rem;
    --fs-5: .7rem;
    --fs-6: .5rem;

    /* font family */
    --ff-kumbh: 'Kumbh Sans', sans-serif;
}

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ======================================= */
/* =============utlities================== */
/* ======================================= */

body{
    font-family: 'Kumbh Sans', sans-serif;
    background-color: var(--clr-dark-cyan);
}

.wrapper{
  width: 100%;
  max-width: 1200px;
  padding: 5em 2em;
  margin: 3em auto;

}

.container{
  margin: 0 auto;
  width: 100%;
  max-width: 21.875em;
  min-width: 12.5em;
  background-color: var(--clr-white);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}
.container > *{
  text-align: center;
}
.card-header{
  background-image: url(./images/bg-pattern-card.svg);
  height: 150px;
}



.victor{
  margin: -50px auto 10px auto;
  border-radius: 50%;
  border: 5px solid var(--clr-white);
  z-index: 1;
  overflow: hidden;
}
.card-body{
  margin-bottom: 20px;
}
.card-footer{
  padding-inline: 2em;
  padding-top: 1.5em;
  padding-bottom: .3em;
  border-top: 1px solid hsl(227, 10%, 46% ,.3);
}
.d-flex{
 display: flex;
 align-items: center;
}
.item{
  flex: 1;
}
.meta{
  margin: 0 auto 2em auto;
}

/* Typography */
.name,
.num{
  font-size: var(--fs-3);
  color: var(--clr-dark-desaturated);
}
.city{
  margin-top: 5px;
}
.city,
.age,
.meta{
  color: var(--clr-gray);
  font-weight: 300;
}
.age{
 
  margin-left: 7px;
}
.city{
  font-size: var(--fs-4);
  padding-bottom: .4em;
}
.meta{
  font-size: var(--fs-6);
  letter-spacing: 1.4px;
}


.circles{
  overflow: hidden;
}
.top-image{
 position: absolute;
 top:-170px;
 left: -200px
}
.bottom-image{
  position: absolute;
  bottom: 100px;
  right: -230px;
}

@media (min-width: 47.5em){
  .city{
    font-size: var(--fs-3);
  }
  .meta{
    font-size: var(--fs-5);
  }
  .top-image{
    top: -450px;
    left: -400px;
  }
  .bottom-image{
    bottom: -20px;
    right: -350px;
  }
}
@media (min-width: 60em){
  .top-image{
    top: -550px;
    left: -350px;
  }
  .bottom-image{
    bottom: -700px;
    right: -250px;
  }
}