Hi Laurel, great job on the card! The styling looks spot on.
So to answer your question on positioning, I see that you used position: absolute;
on your main tag to get the card in the middle. You can use that and transform, but what i think would help you out is to have your main tag cover the page, then use flex to position your content to the middle.
For you main tag:
main {
display: flex;
width: 100%;
height: 100vh;
position: relative;
align-items: center;
justify-content: center;
}
You would have to move the card styling of your main tag to your .card class:
.card {
display: flex;
width: 36rem;
flex-direction: column;
align-items: center;
background-color: white;
border-radius: 2.2rem;
}
And finally since your main tag is now covering the page and we've set the position of the main tag to relative, you can use absolute positioning on the footer to set the position much easier:
.attribution {
font-size: 11px;
text-align: center;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
You worked with what you had to complete it and it's to spec so great job! Hope to see more from you.