* {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand';
    letter-spacing: 1px;
  }

  body{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
  }

  .hover{
  display: inline-flex;
}

.hover li{
    list-style: none;
    margin: 0 25px;
}
.hover li a{
    text-decoration: none;
    color: #fff;
    font-size: 30px;
    position: relative;
}
.hover li a::before{
    content: '';
    position: absolute;
    width: 0%;
    height: 1.5px;
    background-color: #fff;
    bottom: -5px;
    left: 0;
    transition: all 0.5s;
}

.hover li a:hover::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 1.5px;
    background-color: #fff;
    bottom: -5px;
    left: 0;
}