@import url("https://fonts.googleapis.com/css2?family=Pangolin&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif, cursive;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;    
  background: linear-gradient(to right, #31b8c4,#FCF6FC,#FDDDFE,#FEDDEE);    -ms-overflow-style: none;
}

.login-box {
  position: relative;
  width: 400px;
  height: 550px;
  background-color: transparent;
  border: 2px solid rgba(13, 12, 12, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

h2 {
  font-size: 2em;
  color: #000000;
  text-align: center;
}

.input-box {
  position: relative;
  width: 310px;
  margin: 30px 0;
  border-bottom: 2px solid #000000;
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1em;
  color: #000000;
  pointer-events: none;
  transition: 0.5s;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
  top: -5px;
}

.input-box input {
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: #000000;
  padding: 0 35px 0 5px;
}

.input-box .icon {
  position: absolute;
  right: 8px;
  color: #000000;
  font-size: 1.2em;
  line-height: 57px;
}

.remember-forget {
  margin: -15px 0 15px;
  font-size: 0.9em;
  color: #000000;
  display: flex;
  justify-content: space-between;
}

.remember-forget label input {
  margin-right: 3px;
}

.remember-forget a {
  color: #000000;
  text-decoration: none;
}

.remember-forget a:hover {
  text-decoration: underline;
}

button {
  width: 100%;
  height: 40px;
  background-color: #fff;
  border: none;
  outline: none;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1em;
  color: black;
  font-weight: 500;
}

.register-link {
  font-size: 0.9em;
  color: #fff;
  text-align: center;
  margin: 25px 0 10px;
}

.register-link p a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
}

.register-link p a:hover {
  text-decoration: underline;
}

@media (max-width: 360px) {
  .login-box {
    width: 100%;
    height: 100vh;
    border: none;
    border-radius: 0;
  }
  .input-box {
    width: 290px;
  }
}

/*Footer*/
footer{
  padding-top: 5rem;
  font-size: 0.9rem;
}

.footer-container{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 5rem;
}

.footer-container> div h4{
  margin-bottom: 1.3rem;
}

.footer1 p{
  margin: 0 0 2rem;
}

footer ul li{
  margin-bottom: 0.7rem;
}

footer ul li a:hover{
  text-decoration: underline;
}

.socials{
  display: flex;
  gap: 1rem;
  font-size: 1.4rem;
  margin-top: 2rem;
}

.copyright{
  margin-top: 5rem;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid var(--color-bg2);
}
/*Footer ends*/

.message{
  font-size: 0.3rem;
  color: rgb(203, 5, 5);

}

/* Dropdown */
.dropdown {
    position: relative;
  }
  
  .dropdown-toggle {
    display: block;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .dropdown-menu li {
    padding: 10px;
  }
  
  .dropdown-menu li:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
