.background-image {
  background-image: url("../images/background-login.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  height: 50vh;
  color: #fff;
  margin: 1rem;
  border-radius: 0.5rem;
}

.position-relative {
  position: relative;
  height: 100vh;
}

.login-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  width: 28.5%;
  border-radius: 20px;
  padding: 1rem;
}

@media (max-width: 768px) {
  .login-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 80%;
    border-radius: 20px;
    padding: 1rem;
  }

  .form-check-input {
    height: 1.125rem;
    width: 4% !important;
  }
}

.form-color {
  color: #2d3748;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0;
  border: 1px solid;
  fill: #2d3748 !important;
}

.form-check-input:focus {
  outline: none;
  box-shadow: 0 0 0;
}

.form-check-input {
  height: 1.125rem;
  width: 10% !important;
}

.form-switch .form-check-input:checked {
  background-color: var(--primary-color);
  border: var(--primary-color);
}

.form-switch .form-check-input {
  border: 1px solid var(--primary-color);
}

.form-switch .form-check-input:focus {
  /*--bs-form-switch-bg: url('');*/
}




/* The switch - the box around the slider */
.switch {
    position: relative;
    width: 40px;
    height: 20px;
    margin-top: 0.1rem;

  }

  .form-switch{
    padding-left: 0;
  }
  
  /* Hide default HTML checkbox */
  .switch input {display:none;}
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50px !important;

  }
  .slider:before {
    position: absolute;
    content: "";
    height: 0.9375rem;
    width: 0.9375rem;
    left: 0.25rem;
    bottom: 0.1875rem;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
  
  input.success:checked + .slider {
    background-color: var(--primary-color);
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(1.125rem);
    -ms-transform: translateX(1.125rem);
    transform: translateX(1.125rem);
  }
  