@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;1,300;1,400&display=swap');


.background{
  background-image: url("../images/kolej-negeri.jpg");
  background-color: #000000;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
}

.box{
  border-radius: 8px;
  box-shadow: 0 0 5px white;
  background: transparent;
  backdrop-filter: blur(20px);
}

.box form{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.box h3{
  padding-top:20px;
  text-align: center;
}

.box p{
  padding-top: 10px;
  text-align: center;
}

.box p a{
  text-decoration: none;
  color: rgb(58, 1, 105);
  font-weight: bold;
}

.input-group{
  display: flex;
  align-items: center;
  margin: 20px 0;
  border-bottom: 2px solid black;
  position: relative;
}

.input-group.button-group{
  border-bottom: none;
}

.input-group label{
position: absolute;
left: 10%;
transition: 1s;
}

.input-group input{
  background-color: transparent;
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  outline:  none;
  color: white;
}

.input-group input:focus,
.form-control.is-invalid:focus{
  background: transparent;
  color: white;
  box-shadow: none;
}

.input-group input::placeholder{
  color: rgb(0, 0, 0);
}

.input-group select{
  width: 100%;
  padding: 8px 5px;
  border-radius: 5px;
  box-shadow: 0 0 3px rgb(0, 0, 0,.5);
  outline:  none;

}

.input-group select:focus{
  box-shadow: 0 1px 5px rgb(138, 43, 226);
}

.input-group .invalid-feedback{
  position: absolute;
  bottom: -70%;
}

.input-group .btn-login{
  padding: 10px 5px;
  width: 100%;
  border-radius: 5px;
  border: none;
  box-shadow: 1px 1px 3px -1px;
  background-color: rgb(0, 27, 70);
  color: white;
  transition: all 1s;
}

.input-group .btn-login:hover{
  background-color: black;
}

.input-group .icon{
  font-size: 20px;
  color: black;
}

@media (max-width:393px){
  .box{
    width: 95%;
  }
}