:root{
  --bgcolor1-navy:  hsl(233, 47%, 7%);
  --bgcolor2-blue: hsl(244, 37%, 16%);
  --color3-purple: hsl(277, 64%, 61%);
  --color1-white: hsl(0, 0%, 100%);
  --color2-white:hsla(0, 0%, 100%, 0.75);
  --color3-white:hsla(0, 0%, 100%, 0.6);
  --font-inter: 'Inter', sans-serif;
  --font-lexend-deca: 'Lexend Deca', sans-serif;
  --fw-bold: 700;
  --fw-regular: 400;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background-color: var(--bgcolor1-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  flex-direction: column;
    font-size: 15px;
}
main {
  background-color: var(--bgcolor2-blue);
  max-width: 800px;
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  height: auto;
}
section {
  flex: 1 1 50%;       
}
.first-section{
  padding: 50px 60px  50px 40px ;
}
h1{
  font-family: var(--font-inter);
  font-weight: var(--fw-bold);
  color: var(--color1-white);
}
span{
  color: var(--color3-purple);
}
.main-paragraph{
  padding-top: 30px;
  color: var(--color2-white);
  font-family: var(--font-inter);
  padding-bottom: 30px;
  font-size: 15px;
  line-height: 25px;
}
.div-stats{
  display: flex;
  justify-content: space-between;
  padding-right: 15px;
  font-family: var(--font-inter);

}
.stats{
  line-height: 25px;
}
h2{
  color: var(--color1-white);
  
}
.stat-headings{
  color: var(--color3-white);
  text-transform: uppercase;
  font-weight: var(--fw-regular);
  font-size: 10px;
}
.img-section{
  background-color: var(--color3-purple);
  width: 100%;
  display: flex;
}
img {
  width: 100%;
  height: 100%;
 mix-blend-mode: multiply;
 display: block;

}
footer{
  font-family: var(--font-inter);
  font-weight: var(--fw-regular);
color: var(--color1-white);
}
a{
  color: var(--color3-purple);
  text-decoration: none;
  text-shadow: 0 0 1px white;
}

@media (max-width: 768px) {
main{
  flex-direction: column;
  margin: 30px 15px;
}
.img-section{
  order: -1;
}
.first-section{
  text-align: center;
}
.div-stats{
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  padding: 0px;
  
}






