.header {
  height: 55px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0px 1px 3px rgb(190, 190, 190);
  background-color: rgba(13, 133, 163, 0.9);
  z-index: 100;
}

.header-elements {
  height: 100%;
  width: 35%;
  min-width: 300px;
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.element {
  flex: 1;
  color: white;
  font-size: 15px;
  margin: 0 15px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-element {
  position: relative;
  display: flex;
  justify-content: center;
}

.line {
  position: absolute;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background-color: white;
  transition: width 0.3s;
}

.sub-element:hover .line {
  width: 100%;
}

@media only screen and(max-width: 500px) {
  .element {
    font-size: 11px;
    margin: 4px;
  }
}