.tab{min-width:150px;border-bottom-width:1px;border-bottom-color:#e7e7e7;color:gray;margin:0}.tab a{display:block;padding:15px;text-decoration:none;font-size:16px;font-weight:500;transition:background-color .5s ease}.tab:last-child{border-bottom:none}.tab:hover{background-color:#8fb4d5;color:#fff}nav{width:10px;transition:width .5s ease}nav.expanded{width:150px}