:root {
    --black: hsl(0, 0%, 13%);
    --salmon-pink: hsl(353, 100%, 78%);
    --white: hsl(0, 100%, 100%);
    --blue-bit:#4AAFD5;
    --blue:#0093D0;
  }
.contact-content{
    display: flex;
    align-items: center;
    justify-content: center;
}
.content-main-contact{
    outline: none;
    width: 400px;
    background: var(--white);
    padding: 20px;
}
.content-main-contact p{
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    color: var(--blue);
}
.submit-contact{
    background: var(--blue);
    bottom: 0;
    color: var(--white);
    text-align: center;
    width: 100%;
    padding: 0 10px;
    margin-top: 40px;
    border: 1px solid var(--blue);
}
.submit-contact:hover{
    background: var(--white);
    color: var(--blue);
    border: 1px solid var(--blue);
}
.txt_field{
    position: relative;
    border-bottom: 2px solid #adadad;
    margin: 20px 0;
}
.txt_field input{
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}
.txt_field label{
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}
.txt_field span::before{
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--blue);
    transition: .5s;
}
.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
    top: -5px;
    color: var(--blue);
}
.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before{
    width: 100%;
}
textarea{
    width: 100%;
}
@media(max-width:470px){
    .content-main-contact{
        width: 300px;
    }
}