@Temceo
Posted
A very good replication of the brief - well done.
A few minor areas for improvement -
To make the container centred on all views (especially mobile) place the display flex on the body and make the width of the container a percent of the body, with a max width in pixels - see example below -
body {
font-family: "Figtree", sans-serif;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
padding: 1rem;
width: 90%;
max-width: 375px;
margin-inline: auto;
}
Also consider using css variables for your colours as it makes it easier to remember - see example below:
:root {
--clr-white: hsl(0%, 0%, 100%);;
}
.content {
background-color: var(--clr-white);
}
You can read further on css variables here - mdn - css variables
Marked as helpful