-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
185 lines (173 loc) · 2.95 KB
/
style.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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/* Generelle stiler */
body {
font-family: 'Poppins', sans-serif;
background: #f0f0f0;
color: #333;
margin: 0;
padding: 0;
overflow-x: hidden;
}
/* Navigasjonsmeny */
header {
background: rgba(0, 0, 0, 0.7);
padding: 20px 0;
position: fixed;
width: 100%;
z-index: 1000;
top: 0;
}
nav {
display: flex;
justify-content: center;
}
nav a {
color: #fff;
margin: 0 15px;
text-decoration: none;
font-weight: 700;
font-size: 1.2em;
transition: color 0.3s;
}
nav a:hover {
color: #ffd700;
}
/* Hero-seksjon */
.hero {
position: relative;
height: 100vh;
background: url('hero-image.jpg') no-repeat center center/cover;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #fff;
padding: 0 20px;
}
.hero::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}
.hero-content {
position: relative;
z-index: 1;
}
.hero h1 {
font-size: 4em;
margin-bottom: 20px;
}
.hero p {
font-size: 1.5em;
margin-bottom: 40px;
}
.btn {
background: #ffd700;
color: #000;
padding: 15px 30px;
border: none;
border-radius: 30px;
font-size: 1.2em;
cursor: pointer;
transition: background 0.3s;
}
.btn:hover {
background: #ffa500;
}
/* Event-seksjon */
.events {
padding: 100px 20px;
background: #fff;
color: #333;
}
.events h2 {
text-align: center;
font-size: 3em;
margin-bottom: 50px;
}
.event-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.event-info {
background: #f9f9f9;
padding: 30px;
margin: 15px;
border-radius: 10px;
width: 300px;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.event-info:hover {
transform: translateY(-10px);
}
.event-info h3 {
font-size: 2em;
margin-bottom: 10px;
}
.event-info p {
font-size: 1em;
}
/* Footer */
footer {
background: #333;
color: #fff;
padding: 30px 0;
text-align: center;
}
footer a {
color: #ffd700;
text-decoration: none;
}
/* Plan-seksjon */
.plan {
padding: 80px 20px;
background: #f9f9f9;
color: #333;
text-align: center;
}
.plan h2 {
font-size: 2.5em;
margin-bottom: 40px;
}
.plan ul {
list-style-type: none;
padding: 0;
}
.plan li {
font-size: 1.5em;
margin: 15px 0;
}
/* Bilde-seksjon */
.image-section {
padding: 50px 20px;
text-align: center;
background: #fff;
}
.image-section h2 {
font-size: 2em;
margin-bottom: 20px;
color: #333;
}
.image-section img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* Responsiv design */
@media(max-width: 768px) {
.hero h1 {
font-size: 3em;
}
.events h2 {
font-size: 2.5em;
}
.event-info {
width: 80%;
}
}