
:root{
    --main-background: hsl(233, 47%, 7%);
    --card-background: hsl(244, 38%, 16%);
    --accent: hsl(277, 64%, 61%);
    --main-heading-stats: hsl(0, 0%, 100%);
    --main-paragraph: hsla(0, 0%, 100%, 0.75);
    --stat-headings: hsla(0, 0%, 100%, 0.6);

}

.attribution {
    font-size: 18px; 
    text-align: center; 
    color:hsl(0, 0%, 100%);
    padding:20px; 
    font-family: "Inter", sans-serif;

}
.attribution a {
     color: hsl(277, 64%, 61%); 

}

*{
    margin:0;
    padding:0;

}
html{
    width:100%;
    height: 100%;
    box-sizing: border-box;
}

body{
    font-family: "Inter", sans-serif;
    font-size: 15px;
    background-color: var(--main-background);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width:100%;
    height:100%;
}

.container{
    background-color: var(--card-background);
    color: var(--main-heading-stats);
    text-align: left;
    margin: 0 auto;
    padding: 0;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: min(1000px, 90%);
    
}

.card{
    padding:20px;
    margin: 0 auto;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    gap:2rem;
    
}
.card-title{
    font-family: "Lexend Deca";
    width: min(400px, 100%);
    letter-spacing: 0.6px;
}

.card-title span{
    font-family: "Inter";
    color: var(--accent);
}

.card-text{
    width: min(400px, 100%);
    margin-bottom:2rem;
}

.card-text p{
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.6px;
    color: var(--main-paragraph);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items:flex-start;
}


.stats-card{
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    
}

.stats{
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: var(--stat-headings);
    

}
.stats-numbers span{
    font-family: "Lexend Deca";
    color: var(--main-heading-stats);
    font-weight: bold;
    font-size: 20px;
    
}

.stats-text{
    color: var(--stat-headings);
    line-height: 2.4rem;
}

.card-picture{
    width: 50%;
    height: 100%;
    border-radius: 0 15px 15px 0;
    background-image: url(../images/image-header-desktop.jpg);
    opacity: 0.8;
    background-size: cover;
    background-position: center;
  
}

.overlay{
    background-color: hsla(277, 64%, 61%, 1);
    border-radius: 0 15px 15px 0;
    position: relative;
    width: 100%;
    height: 100%;
    mix-blend-mode:multiply;
    filter: contrast(0.9);

}