@layer utilities {
  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }
}

.sr-only {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.topbar {
  background: linear-gradient(#4CAF50,#43A047);
  border-bottom: 1px solid #ffffff38;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  padding: 0 max(20px,50% - 760px);
  display: flex;
}

.auth {
  align-items: center;
  gap: 8px;
  display: flex;
}

.auth input {
  color: #233238;
  background: #f3f7f3;
  border: 0;
  border-radius: 3px;
  outline: none;
  width: 180px;
  height: 32px;
  padding: 0 11px;
}

.login {
  color: #fff;
  background: #172329;
  border: 1px solid #ffffff59;
  border-radius: 16px;
  height: 32px;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 800;
}

.register {
  color: #16341b;
  background: linear-gradient(#fff36e,#ffd52d);
  border: 1px solid #ffe56b;
  border-radius: 5px;
  height: 34px;
  padding: 0 22px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 2px #caa71d;
}

.flag {
  font-size: 18px;
}

.mobile-auth {
  align-items: center;
  gap: 10px;
  display: none;
}

.mobile-auth .login {
  color: #48b84e;
  background: #fff;
  border-radius: 4px;
}

@media (max-width:720px) {
  .topbar {
    height: 66px;
    padding: 0 15px;
  }
  .topbar .logo {
    min-width: 0;
    font-size: 19px;
  }
  .auth {
    display: none;
  }
  .mobile-auth {
    display: flex;
  }
  .mobile-auth .login {
    height: 31px;
    padding: 0 14px;
    font-size: 9px;
  }
}

@media (max-width:410px) {
  .mobile-auth {
    gap: 7px;
  }
  .mobile-auth .login {
    padding: 0 10px;
  }
  .topbar .logo {
    gap: 6px;
    font-size: 17px;
  }
  .topbar .logo-mark {
    width: 32px;
    height: 32px;
  }
}
