body{
    width: 100%;
    height: 100vh;
    background-color: hsl(233, 47%, 7%);
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
}
.card-container{
    margin-top: 120px;
    width: 75%;
    height: 400px;
    background-color: hsl(244, 38%, 16%);
    display: flex;
    flex-flow: row nowrap;
    border-radius: 10px;
    box-shadow:5px 5px 5px 5px rgba(0, 0, 0,0.3);
    
}
.text{
    width: 50%;
    margin: 50px 0 50px 70px;
    font-size: 15px;
}
.text h1{
    width: 70%;
    color: hsl(0, 0%, 100%);
}
.text h1 a{
    color: hsl(277, 64%, 61%);
}
.text p{
    color: hsla(0, 0%, 100%, 0.75);
    width: 70%;
}
.stats{
    display: flex;
}
.stats p{
    font-family: 'Lexend Deca', sans-serif;
}
.companies{
    margin-right: 55px;
}
.companies h1{
    margin-bottom: -10px;
}
.templates{
    margin-right: 55px;
}
.templates h1{
    margin-bottom: -10px;
}
.queries{
    margin-right: 55px;
}
.queries h1{
    margin-bottom: -10px;
}
.image-container{
    background-image: url(././images/image-header-desktop.jpg);
    width: 50%;
    height: 100%;
    border-radius: 0 10px 10px 0;
}
.opaque-color{
    width: 100%;
    height: 100%;
    background-color: hsl(277, 64%, 51%);
    opacity: 0.6;
    border-radius: 0 10px 10px 0;

}
footer{
    width: 100%;
    color: hsl(0, 0%, 100%);
}
.attribution{ 
    font-size: 15px; 
    text-align: center; 
}
.attribution a{ 
    color: hsl(277, 64%, 61%);
}


@media screen and (max-width: 450px){
    .card-container{
        flex-direction: column-reverse;
        width: 85%;
        height: auto;
        margin: 30px;

    }
    .text{
        width: 100%;
        text-align: center;
        margin: auto;
        padding-top: 30px;
    }
    .text h1{
        margin: auto;
        width: 95%;
    }
    .text p{
        padding-top: 30px;
        margin: auto;
        width: 75%;
        line-height: 1.5;
        padding-bottom: 30px;
    }
    .image-container{
        width: 100%;
        height: 200px;
        background-size: cover;
        border-radius: 10px 10px 0 0;
    }
    .opaque-color{
        border-radius: 10px 10px 0 0; 
    }
    .stats{
        display: block;
    }
    .companies{
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
    .templates{
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
    .queries{
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
    .stats h1{
        margin-bottom: -25px;
    }
    .attribution{ 
        font-size: 13px;
    }
    }
