@doaaaliahmed
Posted
Hello umar, congratulation for resolving this challange, for your problem I suggest to give the body element body { display: grid; place-items: center; min-height: 100vh; } and remove position and translate attribute from main. this will fix your code.