@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --Very-dark-blue: hsl(233, 47%, 7%);
  --Dark-desaturated-blue: hsl(244, 38%, 16%);
  --Soft-violet: hsl(277, 64%, 61%);
  --White: hsl(0, 0%, 100%);
  --Slightly-Transparent-White: hsla(0, 0%, 100%, 0.75);
  --Stats-heading-White: hsla(0, 0%, 100%, 0.6);
  --Lexend-Deca: "Lexend Deca", sans-serif;
  --Inter:  "Inter", sans-serif;
}

html,
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

main {
  height: 50%;
  width: 20rem;
  text-align: center;
  background-color: var(--Dark-desaturated-blue);
  border-radius: 6px;
  margin: 2rem 0 ;
}
.stats{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#insights{
    color: var(--Soft-violet);
}

body {
  background-color: var(--Very-dark-blue);
}
img{
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
p{
    font-family: var(--Lexend-Deca);
}
.main-p{
    /* padding: 1rem; */
    font-family: var(--Lexend-Deca);
    color: var(--Slightly-Transparent-White);
    font-size: 15px;
}
section{
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 12px;
}
h1{
font-family: var(--Lexend-Deca);
color: var(--White);
font-weight: 700;
text-align: center;
/* padding-top: 1.5rem; */
}
h2{
font-family: var(--Lexend-Deca);
color: var(--White);
padding: 2px;
}
.sub-p{
    font-family: var(--Inter);
    color: var(--Stats-heading-White) ;
}
@media(min-width:1024px){
main{
    /* height: 30rem; */
    width: 50rem;
    text-align: center;
    background-color: var(--Dark-desaturated-blue);
    border-radius: 6px;
    display: flex;
    flex-direction: row-reverse;
}
.stats{
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
}
.main-img{
    width: 50%;
}
img{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 100%;
}
.main-section{
    width: 50%;
}
.main-p{
   
    font-family: var(--Lexend-Deca);
    color: var(--Slightly-Transparent-White);
    display: flex;
    text-align: start;
   /* font-size: 15px; */
font-weight: 2px;
}
h1{
    text-align: start;
}
}

