The whole layout and the spaces between things gave me some problems.
For the Statistics I used Grid. It seemed pretty logical to me. So i learned a lot about that.
Also the two background images and the positioning of those was a bit tricky. I found a very good solution which used the background-position property. I liked that solution very much. Unfortunately i could not find the link where i got it from.
I checked your code and noticed you used the background position for the circles on the page, at the top and bottom.
Just sharing that you might also consider using the z-index. So, essentially, the z-index allows us to place items 'in front' of each other. This way, an item with a higher z-index will stack in front of another with a lower z-index.
In my code, I placed the circle images directly in the body, and then everything else in the profile under 'main'. I then styled the 'main' section to give it a higher z-index so that it'd appear stacked infront of the circles.
The Purple color over the image is called an overlay. Here's how I went about it.
Place the image in a parent container, say class main__picture. PS: I used the <picture> element to show different images depending on the screen size.
We get to use the ::before pseudoselector. This allows us to create an 'extra layer' on top of the existing image to give it that purple color, hence why it is called an overlay. Using ::before means this 'layer' is added as though it was a child of the parent container, but just before my picture element.
We position the parent container relative, and the overlay absolute so that it covers the image entirely.
We then add the background color provided for this challenge (hsl(277, 64%, 61%)) .
There's a blend mode that CSS allows to combine the colors of the overlay with the white of the image. so we use the property mix-blend-mode and set it to multiply..
Lastly we set opacity to determine how much of the white shows through the overlay. Here's a code snippet to illustrate this:
I have tried my best to match the given design, however, font design is not applied to the style sheet. Need help on fixing the font issue. For rest, please provide your feedback.
I fumbled a little with the font as well and finally figured out to import it into my style sheet from Google Fonts: I included the regular style in the body styling, and created two extra classes for the bold and extra bold styles (which i used for the '76' value in the circle on the results side. )