@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500);

* {
  box-sizing: border-box;
}

body{
  background-color: #b08968;
  background-position: center;
}


.btn-close {
    border: none;
    color: #5a3c28;
    font-size: 50px;
    cursor: pointer;
    margin: 2px 0 0 10px;
  }

  /* Darker background on mouse-over */
  .btn-close:hover {
    color: #312116;
  }


@keyframes rotate {
  100% {
    background-position: 0% 50%;
  }
}

body {
  margin: 0;
  background-repeat: no-repeat;
  font-family: 'Euclid Circular A';
  animation: rotate 5s infinite alternate linear;
}

button {
  background: transparent;
  border: 0;
  cursor: pointer;
}

.control {
  border: 0;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #f9f9f9;
  margin: 8px 0;
  font-family: inherit;
  text-align: left;
  font-size: 16px;
  transition: 0.4s;
}

.login-card {
  width: 100%;
  max-width: 500px;
  padding: 20px 20px 10px 20px;
  border-radius: 1.25rem;
  background: #7f5539;
  background-size: cover;
  backdrop-filter: blur(50px);
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
}

.login-card > h2 {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #f9f9f9;
}

.login-card img {
  width: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 5px;
  margin-bottom: 20px;
}

.login-card > h3 {
  color: #e0d6ff;
  margin: 0 0 40px;
  font-weight: 500;
  font-size: 1rem;
}

.login-form {
  width: 100%;
  margin: 0;
}

.login-form input.control::placeholder {
  color: #b4bccc;
}

.login-form > button.control {
  cursor: pointer;
  width: 100%;
  height: 56px;
  background: #c6889d;
  color: #f7f3f3;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 10px;
  transition: all 0.375s;
}

.username {
  position: relative;
}

@keyframes spin {
  100% {
    rotate: 1turn;
  }
}

.spinner {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translate(0, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #ccc9e1;
  border-top-color: #8f44fd;
  opacity: 0;
  animation: spin 1s infinite linear;
}

.spinner.visible {
  opacity: 1;
}

.indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.loginwith{
    color: white;
    letter-spacing: 3px;
}

.sosmed{
    font-size: 16px;
    color: rgb(177, 177, 177);
    font-weight: bold;
}

.sosmed:hover{
    color: white;
}

#bars {
  margin: 8px 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

#bars div {
  height: 6px;
  border-radius: 3px;
  transition: 0.4s;
  width: 0%;
}

#bars.weak div {
  background: #bc2b38;
  width: 33.33%;
}

#bars.medium div {
  background: #d36f30;
  width: 66.66%;
}

#bars.strong div {
  background: #1eb965;
  width: 100%;
}

.strength {
  text-align: left;
  height: 30px;
  text-transform: capitalize;
  color: #ffffff;
}

.bg-image {
  backdrop-filter: blur(2px);
  grid-row: 2/10;
  grid-column: 2/5;
}

button.social-signin {
  margin-bottom: 20px;
  width: 220px;
  height: 36px;
  border: none;
  border-radius: 2px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: 0.2s ease;
  cursor: pointer;
  margin-right: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

button.social-signin:hover,
button.social-signin:focus {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: 0.2s ease;
}

button.social-signin:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: 0.2s ease;
}

button.social-signin.facebook {
  background: #32508e;
  grid-row: 5/8;
  grid-column: 2/5;
  z-index: 3;
}

button.social-signin.twitter {
  background: #55acee;
  grid-row: 6/8;
  grid-column: 2/5;
  z-index: 3;
}

button.social-signin.google {
  background: #dd4b39;
  grid-row: 7/8;
  grid-column: 2/5;
  z-index: 3;
}

.invalid-feedback{
    color: rgb(248, 142, 142);
}