body, html {
    height: 100%;
    margin: 0;
}

.bg {
    background-image: url('images/bg_4.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.4); /* White overlay with 40% opacity */
    z-index: 2;
}

.contents {
    position: relative;
    z-index: 3; /* Ensure contents are above overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.form-container {
    background: rgba(255, 255, 255, 0.8); /* semi-transparent background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


body {
  font-family: "Roboto", sans-serif;
  background-color: #fff;
}

p {
  color: #b3b3b3;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Roboto", sans-serif;
}

a {
  transition: .3s all ease;
}

a:hover {
  text-decoration: none !important;
}

.content {
  padding: 7rem 0;
}

h2 {
  font-size: 20px;
}

.half, .half .container > .row {
  height: 100vh;
}

.half .bg {
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.half .contents {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.form-container {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 400px; /* width limit */
  width: 100%; /* responsive width */
}

.half .form-group {
  overflow: hidden;
  margin-bottom: 20px; /* adjust margin for spacing */
  border: 1px solid #efefef;
  padding: 15px 15px;
  border-bottom: none;
  position: relative;
}

.half .form-group label {
  font-size: 12px;
  display: block;
  margin-bottom: 0;
  color: #b3b3b3;
}

.half .form-control {
  border: none;
  padding: 0;
  font-size: 20px;
  border-radius: 0;
}

.half .form-control:focus {
  outline: none;
  box-shadow: none;
}

.half .btn {
  height: 54px;
  padding-left: 30px;
  padding-right: 30px;
}

.half .forgot-pass {
  position: relative;
  top: 2px;
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .half .bg {
    height: 500px;
  }
}

@media (max-width: 767.98px) {
  .half .bg {
    height: 0; /* Set background image height as needed */
    background-size: cover; /* Ensure the image covers */
  }
}
