html { scroll-behavior: smooth; } body { background-color: grey; } .main_container { position: relative; width: 99%; min-height: 100vh; margin: 20px; } .main_text { position: absolute; top: 5%; left: 28%; transform: translate(-50%, -50%); text-align: left; border: 0.5px solid white; border-radius: 0px; padding: 15px; margin: 20px; } .main_img { position: absolute; top: 0%; left: 68%; width: 25%; height: auto; border-radius: 70%; object-fit: cover; } h1 { color: white; text-align: center; }