.allBooks {
gap: 30px;
align-items: center;
max-width: 100vw;
height: 100vw;
margin: 0 auto;
display: flex;
flex-direction: column;
}
.nav {
flex-grow: 0;
}
In regular HTML and css, I could center the content in a container by setting the max-width to about 1200px,height to 100vh, top and bottom margin to 0, and left and right to auto. However my screen size is bigger now(1920px) Max-width of 1200px doesnt look good. What is the best way to center the content?