html,
body {
  height: 100%;
  overflow: hidden;
  width: 100%;
}

body {
  background: #005200;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#login-box {
  background: #fff;
}

/* #login-box-poster {
  height: 100%;
  position: relative; 
} */

#login-box-poster-img {
  width: 80%;
}

#login-box-header img {
  height: 197px;
  /* outline: blue dashed; */
}

#login-box-footer img {
  width: 50%;
}

@media (min-width: 768px) {
  #login-box {
    height: 100%;
    padding: 4rem 2rem;
    right: 0;
    width: 510px;
    overflow-y: scroll;
  }

  .scrollable-container {
    display: flex;              /* Make the container a flex container */
    justify-content: center ;    /* Center the image horizontally */
    align-items: center ;        /* Center the image vertically */
    height: 100vh ;               /* Ensure the container takes the full height of its parent */
  }

  #login-box-poster-img {
    max-width: 100% ;            /* Prevent the image from exceeding container width */
    height: auto ;               /* Maintain the aspect ratio of the image */
  }
}

@media (max-width: 767px) {
  #login-box {
    border-radius: 0.25rem;
    left: 50%;
    padding: 2rem;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
  }
  #login-box-poster{
    visibility: hidden !important;
  }
}