.attribution { font-size: 11px; text-align: center; color: white; }
.attribution a { color: hsl(228, 45%, 44%); }
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Inter', sans-serif;
    Font-size: 15px;
    background-color:  hsl(233, 47%, 7%);
    line-height: 1.2;
}
.images-section{
    background-image: url(images/image-header-mobile.jpg);
    background-size: cover;
    background-position: center;
    height: 300px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.overlay{
    height: 100%;
    background-color: hsl(278, 75%, 33%);
    opacity: 0.5;
    border-radius: inherit;
}
.card{
    background-color: hsl(244, 38%, 16%);
    border-radius: 10px;
    margin-bottom: 50px;
    max-width: 375px;
    margin:100px auto;
    text-align: center;
}
span{
    color: hsl(277, 64%, 61%);
}
h1{
    color: hsl(0, 0%, 100%);
    font-weight: 700;
}
header p{
    color: hsla(0, 0%, 100%, 0.75);
    padding-top: 20px;
    padding-bottom: 30px;
    line-height: 1.5;
}
.stats .details{
    color: hsla(0, 0%, 100%, 0.6);
}
.text-section{
    padding: 40px;
}
.figure{
    padding-bottom: 5px;
    color: hsl(0, 0%, 100%);
    font-weight: 700;
    font-size: 20px;
}
.details{
    padding-bottom: 20px;
    font-size: 12px;
}
@media(min-width:800px){
    .card{
        display: flex;
        max-width: 1200px;
        flex-direction: row-reverse;
        text-align: left;
        height: 500px;
        margin-bottom: 20px;
        
    }
    .images-section{
        background-image: url(images/image-header-desktop.jpg);
        width: 900px;
        background-size: cover;
        background-position: initial;
        height: auto;
        border-top-left-radius: 0;
        border-bottom-right-radius: 10px;
    }
    
    .stats{
        display: flex;
        justify-content: space-between;
        padding-top: 30px;
    }
    .text-section{
        font-size: 20px;
        padding: 0 35px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-basis: 80%;
    }

}