I have created input field of type "file" with some text inside the box. How do I make the text inside responsive so that it is aligned in the center in all screen sizes? Right now the text seems to be starting from the middle of the input element.
#profile_video_container {
position: relative;
}
#profile_video_container header {
text-align: left;
color: #443f3f;
}
#profile_video_container input {
border: 0px solid #92b0b3;
background: #f1f1f1;
outline: 2px dashed #92b0b3;
outline-offset: -10px;
padding: 80px 0px 100px 150px;
text-align: center !important;
width: 520px;
}
#profile_video_container input:hover {
background: #ddd;
}
#profile_video_container:before {
position: absolute;
bottom: 80px;
align-content: center;
content: " (or) Drag and Drop bio video here. ";
color: #3f8188;
font-weight: 900;
}