-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylesforhome.css
81 lines (70 loc) · 1.29 KB
/
stylesforhome.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
.hero {
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('backgroundforhome.jpg');
background-size: cover;
background-position: center;
position: relative;
color: #fff;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
nav {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 20px 6%;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 1;
}
nav .logo {
width: 80px;
height: auto;
}
ul {
list-style-type: none;
}
ul li {
display: inline;
margin-right: 20px;
}
a {
text-decoration: none;
color: #fff;
font-weight: bold;
transition: color 0.3s ease;
}
a:hover {
color: #ffd700;
}
.welcome-message {
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}