.profile-container { margin: 0 1in; display: flex; justify-content: space-between; align-items: center; height: calc(100vh - 4.5em); // 4.5em is height of navbar form { flex-grow: 1; .description { width: 100%; height: 5em; } } .profile-pic { display: flex; flex-direction: column; align-items: center; margin-left: 3em; img { max-width: 50vw; } } } .profile-form { display: grid; grid-template-columns: 1fr 1fr; color: white; }