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

body{
    background-color: #008080;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container{
    background-color: #fff;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    width: 60%;
    margin: auto;
}

.form{
    padding: 10px 20px;
    background-color: aliceblue;
    display:flex;
    flex-direction: column;
    width: 100%;
    
}

.form-control{
    margin-bottom: 5px;
}

.form-control label {
    display: block;
    color: #777;
    margin-bottom: 5px;
}

.form-control input, .form-control select{
    border: solid 2px #f0f0f0;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 5px;
    font-size: 14px;
    display: flex;
    width: 100%;
}

.form-control input:focus {
    outline: none;
}

.form-control.error input {
    border-color: red
}

.form-control.success input {
    border-color: green
}

.input.success{
    border: green;
}
.error{
    color: red;
    visibility: visible;   
}

.form-control i{
    position:absolute;
   bottom: 15px;
   left: 24em;
   visibility: hidden;
}


.form-control.success input{
    border: 2px solid lightgreen ;
}
.form-control.error input{
    color: red;
}

.btn{
    display: flex;
    justify-content: center;
}

.submit{
    width:50%;
    background-color:#008080;
    padding: 10px;
    outline: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    
}



