@import './common.css';

canvas {
  display: flex;
  vertical-align: bottom;
}

#particles-js {
  min-height: 100vh;
  background-color: var(--primary-dark);
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-control-placeholder {
  position: absolute;
  top: 8px;
  left: 3px;
  padding: 3px 6px;
  transition: all 200ms;
  opacity: 0.5;
  color: var(--cool-gray);
  background: var(--white);
  font-size: 14px;
  border: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.form-control:focus+.form-control-placeholder,
.form-control:valid+.form-control-placeholder {
  font-size: 85%;
  transform: translate3d(0, -100%, 0);
  opacity: 1;
  margin-top: 10px;
}

/*
 * Checkbox
 */

 input[type=checkbox] {
  display: none;
}

.test-block {
  flex: 1;
  padding: 0 10px;
}

label {
  display: inline-block;
  cursor: pointer;
  padding: 0;
  padding-left: 25px;
  padding-top: 5px;
  position: relative;
}

input[type=checkbox]+label:after {
  font-family: 'Material Icons';
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  border: 1px solid #a4afb7;
}

input[type=checkbox]:checked+label:after {
  content: "\E5CA";
  color: var(--white);
  font-size: 16px;
  text-align: center;
  line-height: 16px;
  background: var(--primary);
  border-color: var(--primary);
}

@media screen and (max-width: 576px) {
  #particles-js {
    position: relative;
  }

  .login-section {
    position: absolute;
    top: 20%;
    margin: 0 auto;
  }

  .img-fluid {
    content: url('../img/accusearch-logo-white.png');
  }

  div>img.img-fluid {
    margin: 0 auto;
  }

  .card-content {
    background: var(--white);
    border-radius: 5px;
    padding: 5px 20px;
    margin-top: 25px;
  }
  .light-h2{
    font-size: 24px;
    color: var(--dark);
  }

  .light-h4{
    font-size: 16px;
    color: var(--dark);
  }
}

html, body {
    overflow: auto; /* In order to display scrollbars when needed*/
}