@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,300&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',Roboto,verdana;
}

.menu-container 
{
    margin-top: 10px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
	
}

.button 
{
margin-top: 10px;
position: relative;
background: #1b1b1b;
color: aqua;
font-size: 20px;
padding: 8px 20px;
width: 400px;
line-height: 30px;
display:flex;
align-items: center;
justify-content: space-between;
border-radius: 25px;    
cursor: pointer;
transition: width 1s ease-in-out;
}

.button.expand
{    
    width: 300%;
}

/*Doesn't work without Before*/
/*Must add before to work*/
.fa.expand:before
{
    content: '\f00d';
    
}

ul
{
    margin-top: 10px;
    list-style: none;
    position:fixed;
    display: none;
    top:65px;
    background: #1b1b1b;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
ul:before{ 
position: absolute; 
content:''; 
width: 28px; 
height: 28px; 
background:#1b1b1b; 
top: -14px; 
right: 9px; 
transform: rotate(45deg); 
z-index: -1; 
}


ul li
{
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 25px;
    padding: 8px 20px;
    border: 1px solid transparent;
    border-bottom: 0.5px solid rgba(255,255,255,0.1);
}

ul li:hover
{
width:100%;
cursor: pointer;
box-shadow: 
    inset 0 0 5px #33ffff,
    inset 0 0 20px #66ffff;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;    
}
ul li>a:hover
{
font-weight: 400;    
color: palevioletred;
}
ul li:last-child
{
    border-bottom: none;
}
ul li:hover:first-child
{
    border-radius: 5px 5px 0 0;
}
ul li:hover:last-child
{
  border-radius: 0 0 5px 5px;    
}
ul li a
{
    color: white;
    text-decoration: none;    
}
