/* From Uiverse.io by zanina-yassine */
/* Remove this container when use*/
.component-title {
  width: 100%;
  position: absolute;
  z-index: 999;
  top: 30px;
  left: 0;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #888;
  text-align: center;
}

.tab-container {
  position: relative;

  display: none;
  flex-direction: row;
  align-items: flex-start;
  background: #636464;
  padding: 2px;
  margin-top: 5%;

  border-radius: 9px;
}

.indicator {
  content: "";
  width: 100px;
  height: 28px;
  background: #8a8b8b;
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 9;
  border: 0.5px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12), 0px 3px 1px rgba(0, 0, 0, 0.04);
  border-radius: 7px;
  transition: all 0.2s ease-out;
}

.tab {
  width: 130px;
  height: 28px;
  position: absolute;
  z-index: 99;
  outline: none;
  opacity: 0;
}

.tab_label {
  width: 26%;
  height: 28px;

  position: relative;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;

  font-size: 0.75rem;
  opacity: 0.6;

  cursor: pointer;
}

.tab--1:checked ~ .indicator {
  left: 1px;
}

.tab--2:checked ~ .indicator {
  left: calc(130px + 2px);
}

.tab--3:checked ~ .indicator {
  left: calc(130px * 2 + 2px);
}

.tab--4:checked ~ .indicator {
  left: calc(130px * 3 + 2px);
}


@media screen and (max-width: 992px) {
    .background {
		display: none;
	}
}

@media screen and (max-width: 600px){
    .tab-container{
      display: flex;
      position: fixed; /* Фиксируем элемент */
    top: 0; /* Располагаем его вверху */
    left: 0; /* Располагаем его слева */
    width: 100%; /* Ширина на всю страницу */
    z-index: 1000; /* Устанавливаем высокий z-index, чтобы элемент был сверху */
    }
}