
:root {
  --yellow: #e4dc41;
  --secondary: #839dd9;
  --light-blue: #2760e4;
  --black: #111;
  --white: #fff;
  --light-color: #666;
  --light-bg: #ECF2FF;
  --bg-gray: #F6F1EE;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --border: 0.1rem solid rgba(0, 0, 0, 0.3);
}

* {
  font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
        box-sizing: border-box;
outline: none;
border: none;
text-decoration: none;
}

html,
body,
.wrapper {
  height: 100%;
}

@keyframes rotate {
  100% {
    background-position: 0% 50%;
  }
}

body {
  display: grid;
  place-items: center;
  margin: 0;
  background-color: var(--light-bg);

}

button {
  background: transparent;
  border: 0;
  cursor: pointer;
}


.control {
  border: 0;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  background: #edeaf7;
  color: var(--black);
  font-family: inherit;
  font-size: 16px;
  transition: 0.4s;
}

.login-card {
  box-shadow: var(--box-shadow);
  width: 400px;
  padding: 50px 30px 64px;
  border-radius: 1.25rem;
  background: #ffffff;
  text-align: center;
}

.login-card > h2 {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 6px;
}

.login-card > h3 {
  color: #837f90;
  margin: 0 0 40px;
  font-weight: 500;
  font-size: 1rem;
}

.login-form {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 16px;
}

.login-form input.control::placeholder {
  color: #aaa7bc;
}

.login-form > button.control {
  cursor: pointer;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  background: var(--light-blue);
  color: #f9f9f9;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  transition: all 0.375s;
}

.password {
  position: relative;
}

.toggle {
  position: absolute;
  top: 50%;
  right: 16px;
  translate: 0 -50%;
  width: 30px;
  height: 30px;
  background-image: url("/images/show.svg");
  background-size: 85%;
  background-position: center;
  background-repeat: no-repeat;
}

.toggle.showing {
  background-image: url("/images/hide.svg");
}

.logo {
  font-size: 2.5rem;
  color: var(--black);
}

.logo span {
  color: var(--light-blue);
}
.back {
  color: var(--light-blue);
}

@media (max-width: 768px) {

  .login-card {
    box-shadow: var(--box-shadow);
    width: 90%;
    height: 60%;
    padding: 50px 30px 64px;
    border-radius: 1.25rem;
    background: #ffffff;
    text-align: center;
    align-items: center;
  }

  .logo {
    font-size: 8.5rem;
    color: var(--black);
  }

  .control {
    border: 0;
    border-radius: 8px;
    outline: none;
    width: 100%;
    height: 100px;
    padding: 0 16px;
    background: #edeaf7;
    color: var(--black);
    font-family: inherit;
    font-size: 20px;
    transition: 0.4s;
  }
}