-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathV.css
127 lines (112 loc) · 2.07 KB
/
V.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background-color: #f0f0f0;
}
header {
background-color: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1em 2em;
}
.logo {
font-size: 1.5em;
font-weight: bold;
color: black;
}
.menu-toggle {
font-size: 1.5em;
background: none;
border: none;
color: green;
cursor: pointer;
display: none;
}
.menu {
display: flex;
align-items: center;
}
.nav-links {
list-style: none;
display: flex;
gap: 1em;
}
.nav-links li a {
text-decoration: none;
color: black;
font-size: 1em;
}
.contact-btn {
display: inline-block;
padding: 0.5em 1.5em;
background-color: green;
color: white;
text-decoration: none;
border-radius: 20px;
margin-top: 1em;
text-align: center;
}
.about-section {
background-color: #ffffff;
padding: 2em;
text-align: center;
margin: 2em auto;
width: 90%;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.about-section h2 {
color: green;
margin-bottom: 1em;
}
.about-section p {
line-height: 1.6;
color: #333;
}
.reach-out-btn {
padding: 0.8em 2em;
background-color: green;
color: white;
border: none;
border-radius: 20px;
cursor: pointer;
font-size: 1em;
margin-top: 1em;
}
.reach-out-btn:hover {
background-color: darkgreen;
}
/* Responsive Design */
@media (max-width: 768px) {
.menu-toggle {
display: block;
}
.menu {
display: none;
flex-direction: column;
background-color: white;
position: absolute;
top: 60px;
right: 20px;
padding: 1em;
width: 200px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.menu.show {
display: flex;
}
.nav-links {
flex-direction: column;
align-items: flex-start;
gap: 0.5em;
}
}