.container{
    width: 50%;
    height: 80vh;
    margin: auto;
    /* position: relative; */
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    top: 50%;
    margin-top: 40px;
    border-radius: 5%;

}
.form{
   
    padding: 34px;
    height: 50%;
    width: 100%;
    /* position: absolute;
    left: 50%;
    top: 50%; */
    /* transform: translate(-50%, -50%); */
}
 
body{
    background-color: #231a6e;
}
.elm{
    margin: 26px;
}
.input{
    padding: 3px;
    /* background: #dad1d1; */
    color: #231a6e;
    border-radius: 5px;
    border: none;
    outline: none;
    color: rgb(52, 25, 87);
    width: 100%;
    border-bottom: 2px solid black;
    
}
.invalid{
    padding: 3px;
    /* background: #dad1d1; */
    color: red;
    border-radius: 5px;
    border:  2px solid red;
    outline: none;
    color: rgb(52, 25, 87);
    width: 100%;
    
    
}
.btn{
    padding: 3px 28px 3px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;

}
.btn:hover{
    padding: 3px 28px 3px;
    background: #943d3d;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}
.msg{
    color:red;
}
.failure{
    color:red;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}
.success{
    color:green;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
     
}

@media  only screen and (min-width: 270px) and (max-width:991px){
    .container{
        width: 100%;
        height: 80vh;
        margin: auto;
        /* position: relative; */
        display: flex;
        justify-content: center;
        align-items: center;
        background: white;
        top: 50%;
    
    }
    .form{
       
        padding: 34px;
        height: 50%;
        width: 100%;
        /* position: absolute;
        left: 50%;
        top: 50%; */
        /* transform: translate(-50%, -50%); */
    }
    body{
        background-color: rgb(187, 179, 179);
    }
    .input{
        padding: 3px;
        /* background: #dad1d1; */
        color: #231a6e;
        border-radius: 5px;
        border: none;
        outline: none;
        color: rgb(52, 25, 87);
        width: 100%;
        border-bottom: 2px solid black;
        
    }
}