I'm working on a project but don't know any backend code yet, so I'm using embed google form but that's not responsive. here's the code I tried to make that form responsive, but somehow the code doesn't work.
.contact-form {
background-image: linear-gradient(to right, #d8d8d8, #3c557f);
display: flex !important;
align-items: center !important;
justify-content: center !important;
overflow: hidden !important;
padding: 50px;
.contact-form-conainer {
padding: 50px !important;
@media screen and (max-width: 768px){
font-size: 15px !important;
margin: 0 20px 0 20px !important;
padding: 10px !important;
overflow: hidden !important;
}
@media screen and (min-width: 576px){
font-size: 15px !important;
margin: 0 20px 0 20px !important;
padding: 10px !important;
overflow: hidden !important;
}
@media screen and (max-width: 576px){
font-size: 15px !important;
margin: 0 20px 0 20px !important;
padding: 10px !important;
overflow: hidden !important;
}
}
}</style>
<div class="container-fluid contact-form">
<div class="contact-form-container">
<iframe
src="https://docs.google.com/forms/d/e/1FAIpQLSe_ajLSx8IN9zQNS_SIwOyPV-iIMtoTj-nHOqyu5nSR10GTIQ/viewform?embedded=true"
width="640" height="780" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>
</div>
</div>```