.group {
    position: relative;
    margin-bottom: 45px
}

textarea {
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: 1px solid #757575;
    border-radius: 15px;
    background: transparent;
}

textarea:focus {
    outline: 0
}

label {
    color: #999;
    font-size: 18px;
    font-weight: 400;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: .2s ease all
}

textarea:focus~label,
textarea:valid~label {
    top: -20px;
    font-size: 14px;
    color: #0b0c10
}

textarea:focus~.bar2:after,
textarea:focus~.bar2:before {
    width: 50%
}

.bar2 {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 96%;
    border-radius: 15px;
    top: 1px
}

.bar2:after,
.bar2:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #0b0c10;
    transition: .2s ease all
}

.bar2:before {
    left: 50%
}

.bar2:after {
    right: 50%
}

input {
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #494948;
    color: #333;
    background: transparent;
}

input:focus {
    outline: 0
}

input:focus~label,
input:valid~label {
    top: -20px;
    font-size: 14px;
    color: #0b0c10
}

.bar {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    border-radius: 15px;
    top: 1px;
}

.bar:after,
.bar:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #388621;
    transition: .2s ease all
}

.bar:before {
    left: 50%
}

.bar:after {
    right: 50%
}

input:focus~.bar:after,
input:focus~.bar:before {
    width: 50%
}

.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: .5
}

input:focus~.highlight {
    animation: inputHighlighter .3s ease
}

.botao{
    border-radius: 5px;
    border: none;
    color: rgb(248, 248, 248);
    background-color: rgb(26, 170, 26);
    height:5vh;
    font-family: montserrat;
    font-weight: bold;
}

@media screen and (max-width: 575px) {
    .bar {
        border-radius: 15px;
        top: 1px;
        width: 98%;
    }

    input {
        border-radius: 5px;
    }
    .bar2 {
        border-radius: 15px;
        top: 1px;
        width: 98%;
    }

    textarea {
        border-radius: 5px;
    }
}