-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
163 lines (139 loc) · 2.66 KB
/
styles.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background: url('../images/backroboimage.webp') no-repeat center center fixed;
background-size: cover;
color: #fff; /* Ensures text is readable against the background */
}
header {
background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
color: #fff;
padding: 1em 0;
text-align: center;
position: sticky;
top: 0;
z-index: 1000;
}
header .logo {
max-height: 50px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 1em;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
}
nav ul li a:hover {
text-decoration: underline;
}
#hero {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 1em;
background: rgba(0, 0, 0, 0.5); /* Dark overlay to improve text readability */
}
#hero h1 {
font-size: 3em;
margin: 0.5em 0;
}
#hero p {
font-size: 1.5em;
margin: 0.5em 0;
}
#hero button {
background: #ff6200;
border: none;
padding: 1em 2em;
color: #fff;
font-size: 1em;
cursor: pointer;
margin-top: 1em;
}
#hero button:hover {
background: #e55b00;
}
section {
padding: 2em 1em;
max-width: 1200px;
margin: 0 auto;
}
section h2 {
font-size: 2.5em;
margin-bottom: 1em;
text-align: center;
}
#projects, #events {
background: rgba(255, 255, 255, 0.9); /* Slightly transparent background for readability */
color: #000;
padding: 2em;
border-radius: 10px;
}
.project, .event {
background: #fff;
border: 1px solid #ddd;
padding: 1em;
margin: 1em 0;
}
.project h3, .event h3 {
font-size: 1.5em;
margin-bottom: 0.5em;
}
#contact form {
display: flex;
flex-direction: column;
max-width: 600px;
margin: 0 auto;
}
#contact label {
margin: 0.5em 0 0.2em;
}
#contact input, #contact textarea {
padding: 0.5em;
border: 1px solid #ddd;
border-radius: 5px;
margin-bottom: 1em;
font-size: 1em;
}
#contact button {
background: #333;
color: #fff;
border: none;
padding: 1em;
font-size: 1em;
cursor: pointer;
align-self: flex-end;
}
#contact button:hover {
background: #555;
}
footer {
background: rgba(0, 0, 0, 0.7);
color: #fff;
text-align: center;
padding: 1em 0;
position: sticky;
bottom: 0;
width: 100%;
}
#about {
padding: 2em;
background-color: rgba(255, 255, 255, 0.9);
color: #000;
text-align: left;
border-radius: 10px;
}