Need help with creating a sidebar on the site, positioned on the left, containing specific menu items and sub-items. The goal is to have a pop-up block appear when hovering over the main menu item that displays the sub-items. The main sidebar has its position set as sticky. The popup block should be displayed within the main_menu_content_list_submenu tag. Any assistance on how to achieve this would be greatly appreciated. Thank you!
.main {
font-family: PT Sans;
position: relative;
display: flex;
flex-direction: row;
min-height: 100%;
}
.main_menu {
display: flex;
flex-direction: column;
width: auto;
background-color: #38618C;
padding: 50px 50px 0 50px;
}
.main_menu_content {
display: flex;
flex-direction: column;
position: sticky;
top: 50px;
width: 100%;
}
.main_menu_content_list {
display: flex;
flex-direction: column;
justify-content: space-between;
text-align: center;
height: 700px;
}
.main_menu_content_list li {
list-style-type: none;
}
.main_menu_content_list a {
display: flex;
flex-direction: column;
align-items: center;
font-style: normal;
font-weight: normal;
font-size: 18px;
line-height: 23px;
color: #D7DFE8;
text-decoration: none;
}
.main_content {
display: flex;
align-items: center;
flex-direction: column;
width: 100%;
max-width: 100%;
height: 100%;
}
<div class="main">
<div class="main_menu">
<div class="main_menu_content">
<ul class="main_menu_content_list">
<li><a href="">
<div class="main_menu_content_list_int"></div>Text1
</a></li>
<ul class="main_menu_content_list_submenu">
<li><a href="">Text1.1</a></li>
<li><a href="">Text1.2</a></li>
</ul>
<li><a href="">
<div class="main_menu_content_list_tv"></div>Text2
</a></li>
<li><a href="">
<div class="main_menu_content_list_video"></div>Text3
</a></li>
</ul>
</div>
</div>
<div class="main_content">
</div>
</div>