-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.css
190 lines (190 loc) · 4.12 KB
/
contact.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/* Contact Header area */
#contactHeader .image-container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 100%;
height: 500px;
background-position: center;
background-size: cover;
background-image: url("images/houseLocks.jpg");
background-attachment: fixed;
}
#contactHeader .overlay {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
text-align: center;
flex-direction: column;
width: 100%;
height: 500px;
background: rgba(0, 0, 0, 0.6); /* Add a background overlay */
}
#contactHeader h1 {
font-size: 30px;
font-weight: 800;
font-family: "Poppins", sans-serif;
color: white;
width: 50%;
margin: 30px;
}
#contactHeader h1::after {
content: "";
margin: 45px auto; /* Centers the pseudo-element */
width: 10%; /* Half the width of the h1 element */
height: 2px; /* The thickness of your bottom border */
background-color: #ffffff; /* The color of your bottom border */
position: absolute;
top: -1; /* Aligns the pseudo-element to the bottom of the h1 */
left: 0;
right: 0;
}
#contactHeader p {
font-size: 18px;
font-weight: 600;
font-family: "Poppins", sans-serif;
color: white;
width: 50%;
}
#contactHeader span {
font-size: 25px;
font-weight: 800;
font-family: "Poppins", sans-serif;
color: #ff6600;
width: 50%;
margin: 15px;
}
/* CONTACT FORM AREA */
#contactForm .contactMessageForm button {
background-color: #ff6600;
border: 1.5px solid #ff6600;
padding: 15px;
margin: 15px;
width: 200px;
color: white;
border-radius: 50px;
font-size: 17px;
transition: all ease-in-out 0.5s;
text-align: center;
}
#contactForm .contactMessageForm button:hover {
color: black;
background-color: white;
}
#contactForm .contactInfo h1 {
color: #333333;
font-size: 30px;
font-weight: 800;
margin: 10px;
}
#contactForm .contactInfo h1::after {
content: "";
display: block;
background-color: #ff6600;
width: 50%; /* Adjust the width of the border */
height: 2px;
margin: 10px 0; /* Adjust margin as needed */
align-self: flex-start; /* Align border to flex start */
}
#contactForm .container {
display: flex;
align-items: center;
justify-content: center;
padding: 50px;
}
#contactForm .container .content {
display: flex;
justify-content: space-between;
align-items: center;
width: 97%;
}
#contactForm .container .content .contactInfo {
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
margin: 30px;
}
#contactForm .contactInfo h3 {
color: #333333;
font-weight: 800;
font-family: 'Mulish', sans-serif;
font-size: 20px;
margin: 10px;
}
#contactForm .contactInfo span {
color: #333333;
font-weight: 400;
font-family: 'Mulish', sans-serif;
font-size: 20px;
margin: 10px;
}
#contactForm .contactInfo .logos {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
}
#contactForm .contactInfo .logos .circle {
display: flex;
align-items: center;
justify-content: center;
margin: 30px 10px;
background: #EFEFEF;
width: 30px;
height: 30px;
border-radius: 20px;
padding: 20px;
color: #ff6600;
font-size: 17px;
}
.contactMessageForm form {
display: flex;
align-items: center;
justify-content: space-evenly;
flex-wrap: wrap;
flex-direction: row ;
}
.contactMessageForm form input {
border: 1px solid black;
width: 45%;
margin: 10px;
}
.contactMessageForm form input::placeholder {
color: #757575;
padding: 7px;
font-size: 18px;
}
.contactMessageForm form #name {
height: 50px;
}
.contactMessageForm form #phone {
height: 50px;
}
.contactMessageForm form #email {
height: 50px;
width: 94%;
}
.contactMessageForm form #message {
height: 100px;
width: 94%;
}
/* RESPONSIVNESS */
@media (max-width: 860px) {
#contactForm .content {
flex-direction: column;
margin: 0;
padding: 0;
}
.contactMessageForm form input {
width: 94%;
}
#contactHeader h1 {
width: 100%;
}
#contactHeader span {
width: 100%;
}
}