Skip to content

Commit fffdc21

Browse files
authored
Update styles.css
1 parent 9869449 commit fffdc21

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

styles.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,57 @@ footer {
102102
padding: 1.5rem;
103103
}
104104
}
105+
/* Contact Form Styling */
106+
.form {
107+
max-width: 600px;
108+
margin: 50px auto;
109+
padding: 30px;
110+
background-color: #f9f9f9;
111+
border-radius: 12px;
112+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
113+
font-family: 'Segoe UI', sans-serif;
114+
}
115+
116+
.form h1 {
117+
text-align: center;
118+
margin-bottom: 20px;
119+
color: #333;
120+
}
121+
122+
.form input,
123+
.form textarea {
124+
width: 100%;
125+
padding: 12px 15px;
126+
margin: 10px 0;
127+
border: 1px solid #ccc;
128+
border-radius: 8px;
129+
font-size: 16px;
130+
transition: border-color 0.3s ease;
131+
}
132+
133+
.form input:focus,
134+
.form textarea:focus {
135+
border-color: #0078d7;
136+
outline: none;
137+
}
138+
139+
.form textarea {
140+
resize: vertical;
141+
min-height: 120px;
142+
}
143+
144+
.form button {
145+
width: 100%;
146+
padding: 12px;
147+
background-color: #0078d7;
148+
color: white;
149+
border: none;
150+
border-radius: 8px;
151+
font-size: 18px;
152+
cursor: pointer;
153+
transition: background-color 0.3s ease;
154+
}
155+
156+
.form button:hover {
157+
background-color: #005fa3;
158+
}

0 commit comments

Comments
 (0)