-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStyle.css
98 lines (98 loc) · 1.56 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
* {
margin: 0;
padding: 0;
scroll-behavior: smooth;
}
body {
font-family: "Open Sans", sans-serif;
background: linear-gradient(#200016, #10001f);
height: 100vh;
}
a {
text-decoration: none;
color: white;
}
header {
position: absolute;
width: 95%;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
margin: 30px;
}
header .logo {
font-size: 25px;
text-transform: uppercase;
}
header .logo span {
color: #f521eee0;
}
header ul {
display: flex;
justify-content: center;
align-items: center;
list-style: none;
}
header ul li {
margin-right: 30px
}
header ul li a {
padding: 6px 15px;
border-radius: 20px;
transition: 0.5s
}
header ul li a:hover, .active {
background-color: #fff;
color: #200016;
}
.main {
position: relative;
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.main::after {
content: "";
position: absolute;
bottom: 0;
height: 100px;
width: 100%;
background-color: linear-gradient(to top,#200016,transparent);
}
.main img {
position: absolute;
width: 100%;
height: 100vh;
object-fit: cover;
}
#moon {
mix-blend-mode: screen;
transform: translateY(80px);
transition: 0.5s
}
.marei {
position: absolute;
color: #fff;
font-size: 30px;
text-transform: uppercase;
transform: translateY(-140px);
transition: 1s;
}
.marei span {
color: #f521eee0;
}
.content {
color: #fff;
padding: 30px;margin: 20px;
}
.content h2 {
margin: 20px;
font-size: 30px;
}
.content p {
margin: 20px;
}