* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100vh;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-page {
  border-radius: 10px;
  width: 900px;
  height: 500px;
  box-shadow: 0px 0px 40px #6b6b6b;
  display: flex;
  overflow: hidden; /* To ensure no overflow issues */
}

.img-container {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  width: 50%;
  height: 100%;
  font-size: 40px;
  font-weight: bold;
  font-family: tahoma;
  color: white; /* Add text color for better visibility */
  text-shadow: 5px 5px 5px rgb(0, 0, 0);
  background: linear-gradient(to right, #00c9ff, #92fe9d, #1a2a6c);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  width: 50%;
  padding: 20px;
}

h1 {
  margin: 10px 0;
}

p {
  margin: 20px 0;
}

label {
  margin: 10px 0;
  color: gray;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.remember-me {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me label {
  margin-right: 150px;
  padding-left: 4px;
}

.remember-me span {
  color: #007BFF;
  cursor: pointer;
}

input[type="button"] {
  width: 100%;
  padding: 10px;
  background-color: #007BFF;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.new-user {
  margin-top: 25px;
}

@media (max-width: 900px){
  .login-page {
      width: 100%;
      flex-direction: column; 
      height: auto;
  }
  .img-container, .form-container {
      width: 100%;
  }
}

@media (max-width: 780px) {
  .login-page {
      flex-direction: column;
      width: 100%;
      height: auto;
      padding: 5px;
      margin-bottom: 15px;
  }

  .img-container, .form-container {
      width: 100%;
      border-radius: 0;
  }

  .img-container {
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      height: 100px;
  }

  .form-container {
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
  }
}
