* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100%;
  background-color: #27293d;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Prevents unnecessary scrolling */
}

.background {
  background-image: url('7.jpg');
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.login-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px rgba(64, 178, 214, 0.5);
  
  /* Centering with absolute positioning */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

h2 {
  margin-bottom: 30px;
  color: #fff;
  font-size: 2.5rem;
}

.textbox {
  margin-bottom: 20px;
}

.textbox input {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  outline: none;
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
}

.options {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.options a {
  color: #fff;
  text-decoration: none;
}

.btn {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #fff;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
}

.register {
  margin-top: 20px;
  color: #fff;
}

.register a {
  color: #fff;
  text-decoration: none;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  h2 {
      font-size: 2rem;
  }

  .login-box {
      padding: 30px;
  }

  .btn {
      font-size: 1rem;
      padding: 10px;
  }
}

@media (max-width: 480px) {
  h2 {
      font-size: 1.5rem;
  }

  .login-box {
      padding: 20px;
  }

  .textbox input {
      font-size: 0.9rem;
  }

  .btn {
      font-size: 0.9rem;
      padding: 10px;
  }
}
