I've attempted to utilize a few posts here that discuss resizing for mobile devices, but unfortunately, I'm having trouble getting it to work correctly. The margins are causing all the elements to be squished together when viewing the site on a mobile device.
/* CUSTOM STYLING */
.introPar1 {
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
margin-left: 400px;
margin-right: 400px;
font-size: 30px;
}
.introPar1 h1 {
text-align: center;
}
.contacts {
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
margin-left: 400px;
margin-right: 400px;
font-size: 30px;
}
/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
.introPar1 {
margin-right: 20px;
margin-left: 20px;
}
}
@media (max-width: 750px) {
body {
margin-right: 5vw;
margin-left: 5vw;
}
}
@media (max-width: 500px) {
body {
margin-right: 2vw;
margin-left: 2vw;
}
}