-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
153 lines (145 loc) · 2.67 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
*{
margin: 0%;
padding: 0%;
}
.fullscreen{
position: absolute;
height: 100%;
width: 100%;
box-sizing: border-box;
margin: 0;
padding: 0;
}
.animation-window{
overflow: hidden;
}
.lottie-animation{
opacity: 1;
z-index: 4;
}
.background-light{
opacity: 0.1;
z-index: 1;
}
.background-dark{
opacity: 0;
z-index: 2;
}
.foreground{
object-fit: cover;
opacity:1;
z-index: 4;
}
.city-isometric{
z-index: 3;
}
#CITY-ISOMETRIC{
transform: translateY(11%);
opacity: 0;
animation: fade 1s 41s forwards,
fade 1s 47s reverse forwards;
}
@keyframes fade{
from{
opacity: 0;
}
to{
opacity: 1;
}
}
.lottie-player{
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.animation-text{
opacity:0;
top: 5%;
position: absolute;
text-align: center;
width: 100%;
font-family: 'Arial', sans-serif;
font-size: 52px;
z-index: 6;
}
.black-text{
color:black;
padding: 0 50px;
}
.white-text{
color: white;
padding: 0 50px;
}
#Car_1{
transform-origin: center;
}
#Car_2{
transform-origin: center;
}
#Car_3{
opacity: 0;
transform-origin: center;
}
#Car_4{
transform-origin: center;
}
#Car_5{
transform-origin: center;
}
#Lorry_1{
opacity: 0;
transform-origin: center;
}
#Lorry_2{
opacity: 0;
transform-origin: center;
}
.ibeto-logo-animation{
width:50%;
position: absolute;
top:50%;
left:50%;
transform-origin: center;
transform: translate(-50%,-50%);
perspective: 10000px;
opacity: 0;
z-index: 10;
}
#Back_Wing{
transform-origin:40% 71%;
animation: LeftWingAnimate 3s ease-in-out infinite;
}
@keyframes LeftWingAnimate {
0%{ transform: rotate3d(1,0,0,80deg);}
50%{ transform: rotate3d(1,0,0,20deg);}
100%{ transform: rotate3d(1,0,0,80deg);}
}
#Front_Wing{
transform-origin: 40% 71%;
animation: RightWingAnimate 3s ease-in-out infinite;
}
@keyframes RightWingAnimate {
0%{ transform: rotate3d(1,0,0,-60deg);}
50%{ transform: rotate3d(1,0,0,-20deg);}
100%{ transform: rotate3d(1,0,0,-60deg);}
}
@media only screen and (max-width: 800px) {
.animation-text{
font-size: 32px;
}
}
@media only screen and (max-width: 500px) {
.animation-text{
font-size: 24px;
}
}
@media only screen and (max-width: 1400px) {
.lottie-player{
width: 1500px;
}
}
@media only screen and (max-width: 500px) {
.lottie-player{
width: 1200px;
}
}