-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
146 lines (124 loc) · 2.4 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
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
font-family: 'Roboto';
}
body {
color: #fff;
}
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 30px 8%;
background: transparent;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
}
.logo {
position: relative;
font-size: 25px;
color: #fff;
font-weight: 600;
}
.navbar {
position: relative;
}
.navbar a {
font-size: 18px;
color: #fff;
font-weight: 500;
margin: 0 20px;
transition: .3s;
}
.navbar a:hover,
.navbar a.active {
color: #9faaad;
}
.home {
width: 100%;
height: 100vh;
background: url('Cam.jpg') no-repeat;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
padding: 50px 8% 0;
}
.home-content {
max-width: 630px;
}
.home-content h1 {
position: relative;
font-size: 45px;
line-height: 1.2;
}
.home-content h1:nth-child(3) {
background: linear-gradient(#becdd1, #4e5557);
-webkit-background-clip: text;
color: transparent;
}
.home-content p {
position: relative;
font-size: 16px;
margin: 25px 0 30px;
}
.home-content .btn-box {
position: relative;
display: flex;
justify-content: space-between;
width: 345px;
}
.btn {
padding: 10px 28px;
background: #b2bdc0;
border: 2px solid #b2bdc0;
border-radius: 6px;
font-size: 16px;
color: #000;
letter-spacing: 1px;
font-weight: 600;
}
.btn-box .btn:nth-child(2) {
background: transparent;
color: #b2bdc0;
}
.btn-box .btn:nth-child(2):hover {
background: #b2bdc0;
color: #000;
}
.btn.sign-up {
position: relative;
border: none;
}
.animate {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background: #000;
animation: show-right 1s ease-out forwards;
animation-delay: calc(.2s * var(--i));
}
.animate.bg {
animation: fade-in 1s ease-out forwards;
animation-delay: 2s;
}
/*KEYFRAME ANIMATIONS */
@keyframes show-right {
100% {
width: 0;
}
}
@keyframes fade-in {
100% {
opacity: 0;
}
}