body {
    display: flex;
    font-family: 'Poppins', sans-serif;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: rgb(250,250,250);
    background: radial-gradient(circle, rgba(250,250,250,1) 30%, rgba(247,209,209,1) 58%);
    }
.background {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url(../img/bg.jpg);
      background-size: cover;
      background-position: center;
      opacity: 0.5;
  }
 .form {
    position: relative;
    width: 440px;
    height: 360px;
    border: 2px solid rgba(250,250,250);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #EEEEEE;
 }
 .form{
    width: 400px;
 }
 .form h3 {
    text-align: center;
    font-size: 3em;
    margin-top: -50px;
 }
.form h3::after{
   content: '';
   display: block;
   border-bottom: 5px solid #ff3126;
   width: 90%;
   margin: 0 auto;
   margin-top: 4px;
}
 h3 {
    margin: 0;
 }
 
 .form, .form-box {
    padding: 20px;
    width: 400px;
 }
 .box {
 position: relative;
 width: 100%;
 height: 50px;
 border-bottom: 2px solid #162938;
 margin: 10px 0 0;
 margin-top: 9px;
 }
 .box input{
 position: relative;
 top: 60%;
 left: 5px;
 transform: translateY(-50%);
 font-size: 1em;
 color: #162938;
 font-weight: 500;
 transition: .3s;
 }
 .box input:focus~input,
 .box input:valid~input{
 top: -5px;
 }
 .box input{
 width: 100%;
 height: 100%;
 border: none;
 background: transparent;
 outline: none;
 font-size: 1em;
 color: #162938;
 font-weight: 500;
 }
 .btn{
box-shadow: var(--box-shadow-button);
border-radius: 4px;
background: red;
font-size: 20px;
font-weight: 600;
border: 2px solid #ff3126;
transition: all 0.25s ease;
color: white;
cursor: pointer;
letter-spacing: 0.05em;
}
.btn:hover{
transform: translate(2px, -2px);
letter-spacing: 0.20em;
border-radius: 40px;
background: transparent;
color: red;
}
 .login{
    font-size: 1em;
    text-align: center;
    font-weight: 520;
    color: #162938;
    margin: 25px 0 -15px;
 }
 .login p a{
    text-decoration: none;
    font-weight: 600;
    color: #162938;
 }
 .login p a:hover{
    text-decoration: underline;
 }
 .box .icon{
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #000;
    line-height: 57px;
    margin-top: 2px;
    display: block;
 }
 .error-msg{
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 2%;
    display: block;
    background: #890F0D;
    color:#fff;
    border-radius: 5px;
    font-size: 15px;
    padding: 5px;
 }
 header{
    position: absolute;
    top: 0;
    width: 100%;
    height: 10%;
    background: #ff3126;
    color: white;
 }
 header .home {
    margin: 18px 25px;
    display: flex;
    justify-content: flex-end;
    font-size: 30px;
    
  }
  .home a {
    color: #fff; 
  }
 .logo h3{
    position: absolute;
    top: 18px;
    left: 98px;
    font-size: 23px;
    color: white;
    cursor: pointer;
 }
 .logo img{
    position: absolute;
    top: 12px;
    left: 50px;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
 }
 .icon .highlight {
    position: absolute;
    right: 2px;
    font-size: 14px;
    color: white;
    line-height: 40px;
    margin-top: 2px;
    opacity: 0;
    transition: opacity 0.3s;
    transform: translateX(-50%);
    white-space: nowrap;
    visibility: hidden;
}
 .icon:hover .highlight {
      opacity: 2;
      visibility: visible;
}
 .remember{
 font-size: .9em;;
 font-weight: 500;
 color: #162938;
 margin: 10px 0 5px;
 display: flex;
 justify-content: space-between;
 }
 .remember label input{
 accent-color: #162938;
 margin-right: 3px;
 }
 .remember a{
 color: #162938;
 margin-right: 3px;
 font-weight: 600;
 text-decoration: none;
 }
 .remember a:hover{
 text-decoration: underline;
 }