22 --unit: calc(100vh / 90);
24 height: calc(90 * var(--unit));
28 font-size: var(--unit);
31 #picture>*, .smile, .eyes, .center {
38 top: calc(-75 * var(--unit));
39 width: calc(30 * var(--unit));
40 height: calc(30 * var(--unit));
50 top: calc(15 * var(--unit));
52 animation-name: center-appear;
53 animation-duration: 0.4s;
54 animation-fill-mode: both;
60 width: calc(3 * var(--unit));
61 height: calc(3 * var(--unit));
62 background-color: orange;
63 border-radius: calc(1.5 * var(--unit));
65 top: calc(-1.5 * var(--unit));
66 left: calc(-1.5 * var(--unit));
69 @keyframes center-appear {
80 top: calc(14.7 * var(--unit));
81 left: calc(15 * var(--unit));
85 width: calc(var(--subunit) * var(--unit));
86 animation-duration: 10s;
87 animation-timing-function: ease-out;
88 animation-fill-mode: both;
93 top: calc(-3 * var(--subunit) * var(--unit));
94 left: calc(-0.5 * var(--subunit) * var(--unit));
96 transform-origin: 50% 100%;
97 animation-name: petal-rotate;
103 animation-delay: inherit;
104 animation-name: petal-come-close;
107 @keyframes petal-rotate {
109 transform: rotate(0deg);
113 transform: rotate(var(--end-deg));
117 @keyframes petal-come-close {
119 bottom: calc(15 * var(--unit));
128 top: calc(20 * var(--unit));
132 top: calc(5 * var(--unit));
137 width: calc(17 * var(--unit));
138 left: calc(-8.5 * var(--unit));
139 top: calc(-3 * var(--unit));
140 animation-fill-mode: both;
144 animation-name: appear;
145 animation-duration: 0.3s;
150 transform: scaleY(0);
154 transform: scaleY(1);
159 transform-origin: 50% calc(10.5 * var(--unit));
160 animation-name: eyes-blink;
161 animation-duration: 4s;
162 animation-iteration-count: infinite;
165 @keyframes eyes-blink {
167 transform: scaleY(0);
171 transform: scaleY(1);
177 top: calc(15 * var(--unit));
178 background-color: #495;
179 border-left: solid calc(0.5 * var(--unit)) #252;
180 border-right: solid calc(0.5 * var(--unit)) #252;
182 height: calc(75 * var(--unit));
184 transform-origin: 50% calc(0 * var(--unit));
185 animation-name: appear;
186 animation-duration: 0.6s;
187 animation-fill-mode: both;
190 .wesolych, .wszystkich {
194 top: calc(-55 * var(--unit));
196 animation-name: appear;
197 animation-duration: 0.4s;
198 animation-fill-mode: both;
202 top: calc(-35 * var(--unit));
205 .wesolych>*, .wszystkich>* {
207 width: calc(42 * var(--unit));
208 left: calc(-21 * var(--unit));
210 transform-origin: 50% 100%;
211 animation-name: bounce;
212 animation-direction: alternate;
213 animation-iteration-count: infinite;
214 animation-duration: 1.5s;
215 animation-fill-mode: both;
216 animation-timing-function: cubic-bezier(0.01, 0.29, 0, 0.96);
221 transform: scaleY(0.7);
225 transform: scaleY(1.2);
234 <IMPORT center.html/>
235 <IMPORT petals.html/>