.topbar {
  height: 32px;

  background: var(--primary);

  color: #ffffff;

  overflow: hidden;

  display: flex;

  align-items: center;

  font-size: 14px;
  padding: 0 20px;
}

.topbar-container {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  width: 100%;
}

.topbar-left {
  display: flex;

  align-items: center;

  gap: 20px;
}

.top-item {
  display: flex;

  align-items: center;

  gap: 6px;

  transition: 0.3s;

  white-space: nowrap;
}

.top-item:hover {
  opacity: 0.8;
}

.announcement {
  flex: 1;

  overflow: hidden;

  position: relative;

  white-space: nowrap;
}

.announcement-track {
  display: inline-flex;

  white-space: nowrap;

  animation: marquee 25s linear infinite;

  will-change: transform;
}
.announcement-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.topbar-right {
  display: flex;

  justify-content: flex-end;
}

.career-link {
  font-weight: 600;

  transition: 0.3s;
}

.career-link:hover {
  opacity: 0.8;
}

@media (max-width: 992px) {
  .topbar {
    height: auto;

    padding: 5px 5px;
  }

  .topbar-container {
    grid-template-columns: 1fr;

    gap: 10px;

    text-align: center;
  }

  .topbar-left {
    justify-content: center;

    flex-wrap: wrap;
  }

  .topbar-right {
    justify-content: center;
  }

  .announcement {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .top-item span {
    display: none;
  }

  .topbar-left {
    gap: 15px;
  }
}
