@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&amp;display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body,
html {
  overflow: hidden;
  height: 100%;
}

header {
  width: 100%;
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
}

header .logo img {
  max-height: 50px;
  object-fit: contain;
}

section {
  position: relative;
  min-height: 100vh;
  background-image: linear-gradient(
    180deg,
    rgb(255, 255, 255) 0%,
    #e476b892 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  position: relative;
  width: 800px;
  height: 500px;
  background: #fff;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.5s;
}

.user {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.imgBx {
  position: relative;
  width: 50%;
  height: 100%;
  transition: 0.5s;
}

/* .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.formBx {
  position: relative;
  width: 50%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

form h2 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
  color: #555;
}

form input {
  width: 100%;
  padding: 10px;
  background: #f5f5f5;
  border: none;
  margin: 8px 0;
}

form input[type="submit"] {
  max-width: 100px;
  background: #521138;
  color: #fff;
  cursor: pointer;
  transition: 0.5s;
}

.signup {
  margin-top: 20px;
  font-size: 12px;
  color: #555;
}
.forgot {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.signup a {
  color: #521138;
  font-weight: 600;
}

.signupBx {
  pointer-events: none;
}

.active .signupBx {
  pointer-events: initial;
}

.signupBx .formBx {
  left: 100%;
}

.active .signupBx .formBx {
  left: 0;
}

.signupBx .imgBx {
  left: -100%;
}

.active .signupBx .imgBx {
  left: 0%;
}

.signinBx .formBx {
  left: 0%;
}

.active .signinBx .formBx {
  left: 100%;
}

.signinBx .imgBx {
  left: 0%;
}

.active .signinBx .imgBx {
  left: -100%;
}

@media (max-width: 991px) {
  .container {
    width: 400px;
  }

  .imgBx {
    display: none;
  }

  .formBx {
    width: 100%;
  }
}

.imgBx {
  position: relative;
}

.imgBx .logo {
  position: absolute;
  top: 10px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  max-width: 50%; /* Adjust size as needed */
  z-index: 10; /* Ensure it appears above the background image */
}

.imgBx img:last-child {
  width: 100%;
  height: auto;
}

.logo {
  position: fixed; /* Keeps it visible when scrolling */
  top: 10px; /* Adjust vertical spacing */
  left: 10px; /* Adjust horizontal spacing */
  z-index: 1000; /* Ensures it appears above other elements */
}
