* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: hsl(233, 47%, 7%);
}

.header{
    display: flex; /* Enables flexbox on the body */
    justify-content: center; /* Centers the container horizontally */
    align-items: center; /* Centers the container vertically */
    height: 100vh; /* Sets the height of the body to the full viewport height */
    background-color: hsl(233, 47%, 7%);
}

.container {
    display: flex;
    margin: 0px;
    max-width: 900px; 
       
}

.left{
    padding: 40px 40px 30px 40px;
    background-color: hsl(244, 38%, 16%);
}
h1 {
    font-size: 33px;
    font-weight: 700;
    margin: 20px 10px;
    font-family: inter;
    color: hsl(0, 0%, 100%);
}

span{
    color: hsl(277, 64%, 61%);
}

p {
    font-size: 13px;
    color: hsla(0, 0%, 100%, 0.6);
    margin-bottom: 45px;
    font-family: inter;
    padding-right: 80px;
    line-height: 1.5;
}

.left-footer {
    display: grid;
    grid-template-columns: 130px 130px 130px;
    color: hsla(0, 0%, 100%, 0.6);
    
}

.left-footer h4 {
    font-size: 20px;
    color: hsl(0, 0%, 100%);
    font-family: inter;
    padding-bottom: 8px;
    margin-top: 10px;
}

.left-footer p {
    margin-bottom: 0;
    font-family: inter;
    font-size: 8.5px;
    color: hsla(0, 0%, 100%, 0.6);
    font-weight: 400;
    padding-bottom: 20px;
}


.image-container {
    position: relative;
    display: inline-block; /* Ensures the container wraps tightly around the image */
    width: 450px; /* Matches the image width */
    height: 370px; /* Matches the image height */
    margin: 0; /* Removes any extra margin */
    padding: 0; /* Removes any extra padding */
}

.image-container img {
    height: 370px;
    width: 450px;
}

.image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsl(277, 64%, 61%);
    mix-blend-mode: multiply; /* Blends the color with the image */
    opacity: 0.8; /* Adjust the opacity for the desired effect */
}
.attribution { font-size: 11px; text-align: center; color: white; }
.attribution a { color: hsl(228, 45%, 44%); }

@media  only screen and (max-width: 375px) {
    .header{
        margin-top: 120px;
        margin-bottom: 100px;
    }
    .container{
        display: flex;
        flex-direction: column-reverse;
        max-width: 80%;
    }

    .image-container {
        width: 100%; /* Matches the image width */
        height: 200px; /* Matches the image height */
        margin: 0; /* Removes any extra margin */
        padding: 0; /* Removes any extra padding */
    }

    .image-container img {
        width: 100%;
        height: 200px;
        border-radius: 7px 7px 0 0;
    }

    .left{
        padding: 17px;
        border-radius: 0 0 7px 7px;
    }

    h1 {
        font-size: 25px;
        text-align: center;        
    }

    p {
        font-size: 13px;
        text-align: center;
        margin-top: 35px;  
        padding-right: 0;
        padding: 15px; 
        line-height: 1.8;    
    }

    .left-footer {
        display: flex;
       flex-direction: column;
       gap: 30px;   
    }
    
    .left-footer h4 {
        padding-bottom: 0px;
        margin-top: 5px;
        text-align: center;
        font-size: 20px;
    }
    
    .left-footer p {
        padding: 0px;
        margin-bottom: 0;
        margin-top: 0;
        text-align: center;
        font-size: 9px;
    }

   
}