.d-flex {
  display: flex;
}

body {
  /* задаёт путь до файла */
  background-image: url("./../images/login.bg.jpg");
  /* задает стартовое положение изображения на странице */
  background-position: center center;
  /* определяет размер изображения на странице */
  background-size: cover;
  /* свойство устанавливает, будет ли повторяться изображение и каким образом */
  background-repeat: no-repeat;
  /* cвойство определяет, будет ли фоновое изображение прокручиваться 
  вместе с остальной частью страницы или будет фиксированным */
  background-attachment: fixed;
}

.menu {
  justify-content: end;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}
.card-body:has(.login_form),
.card-body:has(.forgot_pass_form) {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}
.menu a {
  font-family: "Bree Serif";
  font-weight: 500;
  font-style: normal;
  text-decoration: none;
  margin-right: 20px;
  color: rgba(28, 46, 49, 0.729);
}

.menu a:hover {
  color: black;
  border-bottom: 1px solid black;
}

form {
  font-family: "Mitr";
  font-weight: 300;
  font-style: normal;
  width: 100%;
  max-width: 300px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.083);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  /* background: linear-gradient(180deg, #cadbeb 0%, rgba(235, 235, 235, 0) 100%); */
}
select#fleet_id {
  margin-bottom: 20px;
  height: 45px;
}
h2 {
  font-family: "PT Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}

label {
  margin-top: 10px;
  color: #000;
  font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="submit"],
.button,
select {
  height: 40px;
  width: 100%;
  padding: 10px;
  margin: 0px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
  height: 35px;
}
.forgot {
  font-weight: 400;
  text-decoration: none;
  color: #000;
}

.forgot:hover {
  text-decoration: underline;
}

input[type="submit"],
.button {
  border-radius: 20px;
  background: linear-gradient(to bottom, #0f8e0f, #096109);
  color: white;
  border: none;
  cursor: pointer;
}

input[type="submit"]:hover,
.button:hover {
  background: linear-gradient(to bottom, #09a209, #085308);
}

.container {
  display: flex;
  justify-content: end; /* розміщення об'єкта зліва */
  align-items: center; /* вертикальне центрування об'єкта */
  height: 100vh; /* висота контейнера на весь екран */
}
.reg_form input[type="submit"] {
  margin-top: 15px;
}
input[type="submit"] {
  margin-top: 15px;
}
@media screen and (max-width: 599px) {
  body {
    /* задаёт путь до файла */
    background-image: url("./../images/login-mob-bg.jpg");
    /* задает стартовое положение изображения на странице */
    background-position: right center;
    /* определяет размер изображения на странице */
    background-size: cover;
    /* свойство устанавливает, будет ли повторяться изображение и каким образом */
    background-repeat: no-repeat;
    /* cвойство определяет, будет ли фоновое изображение прокручиваться 
    вместе с остальной частью страницы или будет фиксированным */
    background-attachment: fixed;
  }
  form {
    background-color: rgba(255, 255, 255, 0.73);
    /* background: linear-gradient(
      180deg,
      #cadbeb 0%,
      rgba(235, 235, 235, 0) 100%
    ); */
  }
  .card-body:has(.login_form),
  .card-body:has(.forgot_pass_form) {
    justify-content: center;
    height: 100%;
    align-items: flex-start;
    padding-top: 160px;
  }
  .register-wrap {
    justify-content: center;
    height: 100%;
    align-items: flex-start;
    padding-top: 160px;
    display: flex;
    width: 100%;
  }
}
