﻿

#contact .container .text {
    text-align: center;
    font-size: 41px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    background: -webkit-linear-gradient(right, #56d8e4, #9f01ea, #56d8e4, #9f01ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#contact .container form {
    padding: 30px 0 0 0;
}

    #contact .container form .form-row {
        display: flex;
        margin: 32px 0;
    }

#contact form .form-row .input-data {
    width: 100%;
    height: 40px;
    margin: 0 20px;
    position: relative;
}

#contact form .form-row .textarea {
    height: 70px;
}

#contact .input-data input,
#contact .textarea textarea {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    font-size: 17px;
    border-bottom: 2px solid rgba(0,0,0, 0.12);
}
    #contact .input-data input:hover,
    #contact .textarea textarea :hover {
        outline: none;
    }

    #contact .input-data input:hover,
    #contact .textarea textarea :after {
        outline: none;
    }

#contact input,textarea {
    outline: none;
}

    #contact .input-data input:focus ~ label, #contact .textarea textarea:focus ~ label,
    #contact .input-data input:valid ~ label, #contact .textarea textarea:valid ~ label {
        transform: translateY(-35px);
        font-size: 14px;
        color: #3498db;
    }

#contact .textarea textarea {
    resize: none;
    padding-top: 10px;
}

#contact .input-data label {
    position: absolute;
    pointer-events: none;
    bottom: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#contact .textarea label {
    width: 100%;
    bottom: 40px;
    background: #fff;
}

#contact .input-data .underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
}

    #contact .input-data .underline:before {
        position: absolute;
        content: "";
        height: 2px;
        width: 100%;
        background: #3498db;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease;
    }

#contact .input-data input:focus ~ .underline:before,
#contact .input-data input:valid ~ .underline:before,
#contact .textarea textarea:focus ~ .underline:before,
#contact .textarea textarea:valid ~ .underline:before {
    transform: scale(1);
}

#contact .submit-btn .input-data {
    overflow: hidden;
    height: 45px !important;
    width: 25% !important;
}

#contact .submit-btn2 {
    color: #0d0707;
    border: 1px solid #ACACAC;
    padding: 10px 20px;
    border-radius: 5px;
}

#contact .submit-btn2 :hover {
    background-color: black !important;
    color: white !important;
}

    #contact .submit-btn .input-data .inner {
        height: 100%;
        width: 300%;
        position: absolute;
        left: -100%;
        background: -webkit-linear-gradient(right, #56d8e4, #9f01ea, #56d8e4, #9f01ea);
        transition: all 0.4s;
    }

    #contact .submit-btn .input-data:hover .inner {
        left: 0;
    }

    #contact .submit-btn .input-data input {
        background: none;
        border: none;
        color: #fff;
        font-size: 17px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }