|
1 | 1 | .report {
|
2 |
| - margin: var(--ktl-box-page-l) 0; |
3 |
| - padding: var(--ktl-box-section-l) 0; |
4 |
| - background: var(--ktl-light-grey); |
5 |
| - border-top: 1px solid var(--rs-color-black-t20); |
6 |
| - border-bottom: 1px solid var(--rs-color-black-t20); |
7 |
| - |
8 |
| - @media (--ktl-tl) { |
9 |
| - margin: var(--ktl-box-page-m) 0; |
10 |
| - } |
11 |
| - |
12 |
| - @media (--ktl-mm) { |
13 |
| - margin: var(--ktl-box-section-l) 0; |
14 |
| - } |
| 2 | + margin: var(--ktl-box-page-l) 0; |
| 3 | + padding: var(--ktl-box-section-l) 0; |
| 4 | + background: var(--ktl-light-grey); |
| 5 | + border-top: 1px solid var(--rs-color-black-t20); |
| 6 | + border-bottom: 1px solid var(--rs-color-black-t20); |
| 7 | + |
| 8 | + @media (--ktl-tl) { |
| 9 | + margin: var(--ktl-box-page-m) 0; |
| 10 | + } |
| 11 | + |
| 12 | + @media (--ktl-mm) { |
| 13 | + margin: var(--ktl-box-section-l) 0; |
| 14 | + } |
15 | 15 | }
|
16 | 16 |
|
17 | 17 | .slides {
|
18 |
| - display: flex; |
19 |
| - align-items: center; |
20 |
| - justify-content: center; |
| 18 | + display: flex; |
| 19 | + align-items: center; |
| 20 | + justify-content: center; |
21 | 21 |
|
22 |
| - @media (--ktl-tl) { |
23 |
| - flex-direction: column; |
24 |
| - } |
| 22 | + @media (--ktl-tl) { |
| 23 | + flex-direction: column; |
| 24 | + } |
25 | 25 | }
|
26 | 26 |
|
27 | 27 | .imageContainer {
|
28 |
| - position: relative; |
29 |
| - display: flex; |
30 |
| - flex-direction: column; |
31 |
| - align-items: center; |
32 |
| - width: 416px; |
33 |
| - height: 276px; |
34 |
| - |
35 |
| - @media (--ktl-tl) { |
36 |
| - margin: var(--ktl-box-section-s) 0 var(--ktl-box-section-s) -50px; |
37 |
| - order: 2; |
38 |
| - } |
39 |
| - |
40 |
| - @media (--ktl-mm) { |
41 |
| - margin: var(--ktl-box-section-s) 0; |
42 |
| - width: 288px; |
43 |
| - height: 176px; |
44 |
| - } |
| 28 | + position: relative; |
| 29 | + display: flex; |
| 30 | + flex-direction: column; |
| 31 | + align-items: center; |
| 32 | + width: 416px; |
| 33 | + height: 276px; |
| 34 | + |
| 35 | + @media (--ktl-tl) { |
| 36 | + margin: var(--ktl-box-section-s) 0 var(--ktl-box-section-s) -50px; |
| 37 | + order: 2; |
| 38 | + } |
| 39 | + |
| 40 | + @media (--ktl-mm) { |
| 41 | + margin: var(--ktl-box-section-s) 0; |
| 42 | + width: 288px; |
| 43 | + height: 176px; |
| 44 | + } |
45 | 45 | }
|
46 | 46 |
|
47 | 47 | .imageContainer:before {
|
48 |
| - content: ' '; |
49 |
| - position: absolute; |
| 48 | + content: ' '; |
| 49 | + position: absolute; |
| 50 | + top: -49px; |
| 51 | + left: 45px; |
| 52 | + width: 374px; |
| 53 | + height: 374px; |
| 54 | + border-radius: 50%; |
| 55 | + opacity: 0.5; |
| 56 | + background: radial-gradient(50% 50% at 50% 50%, rgba(51, 0, 255, 0.5) 0%, rgba(232, 232, 232, 0.00) 100%); |
| 57 | + |
| 58 | + @media (--ktl-mm) { |
50 | 59 | top: -49px;
|
51 |
| - left: 45px; |
52 |
| - width: 374px; |
53 |
| - height: 374px; |
54 |
| - border-radius: 50%; |
55 |
| - opacity: 0.5; |
56 |
| - background: radial-gradient(50% 50% at 50% 50%, rgba(51, 0, 255, 0.5) 0%, rgba(232, 232, 232, 0.00) 100%); |
57 |
| - |
58 |
| - @media (--ktl-mm) { |
59 |
| - top: -49px; |
60 |
| - left: 0; |
61 |
| - width: 300px; |
62 |
| - height: 280px; |
63 |
| - } |
| 60 | + left: 0; |
| 61 | + width: 300px; |
| 62 | + height: 280px; |
| 63 | + } |
64 | 64 | }
|
65 | 65 |
|
66 | 66 | .image {
|
67 |
| - position: absolute; |
68 |
| - transform: perspective(1500px) rotateY(15deg); |
69 |
| - box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px; |
70 |
| - transition: transform 1s ease 0s; |
71 |
| - will-change: transform; |
72 |
| - |
73 |
| - @media (--ktl-mm) { |
74 |
| - width: 256px; |
75 |
| - height: 144px; |
76 |
| - } |
| 67 | + position: absolute; |
| 68 | + transform: perspective(3000px) rotateY(0deg); |
| 69 | + box-shadow: rgba(0, 0, 0, 0) 0 25px 50px -12px; |
| 70 | + transition: transform 1s ease 0s, box-shadow 1s ease 0s; |
| 71 | + will-change: transform, box-shadow; |
| 72 | + |
| 73 | + @media (--ktl-mm) { |
| 74 | + width: 256px; |
| 75 | + height: 144px; |
| 76 | + } |
| 77 | +} |
| 78 | + |
| 79 | +.imageContainer:hover .image { |
| 80 | + box-shadow: rgba(0, 0, 0, 0.25) 0 25px 50px -12px; |
77 | 81 | }
|
78 | 82 |
|
79 | 83 | .image:nth-child(1) {
|
80 |
| - top: 24px; |
81 |
| - left: 48px; |
| 84 | + top: 24px; |
| 85 | + left: 48px; |
82 | 86 |
|
83 |
| - @media (--ktl-mm) { |
84 |
| - top: 0; |
85 |
| - left: 0; |
86 |
| - } |
| 87 | + @media (--ktl-mm) { |
| 88 | + top: 0; |
| 89 | + left: 0; |
| 90 | + } |
87 | 91 | }
|
88 | 92 |
|
89 | 93 | .imageContainer:hover .image:nth-child(1) {
|
90 |
| - transform: perspective(3000px) rotateY(0deg) translateX(-18px) translateY(-6px); |
| 94 | + transform: perspective(1500px) rotateY(15deg) translateX(-18px) translateY(-6px); |
91 | 95 | }
|
92 | 96 |
|
93 | 97 | .image:nth-child(2) {
|
94 |
| - top: 48px; |
95 |
| - left: 72px; |
| 98 | + top: 48px; |
| 99 | + left: 72px; |
96 | 100 |
|
97 |
| - @media (--ktl-mm) { |
98 |
| - top: 16px; |
99 |
| - left: 16px; |
100 |
| - } |
| 101 | + @media (--ktl-mm) { |
| 102 | + top: 16px; |
| 103 | + left: 16px; |
| 104 | + } |
101 | 105 | }
|
102 | 106 |
|
103 | 107 | .imageContainer:hover .image:nth-child(2) {
|
104 |
| - transform: perspective(3000px) rotateY(0deg); |
| 108 | + transform: perspective(1500px) rotateY(15deg); |
105 | 109 | }
|
106 | 110 |
|
107 | 111 | .image:nth-child(3) {
|
108 |
| - top: 72px; |
109 |
| - left: 96px; |
| 112 | + top: 72px; |
| 113 | + left: 96px; |
110 | 114 |
|
111 |
| - @media (--ktl-mm) { |
112 |
| - top: 32px; |
113 |
| - left: 32px; |
114 |
| - } |
| 115 | + @media (--ktl-mm) { |
| 116 | + top: 32px; |
| 117 | + left: 32px; |
| 118 | + } |
115 | 119 | }
|
116 | 120 |
|
117 | 121 | .imageContainer:hover .image:nth-child(3) {
|
118 |
| - transform: perspective(3000px) rotateY(0deg) translateX(18px) translateY(6px); |
| 122 | + transform: perspective(1500px) rotateY(15deg) translateX(18px) translateY(6px); |
119 | 123 | }
|
120 | 124 |
|
121 | 125 | .textContainer {
|
122 |
| - display: flex; |
123 |
| - flex-direction: column; |
124 |
| - align-items: center; |
125 |
| - gap: var(--ktl-box-section-m); |
126 |
| - width: 572px; |
127 |
| - padding: var(--ktl-box-block-s) var(--ktl-box-section-s); |
128 |
| - text-align: center; |
129 |
| - |
130 |
| - @media (--ktl-tl) { |
131 |
| - position: relative; |
132 |
| - width: unset; |
133 |
| - padding: 0; |
134 |
| - z-index: 1; |
135 |
| - } |
| 126 | + display: flex; |
| 127 | + flex-direction: column; |
| 128 | + align-items: center; |
| 129 | + gap: var(--ktl-box-section-m); |
| 130 | + width: 572px; |
| 131 | + padding: var(--ktl-box-block-s) var(--ktl-box-section-s); |
| 132 | + text-align: center; |
| 133 | + |
| 134 | + @media (--ktl-tl) { |
| 135 | + position: relative; |
| 136 | + width: unset; |
| 137 | + padding: 0; |
| 138 | + z-index: 1; |
| 139 | + } |
136 | 140 | }
|
137 | 141 |
|
138 | 142 | .button {
|
139 |
| - display: block; |
140 |
| - @media (--ktl-tl) { |
141 |
| - display: none; |
142 |
| - } |
| 143 | + display: block; |
| 144 | + @media (--ktl-tl) { |
| 145 | + display: none; |
| 146 | + } |
143 | 147 | }
|
144 | 148 |
|
145 | 149 | .buttonMobile {
|
146 |
| - display: none; |
147 |
| - @media (--ktl-tl) { |
148 |
| - display: block; |
149 |
| - order: 3; |
150 |
| - } |
| 150 | + display: none; |
| 151 | + @media (--ktl-tl) { |
| 152 | + display: block; |
| 153 | + order: 3; |
| 154 | + } |
151 | 155 | }
|
152 | 156 |
|
0 commit comments