

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

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #080710;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Shapes */
.background .shapes {
  position: absolute;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  opacity: 0.7;
}

.shapes:nth-child(1) {
  top: 10%;
  left: 35%;
  background: linear-gradient(135deg, rgba(122, 193, 67, 1), rgba(50, 150, 50, 0.8));
}

.shapes:nth-child(2) {
  bottom: 30%;
  right: 75%;
  background: linear-gradient(135deg, rgba(244,123,32, 1), rgba(244,123,32, 0.8));
}

.shapes:nth-child(3) {
  bottom: 50%;
  left: 75%;
  background: linear-gradient(135deg, rgba(0,174,239, 1), rgba(0,174,239, 0.8));
}

.shapes:nth-child(4) {
  bottom: 10%;
  right: 35%;
  background: linear-gradient(135deg, rgba(237, 0, 140, 1), rgba(200, 0, 120, 0.8));
}

/* Centering the form properly */
#form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

/* Form Styling */
form {
  padding: 20px;
  border-radius: 10px;
  background: rgba(250, 250, 250, 0.1);
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-width: 0.2rem;
  width: 25rem;
}

form h3 {
  color: #fff;
  padding: 10px 0;
  font-size: 2rem;
  text-align: center;
}

form label {
  display: block;
  padding: 20px 0 10px;
  font-size: 1.2rem;
  color: #ffffff;
}

form input[type="text"],
form input[type="password"] {
  width: 100%;
  height: 40px;
  padding: 10px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.07);
  color: #ffffffdb;
  font-size: 1rem;
  transition: all 450ms;
}

form input[type="text"]:hover,
form input[type="password"]:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

form input::placeholder {
  font-size: 14px;
  color: #ffffffdb;
}

form button {
  width: 100%;
  height: 40px;
  margin: 40px 0;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #000000c3;
  background-color: white;
  cursor: pointer;
  transition: all 450ms;
}

form button:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

/* Social Login */
form .social {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
}

.social .gg {
  width: 140px;
  padding: 10px;
  background-color: white;
  color: black;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
}

.social .gg:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

/* Additional text */
#asBM {
  color: white;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .background {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .background .shapes {
    height: 100px;
    width: 100px;
  }

  .shapes:nth-child(1) {
    top: 5%;
    left: 5%;
  }
  
  .shapes:nth-child(2) {
    display: none;
  }
  
  .shapes:nth-child(3) {
    display: none;
  }

  .shapes:nth-child(4) {
    bottom: 5%;
    right: 5%;
  }

  form h3 {
    font-size: 1.5rem;
  }

  form label {
    font-size: 1rem;
  }

  form input[type="text"],
  form input[type="password"] {
    height: 40px;
    font-size: 1rem;
  }

  form button {
    height: 40px;
    font-size: 1rem;
  }

  .social .gg {
    width: 100px;
    padding: 8px;
  }
  
  .form{
        border-color: rgba(255, 255, 255, 0.5);
  }
  
  #asBM{
      font-size: 1rem;
  }
}