forked from PriyaGhosal/SkillWise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (75 loc) · 1.72 KB
/
style.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
#contact {
padding: 50px 0;
background-color: #008080;
position: relative;
}
#contact .container {
max-width: 800px;
margin: 0 auto;
padding: 0 15px;
}
/* Section Title */
#contact h2 {
font-size: 3.5rem;
text-align: center;
margin-bottom: 80px;
color: #d6eaff;
font-weight: bold;
text-transform: uppercase;
}
/* Contact Form */
#contact-form {
display: flex;
flex-direction: column;
gap: 20px;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
padding: 30px;
width:160%;
}
/* Input Fields */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
width: 100%;
padding: 15px;
font-size: 1rem;
border: 1px solid #ddd;
border-radius: 5px;
transition: border-color 0.3s, box-shadow 0.3s;
}
/* Input Focus Effects */
#contact-form input:focus,
#contact-form textarea:focus {
border-color: #3498db;
box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
outline: none;
}
/* Textarea */
#contact-form textarea {
height: 150px;
resize: none;
}
/* Submit Button */
#contact-form button {
background-color: #3498db;
color: #fff;
width:250px;
padding: 15px;
font-size: 1rem;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
/* Button Hover Effects */
#contact-form button:hover {
background-color: #2980b9;
transform: translateY(-2px);
}
/* Button Focus Effect */
#contact-form button:focus {
outline: none;
box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}