body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: hsl(233, 47%, 7%);
    color: hsl(0, 0%, 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container {
    display: flex;
    background-color: hsl(244, 38%, 16%);
    border-radius: 10px;
    overflow: hidden;
    max-width: 1440px;
    width: 1000px !important;
    margin: auto;
    position: relative;
}

.text-section {
    padding: 40px;
    flex: 1;
    position: relative;
    z-index: 2;
}
.text-section h1 {
    font-size: 2.5em;
    margin: 0;
    font-family: 'Lexend Deca', sans-serif;
}
.text-section h1 span {
    color: hsl(277, 64%, 61%);
}
.text-section p {
    margin: 20px 0;
    color: hsla(0, 0%, 100%, 0.75);
    font-size: 15px;
}
.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.stats div {
    text-align: center;
}
.stats div h2 {
    margin: 0;
    font-size: 1.5em;
    font-family: 'Lexend Deca', sans-serif;
}
.stats div p {
    margin: 5px 0 0;
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 15px;
}
.image-section {
    flex: 1;
    position: relative;
    width: 100%;
}
.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-top-left-radius: 10px; 
    border-top-right-radius: 10px; 
    
    }
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(277, 71%, 49%, 0.842)!important;
    opacity: 0.8;
    z-index: 2;
    border-top-left-radius: 10px; 
    border-top-right-radius: 10px; 
}
@media (max-width: 768px) {
    .container {
        flex-direction: column-reverse;
        margin: 60px 20px; 
        width: calc(100% - 40px); 
        padding: 20px; 
    }
    .text-section {
        padding: 20px;
    }
    .image-section {
        height: 150px; 
        width: 100%;
    }
    .text-section h1 {
        font-size: 1.8em; 
        text-align: center;
    }
    .text-section p {
        text-align: center;
    }
    .stats {
        flex-direction: column;
        align-items: center;
    }
    .stats div {
        margin-bottom: 10px;
    }
}