-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathcontact.css
104 lines (87 loc) · 1.76 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
/* Contact Form */
.contact-form {
background: white;
width: 90%;
max-width: 700px;
padding: 20px;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.contact-form h1 {
text-align: center;
text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
}
.form-group {
width: 100%;
margin-bottom: 15px;
}
.contact-form label {
display: block;
margin-bottom: 5px;
font-weight: 500;
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.contact-form textarea {
height: 20vh;
}
.contact-form input:hover,
.contact-form textarea:hover {
border-color: #e5a186;
}
.contact-form button {
background-color: #e5a186;
color: white;
border: none;
font-size: 20px;
width: 100%;
padding: 10px 20px;
cursor: pointer;
border-radius: 4px;
transition: all 0.3s ease;
}
.contact-form button:hover {
background-color: #f6a07e;
text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
.contact-form {
width: 90%;
margin-top: 20px;
}
.contact-form h1 {
font-size: 24px;
}
.contact-form button {
font-size: 18px;
}
.contact-form textarea {
height: 100px;
}
}
@media (max-width: 480px) {
.contact-form {
width: 100%;
padding: 10px;
}
.contact-form h1 {
font-size: 20px;
}
.contact-form button {
font-size: 16px;
padding: 8px 15px;
}
.contact-form textarea {
height: 80px;
}
}