diff --git a/src/Components/footer_section/ContactUs/contact_us.css b/src/Components/footer_section/ContactUs/contact_us.css index be116441..36585675 100644 --- a/src/Components/footer_section/ContactUs/contact_us.css +++ b/src/Components/footer_section/ContactUs/contact_us.css @@ -28,24 +28,39 @@ height: auto; } -.box1, .box2, .box3, .box4 { +.box1, +.box2, +.box3, +.box4 { padding: 20px; - background-color: #1e1b3a; + background-color: #1e1b3a; border-radius: 10px; } -.box1:hover, .box2:hover, .box3:hover, .box4:hover { + +.box1:hover, +.box2:hover, +.box3:hover, +.box4:hover { background-color: #2a2747; - box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); outline: 3px solid white; border-radius: 15px; transition: 0.1s ease-in-out; } -.box1 h2, .box2 h2, .box3 h2, .box4 h2, .form h2 { + +.box1 h2, +.box2 h2, +.box3 h2, +.box4 h2, +.form h2 { text-decoration: underline; margin-bottom: 10px; } -.box1 p, .box2 p, .box3 p, .box4 p { +.box1 p, +.box2 p, +.box3 p, +.box4 p { font-size: large; margin: 5px 0; } @@ -54,7 +69,7 @@ padding: 20px; border: 3px solid white; border-radius: 15px; - background-color: #2a2747; + background-color: #2a2747; } .form h2 { @@ -76,13 +91,16 @@ font-size: medium; } -.form input, .form select, .form textarea, .form button { +.form input, +.form select, +.form textarea, +.form button { padding: 10px; margin-bottom: 15px; border-radius: 5px; border: 1px solid #ccc; font-size: medium; - background-color: #3a3756; + background-color: #3a3756; color: white; border-bottom: 4px solid aliceblue; } @@ -108,9 +126,30 @@ padding: 10px; height: 100px; resize: none; - background-color: #3a3756; + background-color: #3a3756; color: white; } -.contentInside a{ + +.contentInside a { font-size: large; +} + +@media only screen and (max-width : 600px) { + + .general, + .form { + scale: 0.8; + } +} + +@media only screen and (max-width : 500px) { + .containerContact { + display: flex; + flex-direction: column; + } + + .form, + .general { + scale: 0.9; + } } \ No newline at end of file diff --git a/src/Components/footer_section/ContactUs/contact_us.js b/src/Components/footer_section/ContactUs/contact_us.js index cfcda92a..9882eb4a 100644 --- a/src/Components/footer_section/ContactUs/contact_us.js +++ b/src/Components/footer_section/ContactUs/contact_us.js @@ -27,7 +27,7 @@ function ContactUs() { return (
- Home + Home
@@ -68,7 +68,7 @@ function ContactUs() { - +