-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
199 lines (197 loc) · 3.68 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
margin: 0;
padding: 0;
overflow: hidden;
height: 100vh;
width: 100vw;
}
.bg {
background: url("./images/index/style/bg.svg");
background-size: auto 100%;
overflow: hidden;
display: flex;
background-position: center;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 80%;
animation: drive 50s linear infinite;
}
@keyframes drive {
0% {
background-position-x: 0rem;
}
50% {
background-position-x: 250rem;
}
100% {
background-position-x: 500rem;
}
}
.top {
height: 50vh;
}
.car {
height: 40%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
animation: go 20s linear infinite;
}
.car img {
height: 70%;
}
@keyframes go {
0% {
transform: translateX(50rem);
}
50% {
transform: translateX(0rem);
}
100% {
transform: translateX(-50rem);
}
}
.sun {
display: flex;
align-self: flex-start;
margin-left: 3rem;
}
.sun img {
height: 80%;
}
.text {
position: absolute;
height: 100vh;
z-index: 100;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
align-self: center;
justify-self: center;
color: black;
text-align: center;
}
.text h1,
.text h4,
.text .btn {
margin: 0;
padding: 0;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.text .btn {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
height: 20%;
margin-top: 0.5rem;
margin-bottom: 5rem;
}
.text h1 {
font-family: "Roboto Slab", serif;
font-weight: 400;
font-size: 3.1rem;
}
.text h4 {
font-family: monospace;
font-weight: 100;
font-size: 1rem;
}
.btn button {
border: 0.2rem solid black;
background-color: transparent;
border-radius: 100px;
margin: 1rem;
width: 5rem;
height: 5rem;
transition: 0.3s linear;
background: url("./images/index/style/explore.png");
background-size: 3rem 3rem;
background-repeat: no-repeat;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
}
.btn button h3 {
display: none;
color: black;
font-family: "Major Mono Display", monospace;
font-size: 1.3rem;
text-transform: lowercase;
}
.btn button a {
text-decoration: none;
color: black;
}
.btn button:nth-child(2) {
background: url("./images/index/style/expert.png");
background-size: 3.2rem 3.2rem;
background-repeat: no-repeat;
background-position: center;
}
.btn button:nth-child(3) {
background: url("./images/index/style/customer.svg");
background-size: 3rem 3rem;
background-repeat: no-repeat;
background-position: center;
}
.btn:hover button:not(:hover) {
width: 0;
height: 0;
margin: 1rem;
padding: 0;
background-position: left;
}
.btn button:hover {
cursor: pointer;
width: 100%;
height: 4rem;
margin: 0;
padding: 1rem;
background: none;
}
.btn button:hover h3 {
display: block;
color: black;
font-weight: 900;
}
.btn button:active {
background: salmon;
}
.btn button:active h3 {
color: black;
}
.theme button,
.text h6 {
background: none;
border: none;
font-family: monospace;
font-weight: 100;
font-size: 2rem;
cursor: pointer;
color: rgba(250, 128, 114, 1);
transition: 0.15s linear;
}
.theme button:hover,
.text h6:hover {
opacity: 0.4;
}
#Top {
display: none;
}