*{
    margin: 0;
    padding: 0;
    box-sizing:border-box ;
    font-family: 'Poppins' , sans-serif;
}




main{
    display:flex;
    flex-direction: row;
    margin-left: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
}

h1{
    color: white;
    font-weight :700; 
    margin-bottom:15px;
    
}

p{
    color:white;
    font-size: 11px;
    
}


.header{
   
    justify-items: center;
    font-size: 16px;
    align-items: center;
    width: 100%;
    
}


.container{
    display:flex;
    width:80%;
    height: 80%;
    margin-right:20px ;
    margin-top: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

form{
    
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    position: relative;
    border: hsl(249,10%,26%);
}

form div input{
    width: 100%;
    height: 40px;
    outline: none;
    border: 1px hsl(249,10%,26%);
    padding: 0  30px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    
}


 .click{
    font-size: 6px;
    text-align: center;
    padding-left: 35px;
    position: relative;
    font-weight: bold;
}


input:focus{
    border: 1px solid hsl(249, 10%, 26%)
}

form div{
    position: relative;
    margin-bottom: 15px;
}
form div i{
    position: absolute;
    padding: 10px;
    align-items: center;
    
}

.failure-icon{
    color: hsl(0, 100%, 74%)
}

.success-icon{
     color: hsl(154, 59%, 51%)
}

.error{
    margin-top: 5px;
    text-align: right;
    font-style: italic;
    color: hsl(0, 100%, 74%);
    font-size: 10px;

}

.success-icon, .failure-icon{
    right: 0;
    opacity: 0;
}


button{
    margin-top: 5px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: hsl(154, 59%, 51%);
    border: 2px;
    justify-content: center;
    padding: 12px;
    font-weight: 700;
    border-radius: 5px;
    color: white;
    font-size: 10px;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transition:all 0.1s ease;
}

button:hover{
    opacity: 0.8;
}

.btn{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 100%;
    border: 2px  hsl(249,10%,26%);
    border-radius: 5px;
    box-shadow: 2px 2px 4px hsl(249, 10%, 26%);
    background-color: hsl(248, 32%, 49%);
    color: white;
    margin-bottom: 20px;
    font-size: 12px;
}

::placeholder{
    padding: 20px;
}


@media (max-width:375px){
    main{
        flex-direction: column;
    }

    form, .header{
        width: 100% !important;
    }

}










/**{
    box-sizing: border-box;
}

/*main{
    margin: 70px;
    height: 100vh;
    display: flex;
}

.header{
    padding-top: 50px;
    padding-bottom: 50px;
    justify-items: center;
    align-items: center;
    width: 50%;
}

/*h1{
    color: white;
    font-weight: 700;
}

p{
    color:white;
}

.container{
    white-space: wrap;
    display: block;
    text-align: center;
    
    padding: 50px;
}
.try{
    background-color: hsl(248, 32%, 49%);
    color: white;
    padding: 10px;
    padding-bottom: 10px;
}


.form{
    background-color: white;
    padding: 25px;

}

.error{
    color: hsl(0, 100%, 74%);
    font-weight: 400;
    font-style: italic;
    text-align: end;
}

.icon{
    border: 1px solid hsl(249, 10%, 26%);
    text-align: end;
}

.button{
    background-color: hsl(154, 59%, 51%);
}

.click{
    display: fit-content;
}