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

body, html {
  height: 100%;
  font-family: Arial, sans-serif;  

}

.wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
 
  max-width: 100%;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible; /* allows login box to overflow outside */

  box-shadow: 0 2px 10px rgb(0, 0, 0);
  
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: ;
  display: block;
  
  opacity: 85%;

}


.login-box {
  position: absolute;
  top: 50%;
   left: 50%;/* start at the right edge of image */
  transform: translate(-50%, -50%); /* pull it back by 50% of its width */  
  background-color: rgba(206, 186, 201, 0.245);
  width: 30%;
  height: 70%;  
  transition: transform 0.1s linear; 
  
  padding: 30px;
  border-radius: 10px;
 
  z-index: 15;
  backdrop-filter: blur(2 px);
 box-shadow: 
  6px 6px 10px rgba(0, 0, 0, 0.282), inset -6px -6px 10px rgba(6, 6, 6, 0.562);
backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);  
}
.login-box:hover {
transform: translate(-50%, -50%) scale(1.1); /* scale up on hover */  
}

.login-box h1 {
  margin-bottom: 20px;
 
}

.login-box form {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.login-box input {
  padding: 10px;
  font-size: 16px;
  
  border: 1px solid #d2ded2;
  border-radius: 5px;
  width: 100%;
   
}
.cls{
  position: relative;
  overflow: visible;
  border-color: red;
  
}
 .cls i {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none; /* so the icon doesn’t block clicks */
}

.login-box input[type="submit"] {
  background-color: #688106;
  color: white;
  border: none;
  font-weight: bolder;
  cursor:cursor;
  transition: background-color 0.3s;
}

.login-box input[type="submit"]:hover {
  background-color: #6bb014;
}
.login-box:hover{
    box-shadow: 2px 10px 20px rgb(8, 8, 7);
    
}