-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
135 lines (117 loc) · 2.51 KB
/
index.css
File metadata and controls
135 lines (117 loc) · 2.51 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
135
/* Reset and basic styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
background-color: #0d0d0d; /* Dark background */
color: #fff;
/* background-image: url(black\ bg.jpg);
background-repeat: no-repeat;
background-size: cover; */
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
background-color: #0d0d0d; /* Dark background */
color: #fff;
padding: 10px 0;
position: fixed;
width: 100%;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
header h1 {
text-align: center;
font-size: 2rem;
text-transform: uppercase;
letter-spacing: 2px;
}
nav {
text-align: center;
}
nav ul {
list-style-type: none;
}
nav ul li {
display: inline;
margin: 0 15px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-size: 1rem;
padding: 10px 15px;
position: relative;
}
nav ul li a::before {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: 0;
left: 0;
background-color: #fff;
transform: scaleX(0);
transition: transform 0.3s ease;
}
nav ul li a:hover::before {
transform: scaleX(1);
}
section#home {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background-image: url('background.jpg'); /* Replace with your background image */
background-size: cover;
background-position: center;
color: #fff;
padding: 50px 0;
}
.home-content {
max-width: 600px;
margin-right: 50px;
text-shadow: 0 0 6px rgba(255, 255, 255, 0.8); /* Neon effect */
}
.home-content h2 {
font-size: 3.5rem;
margin-bottom: 20px;
}
.home-content p {
font-size: 1.5rem;
margin-bottom: 30px;
}
.home-image img {
max-width: 3%;
border-radius: 10px;
position: absolute;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Box shadow for image */
}
.btn {
display: inline-block;
background-color: #2c7daf; /* Yellow button */
color: #343a40; /* Dark text color */
padding: 15px 30px;
text-decoration: none;
border-radius: 5px;
font-size: 1.2rem;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #7ff4ffc4; /* Lighter yellow on hover */
}
footer {
background-color: #0d0d0d; /* Dark footer background */
color: #fff;
text-align: center;
padding: 10px 0;
margin-top: 50px;
}