* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: rgba(78, 115, 223, 0.25);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 1080px;
  height: 80vh;
  max-height: 550px;
  display: flex;
  width: 100vw;
  padding: 0 5%;
  justify-content: space-between;
}

.leftSide {
  width: calc(100% - 450px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(78, 115, 223);
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  padding: 2rem;
  position: relative;
}

.leftSide svg {
  max-width: 85%;
}

.rightSide {
  width: 450px;
  height: 100%;
  background: #fff;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  padding: 3rem 2rem;
}

.formTitle {
  font-size: 1.5rem;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 1.5rem;
}

.formTitle::before {
  content: '';
  width: 10%;
  height: 2px;
  position: absolute;
  bottom: -.25rem;
  left: 0;
  background: rgb(78, 115, 223);
}

.input {
  width: 100%;
  height: 40px;
  position: relative;
  margin-top: 1.5rem;
}

.input input {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  outline: none;
  font-size: .9rem;
  border: 1.5px solid #ccc;
  border-radius: .25rem;
  caret-color: rgb(78, 115, 223);
  -webkit-border-radius: .25rem;
  -moz-border-radius: .25rem;
  -ms-border-radius: .25rem;
  -o-border-radius: .25rem;
}

.input.pass input {
  padding-right: 2rem;
}

.input.pass i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  font-weight: bold;
  color: rgb(78, 115, 223);
}

.input label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: .8rem;
  color: #858796;
  font-size: .9rem;
  transition: color 0.3s ease;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transition: .3s ease;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
}

input:-webkit-autofill~label,
.input input:hover~label,
.input input:focus~label,
.input input:valid~label {
  color: rgb(78, 115, 223);
  top: 0;
  background: #fff;
  padding: 0 .5rem;
  text-transform: uppercase;
}

.input input:invalid~label::before {
  content: 'Enter ';
}

.btn {
  width: 100%;
  height: 40px;
  background: rgb(78, 115, 223);
  color: #fff;
  border: none;
  border-radius: .25rem;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 2rem;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  letter-spacing: 2px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.message {
  width: 100%;
  padding: .5rem .75rem;
  color: #28a745;
  border: 1px solid #28a745;
  background: #dff0d8;
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: 1px;
  border-radius: .5rem;
  -webkit-border-radius: .5rem;
  -moz-border-radius: .5rem;
  -ms-border-radius: .5rem;
  -o-border-radius: .5rem;
  margin-bottom: .5rem;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border-color: #721c24;
}

.apnaLoader {
  margin-right: .25rem;
  animation: rotate 2s infinite linear;
  -webkit-animation: rotate 2s infinite linear;
}


.brandLogo {
  max-width: 70px;
  filter: brightness(0) invert(1);
  position: absolute;
  top: 1rem;
  left: 2rem;
}

a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .8rem;
  color: rgb(78, 115, 223);
  align-items: center;
  display: flex;
  cursor: pointer;
}

a i {
  margin-right: .25rem;
}

.rightSide {
  position: relative;
}

.forgotSec {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

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;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 850px) {
  .leftSide {
    width: calc(100% - 400px);
  }

  .rightSide {
    width: 400px;
  }
}

@media screen and (max-width: 768px) {
  .leftSide {
    width: calc(100% - 350px);
  }

  .rightSide {
    width: 350px;
  }
}

@media screen and (max-width: 700px) {
  .leftSide {
    width: calc(100% - 300px);
  }

  .rightSide {
    width: 300px;
  }
}

@media screen and (max-width: 600px) {
  .container {
    padding: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    flex-direction: column;
  }

  .leftSide,
  .rightSide {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    width: 100%;
  }

  .leftSide {
    min-height: 10rem;
  }

  .leftSide svg {
    display: none;
  }

  .rightSide {
    position: absolute;
    top: 6.5rem;
    width: 90%;
    margin-left: 5%;
    height: auto;
    padding-bottom: 10rem;
    border-radius: .5rem;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    -o-border-radius: .5rem;
  }

}