.profile { display: grid; justify-content: end; align-items: center; width: 100%; height: 100%; position: relative; display: flex; } .profile_avatar { display: flex; align-items: center; justify-content: center; background-color: rgb(0, 66, 33); border-radius: 50%; width: 40px; height: 40px; margin-right: 15px; } .menu{ position: absolute; top:100%; right: 0; background: white; border: 1px solid #ddd; padding: 8px; list-style: none; } .menu button { width: 100%; text-align: left; } .profile_button { display: flex; align-items: center; justify-content: center; background-color: transparent; } .text_profile { } .profile_name { text-align: start; margin-bottom: 5px; font-weight: 500; } .profile_post { color: #444; font-weight: 300; } .arrow_down { width: 12px; height: 12px; margin: 20px; }