@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
body{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(233, 47%, 7%);
    font-family: "inter";
}
.preview-card {
    width: 1080px;
    height: 446px;
    background-color: hsl(244, 37%, 16%);
    border-radius: 10px;
    display: flex;
}
.first-col {
    padding: 5.5rem;
    height: 100%;
}
.first-col,
.second-col {
    width: 50%;
    box-sizing: border-box;
}
h1 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 2rem;
    font-weight: 700;
}
span {
    color: hsl(277, 64%, 61%);
}
p {
    color: hsla(0, 0%, 100%, .75);
    font-size: 15px;
}
.stats {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
}
.stats-number {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.stats-heading {
    color: hsla(0, 0%, 100%, .6);
}
.second-col {
    background: linear-gradient(hsla(277, 64%, 61%, .7), hsla(277, 64%, 61%, .7)), url(../img/image-header-desktop.jpg) center / cover;
    border-radius: 0 10px 10px 0;
}

@media (max-width: 1100px) {
    .preview-card {
        width: 327px;
        flex-direction: column-reverse;
        height: unset;
        margin: 50px 0;
    }
    .second-col {
        background: linear-gradient(hsla(277, 64%, 61%, .7), hsla(277, 64%, 61%, .7)), url(../img/image-header-mobile.jpg) center / cover;
        border-radius: 10px 10px 0 0;
        width: 327px;
        height: 240px;
    }
    .first-col {
        padding: 2rem;
        width: 100%;
        text-align: center;
    }
    h1 {
        font-size: 1.75rem;
    }
    .stats {
        flex-direction: column;
    }
}