.top{ height: 3rem; margin-top: 2.3rem; width: 100%; position: relative; z-index: 0; } .top-title{ line-height: 1.75rem; box-sizing: border-box; margin-left: 10.6rem; float: left; font-weight: 400; color: #333333; font-size: large; font-size: 1.2rem; font-weight: 550; } .hair{ width: 4.5rem; height: 4.5rem; border: 0.15rem solid rgb(109, 147, 197); border-radius: 50%; margin: 4rem 9rem ; } .hair-image{ width: 4rem; height: 4rem; margin: 0.3rem 0rem 0rem 0.25rem; } .search{ margin: 1rem 2rem; } .search-text{ border: darkgray solid 0.05rem; border-radius: 0.3rem; line-height: 1.5rem; padding-left: 1.5rem; height: 3rem; } .btn{ background-color:orange; font-size: x-small; position: absolute; width: 4.5rem; height: 1.7rem; text-align: center; line-height: 1.5rem; color: white; font-size: 0.8rem; top: 5.5rem; left: 17.6rem; border-radius: 1rem; } .button_container{ display: flex; flex-direction: row; justify-content: space-around } .go{ width: 19.7rem; height: 3rem; background: rgb(64, 131, 231); border-radius: 0.3rem; margin: 2rem; color: white; line-height: 3rem; text-align: center; margin-top: 12rem; }