body {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-family: sans-serif;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.intro {
  display: grid;
  place-items: center;
  align-content: center;
  width: 100%;
  height: 100vh;
  background: url(Images/background.jpg) center, no-repeat;
  background-size: cover;
  position: relative;
}

.background {
  position: absolute;
  height: 100%;
  background: #000000;
  opacity: 0.7;
  width: 100%;
  z-index: 99;
}

/* Форма входу */
.login {
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
}

.login img {
  height: 100px;
  width: 100px;
  z-index: 100;
  position: absolute;
  top: 17%;
}

/* Поля вводу */
.item {
  border: none;
  color: #fff;
  padding: 12px;
  font-size: 18px;
  line-height: 1.2;
  height: 50px;
  width: 100%;
  font-family: sans-serif;
  text-align: center;
  cursor: text;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.item:focus {
  outline: none;
}

/* Виправлений placeholder */
.item::placeholder {
  color: #fff;
  opacity: 0.5;
  font-size: 16px;
  text-align: center;
  position: static; /* Видалено absolute */
}

/* Поля автозаповнення */
input:-webkit-autofill {
  background-color: transparent !important;
  color: #fff !important;
}

/* Стилізація посилань */
a {
  color: #fff;
  text-decoration: none;
  transition: 0.2s linear;
}

a:hover {
  opacity: 0.7;
}

/* Форма реєстрації */
.reg {
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
}

.reg img {
  height: 100px;
  width: 100px;
  z-index: 100;
  position: absolute;
  top: 6%;
}

/* Чекбокс */
.checkbox__text {
  color: #999;
  font-size: 16px;
}

.checkbox__text a {
  color: #00ffff;
}

/* Кнопка реєстрації */
.reg__btn {
  border: none;
  color: #c2c2c2;
  padding: 12px;
  font-size: 20px;
  line-height: 1;
  height: 50px;
  width: 100%;
  font-family: sans-serif;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  transition: 0.2s linear;
}

.reg__btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Адаптація для мобільних */
@media (max-width: 600px) {
  .item {
    font-size: 16px;
    height: 45px;
  }
  
  .reg__btn {
    font-size: 18px;
    height: 45px;
  }
}

@media (max-height: 630px) {
  .reg img {
    display: none;
  }
}
