.topnav{
  display: flex;
  flex-flow: row;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  width: 100%;
  min-height: 50px;
  background: linear-gradient(90deg, rgba(1,1,1,0.5662640056022409) 100%, rgba(0,0,0,0) 100%);
}

.topnav a{
  display: flex;
  height: 50px;
  width: auto;
  color: white;
  text-decoration: none;
  text-align: center;
  align-items: center;
  padding: 0 10px;
}

.navText{
  font-size: 1em;
}

.topnav a:hover{
  background-color: #2e5bbdbe;
  color: grey;
}

@media screen and (max-width: 500px) {
  .navText{
    font-size: 0.8em;
  }
}

@media screen and (max-width: 440px) {
  .navText{
    font-size: .65em;
  }
}

@media screen and (max-width: 440px){
  .navText{
    font-size: .5em;
  }
}