 body {

   margin: 0;

   padding: 0;

 }


 .universal-nav {
   display: flex;
   background: #222;
   height: 60px;
   /* Slightly taller for better geometry */
   align-items: flex-end;
   /* Align tabs to the bottom */
   padding: 0 20px;
   font-family: sans-serif;
   width: 100%;
   box-sizing: border-box;
 }

 .nav-item {
   color: #888;
   text-decoration: none;
   height: 45px;
   /* Shorter than the nav */
   display: flex;
   align-items: center;
   padding: 0 25px;
   position: relative;
   transition: all 0.3s ease;
   font-weight: 500;
 }

 /* THE ROUNDED RECTANGLE ACTIVE STATE */
 .nav-item.active {
   color: #fff;
   background: #444;
   border-radius: 12px;
   margin-bottom: 8px;
   margin-left: 4px;
   margin-right: 4px;
 }

 .house-icon {
   width: 16px;
   height: 14px;
   background: currentColor;
   /* Matches the text color automatically */
   position: relative;
   display: inline-block;
   margin-top: 6px;
   /* Space for the roof */
 }

 /* The 'Roof' of the house */
 .house-icon::before {
   content: '';
   position: absolute;
   top: -8px;
   left: -3px;
   width: 0;
   height: 0;
   border-left: 11px solid transparent;
   border-right: 11px solid transparent;
   border-bottom: 9px solid currentColor;
   /* Triangle roof */
 }

 /* Optional: The 'Door' */
 .house-icon::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 5px;
   width: 6px;
   height: 7px;
   background: #222;
   /* Matches navbar background */
 }

 .bigger-icon {
    height: 2em;
    vertical-align: middle;
    margin-right: 0.3rem;
}
