-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
134 lines (127 loc) · 2.58 KB
/
Copy pathmain.css
File metadata and controls
134 lines (127 loc) · 2.58 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
background: #f7f8fa;
color: #333;
line-height: 1.6;
}
/* Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
padding: 1rem 2rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.logo { color: #4f46e5; font-weight: bold; font-size: 1.5rem; }
.nav-links { list-style: none; display: flex; gap: 1.2rem; }
.nav-links a { text-decoration: none; color: #333; transition: 0.3s; }
.nav-links a.active, .nav-links a:hover { color: #4f46e5; }
/* Hero Section */
.hero {
position: relative;
background-size: cover;
background-position: center;
height: 75vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.hero .overlay {
background: rgba(0,0,0,0.55);
color: #fff;
padding: 2rem;
border-radius: 10px;
}
.hero h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.1rem; margin-bottom: 1rem; }
.hero button {
background: #fff;
color: #4f46e5;
padding: 0.8rem 1.6rem;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
}
.hero button:hover { background: #f3f4f6; }
/* Features Section */
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
padding: 2rem;
}
.card {
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
text-align: center;
overflow: hidden;
}
.card img {
width: 100%;
height: 160px;
object-fit: cover;
}
.card h3 { margin: 0.8rem 0 0.4rem; color: #4f46e5; }
/* Page Content */
.page-content {
max-width: 900px;
margin: 2rem auto;
background: #fff;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.page-img {
width: 100%;
border-radius: 10px;
margin-bottom: 1.5rem;
}
/* Contact page */
.contact {
position: relative;
background-size: cover;
background-position: center;
color: #fff;
}
.contact .overlay {
background: rgba(0,0,0,0.65);
padding: 2rem;
border-radius: 10px;
}
.contact form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.contact input, .contact textarea {
padding: 0.8rem;
border: none;
border-radius: 5px;
font-size: 1rem;
}
.contact button {
background: #4f46e5;
color: #fff;
border: none;
padding: 0.8rem;
border-radius: 5px;
cursor: pointer;
}
.contact button:hover { background: #4338ca; }
/* Footer */
footer {
text-align: center;
padding: 1.2rem;
background: #fff;
box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
margin-top: 2rem;
}