*{
    margin: 0;
    padding: 0;
    font-family:Arial, Helvetica, sans-serif;
}
body{
    top: 120px;
}
ul{
    list-style: none;
}
p{
    margin: 0;
    padding: 0; 
}
a{
    text-decoration: none;
    color: #551a8b;
}
.alert{
    z-index:3;
}
h1{
    margin: 0;
}
/* ---------------------------------- Styling for login form ----------------------------------- */
section form{
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
}
.container{
    height: 100vh;
    width: 100vw;
    background: linear-gradient(30deg, #ffd500, #ffff00,#ffd500,#ffff00);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    max-width: 100vw;
}
.sub_container{
    height: 600px;
    width: 800px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 2px 2px 10px #c6a604;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
img{
    height: 400px;
    width: 400px;
    background-size: cover;
    cursor: pointer;
}

.inp_container{
    height: 500px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    padding: 0;
    margin: 0;
}
.inp_container h1{
    font-weight: 600 !important;
}
.inp_item{
    overflow-y: scroll;
}
::-webkit-scrollbar {
    width: 10px; 
}

::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 15px; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

input, .eye {
    height: 40px;
    width: 270px !important;
    border: 2px solid rgba(0, 0, 0, 0.579) !important;
    border-radius: 3px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    outline: none;
    z-index: 1;
}

.pass_cont{
    display: flex;
}
.pass_cont input{
    border-right: none !important;
    width: 230px !important;
    border-radius: 3px  0 0 3px;
}

.pass_cont .eye{
    border-left: none !important;
    width: 40px !important; 
    border-radius:  0 3px 3px  0;   
}

.inp_label{
    color: #000000;
    position: relative;
    padding: 0 5px 0 5px;
    z-index: 3;
    top: 8px;
    left: 13px;
    background-color: #fff; 
}
.submit_button{
    height: 40px;
    width: 280px;
    font-size: 15px;
    background-color: #ffd500;
    border: none;
    border-radius: 4px;
    color: white;
    margin: 15px 0 10px 0;
    box-shadow: 2px 2px 5px #c6a604;
}
.submit_button:hover{
    box-shadow: 2px 2px 10px #c6a604;
}
.login{
    height: 40px;
    width: 280px;
    font-size: 20px;
    border-radius: 20px;
    color: black;
    border: 1.5px solid rgba(72, 68, 68, 0.793);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.login:hover{
    border: 2px solid rgb(0, 0, 0);
}

.otp_button{
    margin: 4px;
    font-size: 15px;
    outline: none;
    border: #2f4291d4;
    background-color: rgb(47, 130, 231);
    box-shadow: 2px 2px 4px #2f4291d4;
    color: rgba(255, 255, 255, 0.827);
    padding: 4px;
    border-radius: 5px;
    z-index: 2;
}


@media screen  and (max-width: 750px) and (min-width:350px){
    .container{
        height: 100vh !important;
        width: 100vw;
        background: linear-gradient(30deg, #ffd500, #ffff00,#ffd500,#ffff00);
        display: flex;
        justify-content: center;
        align-items: center;
        
        overflow-x: hidden;
    }  
    .sub_container{
        height: 750px;
        width: 380px;
        background-color: #fff;
        border-radius: 15px;
        margin: 20px 0 ;
        box-shadow: 2px 2px 10px #c6a604;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    } 
    img{
        height: 180px;
        width: 180px;
        overflow-y: hidden;
        background-size: cover;
    }
    .inp_container{
        height: 500px;
        width: 300px;
        display: flex;
        flex-direction: column;
        justify-content:space-evenly;
    }


}

@media  (max-width: 400px) {    
    .container{
        height: 100vh !important;
        width: 100vw;
        background: linear-gradient(30deg, #ffd500, #ffff00,#ffd500,#ffff00);
        display: flex;
        justify-content: center;
        align-items:flex-start;
        overflow-x: hidden;
    }  
    .sub_container{
        height: 700px;
        width: 360px;
        background-color: #fff;
        border-radius: 15px;
        margin: 20px 0 ;
        box-shadow: 2px 2px 10px #c6a604;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    } 
    img{
        height: 220px;
        width: 220px;
        overflow-y: hidden;
        background-size: cover;
    }
    .inp_container{
        height: 420px;
        width: 300px;
        display: flex;
        flex-direction: column;
        justify-content:space-evenly;
    }    
      
}
