/* base style ---------- */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.1;
  width: 100%;
  height: 100vh;
  position: relative;
  padding: 20px;
  overflow-x: hidden;
}

/* login section style ---------- */

.login {
  width: 100%;
  height: 100%;
  background: #bde5e5;
  position: relative;
}

.login .box {
  width: 700px;
  height: 320px;
  background: #CAEAEA;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 15px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.login .box .lef-placeholder {
  width: 50%;
  height: 320px;
  background: url(../images/cartoon-coding.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 15px 0px 0px 15px;
}

.login .box .right-content {
  width: 50%;
  height: 320px;
  padding: 50px 65px 0px;
}

.login .box .right-content form .top input {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px 5px;
  border: none;
  outline: none;
  border-bottom: 2px solid #000080;
  font-size: 14px;
  letter-spacing: 1.5px;
  transition-duration: .3s;
  transition-property: border-bottom;
}

.login .box .right-content form .top input:focus {
  border-bottom: 2px solid #FFA07A;
  color: #FFA07A;
}

.login .box .right-content form .bottom input {
  display: inline-block;
  width: 100%;
  padding: 10px 5px;
  border: none;
  outline: none;
  margin: 15px 0px 55px;
  background: #000080;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  border-radius: 25px;
  cursor: pointer;
  transition-duration: .3s;
  transition-property: box-shadow;
}

.login .box .right-content form .bottom input:hover {
  box-shadow: inset 174px 0px 0px #FFA07A;
}

.login .box .right-content .footer {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.login .box .right-content .footer a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  color: #000080;
  position: relative;
  transition: .3s color;
}

.login .box .right-content .footer a:hover {
  color: #FFA07A;
}

.login .box .right-content .footer a:nth-child(2):before {
  content: "";
  border: 1px solid #000080;
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 53px;
  z-index: 1;
}

.login .box .right-content .footer a:nth-child(2):after {
  content: "";
  border: 1px solid #000080;
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: -24px;
  z-index: 1;
}

/* internal media queries ---------- */
@media (max-width: 750px) {
  .login .box {
    width: 400px;
    height: 640px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    }
  
    .login .box .lef-placeholder {
      width: 400px;
      height: 50%;
      border-radius: 15px 15px 0px 0px;
    }
  
    .login .box .right-content {
      width: 400px;
      height: 50%;
    }

    .login .box .right-content form .bottom input:hover {
      box-shadow: inset 225px 0px 0px #FFA07A;
    }
}
