Hey, KJ! I found a solution for you:
main { height: 900px; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 20px; }
@media only screen and (min-width: 1000px) main { max-height: 713px; margin: 0 auto; }
On tag main, you remove the width: 1440px; And on only screen and (min-width: 1000px) you put these settings on top.
@Karthick-J-11
Posted
@LeonardoMancilha Thank you so much! I'll try that. I appreciate your help.