body {
  font-family: 'Roboto', sans-serif;
  background-color: none;
    background-image: url("back.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain; /* или cover, если хочешь, чтобы растягивалась */
  margin: 0;
}

/* Подзаголовок */
.subtitle {
  font-size: 14px;
  color: #888;
  opacity: 0.8;
  margin-bottom: 10px;
}

/* Контейнер */
.container {
  background: #fff;
  padding: 60px 30px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 380px;
  text-align: center;
  margin: 120px auto 80px auto;
}

input {
  width: 90%;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
}

/* Главная кнопка */
.btn-main {
  width: 100%;
  padding: 17px;
  background: #338dff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}
.btn-main:hover { background: #2570cc; }

/* Ссылка зарегистрироваться */
.container a {
  display: block;
  margin-top: 30px;
  color: #338dff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.container a:hover { text-decoration: underline; }

/* Хедер */
.header {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header .logo {
  height: 40px;
  width: auto;
  display: block;
}

.header-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 1;
  white-space: nowrap;
  overflow: hidden;
}

.header-right a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
}
.header-right a:hover { text-decoration: underline; }

/* Кнопка Разместить вакансию */
.btn-outline {
  padding: 6px 16px;
  border: 1px solid #a5db95;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  color: #a5db95 !important;
  white-space: nowrap;
}
.btn-outline:hover {
  background: #a5db95;
  color: #000 !important;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  margin-left: auto;
}
.burger div {
  width: 100%;
  height: 3px;
  background: #fff;
}

/* Футер */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
}
.footer p { margin: 0; font-size: 14px; color: #333; }

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .header-right { display: none; }
  .burger { display: flex; }
}

@media (max-width: 600px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;   /* центрируем вертикально */
    min-height: 100vh;     /* растягиваем на всю высоту */
    margin: 0;
    background-position: center bottom;
    background-size: cover;
  }

  .container {
    width: 90%;
    max-width: 340px;
    padding: 20px 15px;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin: 0;             /* убираем лишние внешние отступы */
  }

  .container h2 {
    font-size: 18px;
    margin: 8px 0 12px;
  }

  .container .subtitle {
    font-size: 13px;
    margin-bottom: 6px;
    color: #777;
  }

  /* поля вписываются внутрь контейнера */
  input {
    width: 100%;
    box-sizing: border-box; /* учитываем паддинги и бордеры */
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
    margin-bottom: 12px;
  }

  .btn-main {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 6px;
  }

  .container a {
    margin-top: 15px;
    font-size: 15px;
  }

  .header {
    padding: 10px 15px;
    height: 50px;
  }

  .header-text { display: none; }
  .header-right { display: none; }
  .burger { display: flex; margin-left: auto; }

  /* футер убираем */
  .footer { display: none !important; }
}
