.loginSubmit2 {
cursor: pointer;
  font-weight: 500;
  font-family: 'roboto', sans-serif;
  color: white !important;
  background: #7987ae;
  padding: 2px;
  border-radius: 5px;

  text-transform: uppercase;
  text-align: center;
  transition: 0.5s;
  letter-spacing: 0.1em;
  border: 2px solid #7987ae;
  vertical-align: top;
}
.loginSubmit2:hover {
border: 2px solid #7987ae !important;

  background: white !important;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display:flex; 
    justify-content: center;
}

nav ul li {
    --c: #7987ae;
    color: var(--c);
    font-size: 16px;
    border: 0.2em solid var(--c);
    border-radius: 0.5em;
    width: 12em;
    height: 3.5em;
    text-transform: uppercase;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 3em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
    margin: 1em;
    cursor:pointer;

}

nav ul li span {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: var(--c);
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}

nav ul li:hover {
    color: white;
}

nav ul li:hover span {
    transform: translateY(0) scale(2);
}

nav ul li span:nth-child(1) {
    --n: 1;
}

nav ul li span:nth-child(2) {
    --n: 2;
}

nav ul li span:nth-child(3) {
    --n: 3;
}

nav ul li span:nth-child(4) {
    --n: 4;
}
