
body {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    font-family: sans-serif;
    background: transparent;
}


.form-group{
    margin-bottom: 1em;
    transition: all .3s;
}

.form-label{
    font-size: 1em;
    color: #aaa;
    display: block;
    opacity: 1;
    transform: translateY(-1.70em);
    transform-origin:0 0;
    transition: all .4s;
}

.box-label{
    font-size: 1em;
    color: #aaa;
    display: block;
    opacity: 1;
    transform: translateY(-2.50em);
    transform-origin:0 0;
}

.form-control{
    box-shadow: none;
    background-color: rgba(0, 0, 0, .02);
    border-radius: 0px;
    border-color: #ccc;
    border-style: none none solid none;
    width: 100%;
    transition: all .5s;
    padding: 8px;
}

.form-control::placeholder{
    color: transparent;
}

.form-control:focus{
    box-shadow: none;
    outline: none;
    border-color: blue;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label
{
    transform: translateY(-2.5em) scale(.8);
}

.form-group:focus-within{
    transform: scale(1.05,1.05);
}

.btn{
    border: 1px solid #3498db;
    background: none;
    padding: 10px 20px;
    font-size: 20px;
    font-family: "montserrat";
    cursor: pointer;
    margin: 10px;
    transition: 0.8s;
    position: relative;
    overflow: hidden;
}

.cmdbtn{
    color: #3498db; 
}

.cmdbtn:hover{
    color: #fff; 
}

.btn::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 0%;
    background: #3498db;
    z-index: -1;
    transition: 0.8s;
}

.cmdbtn::before{
    top: 0;
    border-radius: 0 0 50% 50%;
}

.cmdbtn:hover::before{
    height: 180%;
}

h4 {
    border: 1px solid black;
    height: 80px;
    width: 600px;
    position: absolute;
    padding-top: 50px;

}