-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (80 loc) · 1.38 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
section{
padding: 100px;
}
section h2{
font-size: 4em;
color: #4b656d;
}
section h2 span{
display: block;
font-size: 0.5em;
color: #ff4983;
}
section p{
font-size: 1.5em;
margin-top: 20px;
}
.preloader{
position: fixed;
top:0;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
background: #070707;
z-index: 10000000;
}
.preloader::before{
content: 'Loading';
position: absolute;
font-size: 12em;
font-weight: 900;
text-transform: uppercase;
color: rgba(255, 255, 255, .03);
}
.preloader.active{
transform: translateY(-100vh);
transition: ease-in-out 2s;
transition-delay: 1s;
}
.counter{
position: relative;
color: #fff;
font-size: 16em;
font-weight: 700;
z-index: 1;
}
.counter::after{
content: '%';
font-size: 0.5em;
}
.hide{
opacity: 0;
transition: 1s;
pointer-events: none;
}
@media (max-width: 500px){
section{
padding: 10px;
}
section h2{
font-size: 2em;
}
section p{
font-size: 1em;
}
.preloader::before{
font-size: 5em;
}
.counter{
font-size: 9em;
}
}