-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
122 lines (106 loc) · 1.98 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
min-height: 100vh;
overflow-x: hidden;
}
header{
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 30px 100px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
}
.logo{
font-size: 2em;
color: #fff;
user-select: none;
}
.navigation a{
position: relative;
font-size: 1.1em;
color: #fff;
font-weight: 600;
text-decoration: none;
margin-left: 20px;
padding: 6px 15px;
transition: .5s;
}
.navigation a:hover,
.navigation a.active{
color: #333;
}
.navigation a span{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
border-radius: 30px;
z-index: -1;
transform: scale(0);
transition: .5s;
}
.navigation a:hover span,
.navigation a.active span{
transform: scale(1);
opacity: 1;
}
.parallax{
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: url('background.png') no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
}
#text{
position: absolute;
font-size: 5em;
color: #1b283a;
text-shadow: 2px 4px 5px #f9f9f9;
}
.parallax img{
position: absolute;
top: 0;
left: 0;
width: 100%;
pointer-events: none;
}
.parallax img#gate-left{
position: fixed;
transform: translateX(-282px);
}
.parallax img#gate-right{
position: fixed;
transform: translateX(305px);
}
.sec{
position: relative;
background: #020912;
padding: 30px 100px;
}
.sec h2{
font-size: 3em;
color: #fff;
margin-bottom: 10px;
}
.sec p{
font-size: 1em;
color: #fff;
font-weight: 300;
text-align: justify;
}