@import url("https://fonts.googleapis.com/css?family=Raleway:400,700");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Raleway, sans-serif;
}

body {
  background: linear-gradient(90deg, #c7c5f4, #776bcc);
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.screen {
  background: linear-gradient(90deg, #5d54a4, #7c78b8);
  position: relative;
  height: 600px;
  width: 360px;
  box-shadow: 0px 0px 24px #5c5696;
}

.screen__content {
  z-index: 1;
  position: relative;
  height: 100%;
}

.screen__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}

.screen__background__shape {
  transform: rotate(45deg);
  position: absolute;
}

.screen__background__shape1 {
  height: 520px;
  width: 520px;
  background: #fff;
  top: -50px;
  right: 120px;
  border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
  height: 220px;
  width: 220px;
  background: #6c63ac;
  top: -172px;
  right: 0;
  border-radius: 32px;
}

.screen__background__shape3 {
  height: 540px;
  width: 190px;
  background: linear-gradient(270deg, #5d54a4, #6a679e);
  top: -24px;
  right: 0;
  border-radius: 32px;
}

.screen__background__shape4 {
  height: 400px;
  width: 200px;
  background: #7e7bb9;
  top: 420px;
  right: 50px;
  border-radius: 60px;
}

.login {
  width: 320px;
  padding: 30px;
  padding-top: 156px;
}

.login__field {
  padding: 20px 0px;
  position: relative;
}

.login__icon {
  position: absolute;
  top: 30px;
  color: #7875b5;
}

.login__input {
  border: none;
  border-bottom: 2px solid #d1d1d4;
  background: none;
  padding: 10px;
  padding-left: 24px;
  font-weight: 700;
  width: 75%;
  transition: 0.2s;
}

.login__input:active,
.login__input:focus,
.login__input:hover {
  outline: none;
  border-bottom-color: #6a679e;
}

.login__submit {
  background: #0c9f16;
  font-size: 14px;
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: 26px;
  border: 1px solid #d4d3e8;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  width: 100%;
  color: #4c489d;
  box-shadow: 0px 2px 2px #5c5696;
  cursor: pointer;
  transition: 0.2s;
}

.login__submit:active,
.login__submit:focus,
.login__submit:hover {
  border-color: #6a679e;
  outline: none;
}

.button__icon {
  font-size: 24px;
  margin-left: auto;
  color: #7875b5;
}

.back__submit {
  background: #959595;
  font-size: 14px;
  margin: auto;
  margin-left: 35px;
  padding: 16px 20px;
  border-radius: 26px;
  border: 1px solid #d4d3e8;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  width: 60%;
  color: #4c489d;
  box-shadow: 0px 2px 2px #5c5696;
  cursor: pointer;
  transition: 0.2s;
}

.back__submit:active,
.back__submit:focus,
.back__submit:hover {
  border-color: #6a679e;
  outline: none;
}

.social-login {
  position: absolute;
  height: 140px;
  width: 160px;
  text-align: center;
  bottom: 0px;
  right: 0px;
  color: #fff;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-login__icon {
  padding: 20px 10px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0px 0px 8px #7875b5;
}

.social-login__icon:hover {
  transform: scale(1.5);
}

.rain span {
  position: absolute;
  width: 0.8px;
  height: 100px;
  bottom: 100%;
  background: linear-gradient(#dee2e6, #999999, #666666, #333333, #000000);
  opacity: 0.5;
  animation: drops 5s linear infinite;
  z-index: 3;
}

@keyframes drops {
  0% {
    transform: translateY(0vh);
    opacity: 1;
  }
  25% {
    transform: translateY(30vh);
    opacity: 0.75;
  }
  50% {
    transform: translateY(55vh);
    opacity: 0.5;
  }
  75% {
    transform: translateY(70vh);
    opacity: 0.25;
  }
  100% {
    transform: translateY(90vh);
    opacity: 0;
  }
}

.in_cap {
  display: grid;
  gap: 5px;
  grid-template-columns: 2fr 0.5fr;
  grid-template-rows: 50px;

  margin-bottom: 10px;
}

.box {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.box1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.box2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.ref {
  color: #d4d3e8;
  font-size: 2rem;
  background-color: transparent;
  border: 0px;
  padding: 8px;
}

.form-control {
  font-size: 14px;
  border: 0px;
  border-bottom: 2px solid #4c489d;
  padding: 16px 20px;
  font-weight: 700;
  width: 100%;
}
