-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaq.css
147 lines (128 loc) · 2.52 KB
/
faq.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #F3F4F6;
}
.navbar {
background-color: #fff;
padding: 0px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: center;
align-items: center;
position: sticky;
max-height: 85px;
top: 0;
z-index: 10;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
display: flex;
align-items: center;
font-size: 50px;
font-weight: bold;
color: #ff969b;
}
.logo-img {
width: 160px;
height: auto;
margin-right: 100px;
margin-top: 15px;
}
.nav-links {
list-style: none;
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin: 0;
padding: 0;
flex: 1; /* Ensures equal space distribution */
}
.nav-links li {
padding: 10px 15px;
}
.nav-links a {
text-decoration: none;
font-size: 16px;
color: #333;
font-weight: 500;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: #f2666d;
}
/* FAQ Section styles */
.faq-section {
padding: 50px 20px;
background-color: #f9f9f9;
}
.faq-container {
max-width: 900px;
margin: 0 auto;
padding: 20px;
}
.faq-container h1 {
font-size: 2rem;
margin-top: 0px;
margin-bottom: 50px;
color: #333;
}
/* FAQ Item styles */
.faq-item {
background-color: #fff;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
}
.faq-question {
background-color: #e67f84;
color: #fff;
padding: 15px;
text-align: left;
width: 100%;
border: none;
cursor: pointer;
font-size: 1.1rem;
font-weight: bold;
}
.faq-answer {
padding: 15px;
display: none;
background-color: #fff;
border-top: 1px solid #ddd;
font-size: 1rem;
color: #555;
}
/* Hover effect for the FAQ question button */
.faq-question:hover {
background-color: #f2666d;
}
/* JavaScript to toggle the FAQ answers */
.faq-item.active .faq-answer {
display: block;
}
.footer {
background-color: #333;
color: white;
padding: 20px 0;
text-align: center;
}
.social-links a {
text-decoration: none;
color: #fff;
margin: 0 10px;
transition: color 0.3s;
}
.social-links a:hover {
color: #F1B39F;
}