Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overflow issue solved #448

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - TrendTrove</title>
<link rel="stylesheet" href="preloaderStyle.css">
<link rel="stylesheet" href="style.css"> <!-- Link to your common CSS file -->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="./style.css">
Expand Down Expand Up @@ -98,10 +97,11 @@ <h3>Send Us a Message</h3>
<button class="btn-submit">Send Message</button>
</div>

<div class="contact-map">
<iframe src="https://www.google.com/maps/embed?pb=..."></iframe>
</div>
<div class="contact-map">
<iframe src="https://www.google.com/maps/embed?pb=..."></iframe>
</div>
</div>

<div class="contact-info-container">
<div class="contact-info-box">
<i class="fas fa-map-marker-alt"></i>
Expand Down
160 changes: 105 additions & 55 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1009,17 +1009,12 @@ input {
}
}



/* Contact Section Styles */
.contact-section {
max-width: 1700px;
margin: 100px;
gap: 50px;
background-color: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
}

Expand Down Expand Up @@ -1419,25 +1414,29 @@ main{
text-align: left;
}

/* Contact Section*/
body {
font-family: 'Arial', sans-serif;
background-color: #f7f7f7;
color: #333;
margin: 0;
padding: 0;
background-color: #f5f5f5;
}

h2, h3, p {
margin: 0;
padding: 0;
}

.contact-section {
padding: 50px 15px;
padding: 60px 20px;
background-color: #fff;
text-align: center;
}

.contact-section h2 {
font-size: 36px;
color: #222;
margin-bottom: 10px;
margin-bottom: 20px;
}

.contact-section p {
Expand All @@ -1446,30 +1445,27 @@ body {
margin-bottom: 40px;
}

/* Contact Information Styles */
.contact-info-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap:23px;
margin-bottom: 40px;
margin-top: 50px;

gap: 20px;
margin: 40px auto;
max-width: 1200px;
}
ul{

ul {
list-style-type: none;
padding: 0;
}


.contact-info-box {
margin-top: 200px;
background-color: #ffffff;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7); border-radius: 8px;
width: 30%;
padding: 20px;
margin: 10px;
flex: 1 1 30%;
background-color: #fff;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border-radius: 10px;
padding: 30px;
text-align: center;
border-radius: 18px;
transition: box-shadow 0.3s ease;
}

Expand All @@ -1483,53 +1479,34 @@ ul{
margin-bottom: 15px;
}

.contact-info-box p {
.contact-info-box p, .contact-info-box ul li {
font-size: 16px;
line-height: 1.6;
color: #333;
}

/* Icon Styles */
.contact-info-box i {
font-size: 40px;
color: #2d80d8;
margin-bottom: 10px;
}

/* Google Maps Embed */
.contact-map {
width: 50%;
height: 400px;
margin: 0 auto;
position: relative;
}

.contact-map iframe {
position: relative;
border-radius: 18px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
width: 900px;
height: 550px;
border: none;
border-radius: 8px;
margin-bottom: 15px;
}

/* Contact Form Styles */
.contact-form-container {
display: flex;
justify-content: space-between;
justify-content: space-around;
flex-wrap: wrap;
margin-top: 40px;
width:1450px;
max-width: 1200px;
margin: 0 auto;
gap: 20px;
}

.contact-form {
flex: 1 1 45%;
background-color: #fff;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
border-radius: 18px;
width: 45%;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border-radius: 10px;
padding: 30px;
margin: 10px;
text-align: left;
}

.contact-form h3 {
Expand All @@ -1542,20 +1519,20 @@ ul{
.contact-form textarea {
width: 100%;
padding: 12px;
margin-bottom: 20px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}

.contact-form textarea {
resize: vertical;
height: 100px;
height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
border-color:#2d80d8;
border-color: #2d80d8;
outline: none;
}

Expand All @@ -1571,9 +1548,82 @@ ul{
}

.contact-form .btn-submit:hover {
background-color: #2266b0;
}

.contact-map {
flex: 1 1 45%;
margin-top: 30px;
}

.contact-map iframe {
width: 100%;
height: 400px;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

footer {
background-color: #2d80d8;
color: #fff;
padding: 40px 20px;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
text-align: left;
}

.footer-section {
flex: 1 1 30%;
margin: 10px;
}

.footer-section h1 {
font-size: 24px;
margin-bottom: 20px;
}

.footer-list {
list-style: none;
padding: 0;
}

.footer-list li {
margin-bottom: 10px;
font-size: 16px;
}

.footer-list a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
.contact-info-container, .contact-form-container {
flex-direction: column;
align-items: center;
}

.contact-info-box, .contact-form, .contact-map {
width: 100%;
}

.footer-section {
flex: 1 1 100%;
}

.sub {
flex-direction: column;
}

.sub input {
margin-bottom: 10px;
}
}


/* Responsive Adjustments */
@media screen and (max-width: 992px) {
.contact-info-box {
Expand Down