source: Innova/CSS/Home.css@ 8c67304

Last change on this file since 8c67304 was 057badc, checked in by Vlado 222039 <vlado.popovski@…>, 2 months ago

Adding code

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[057badc]1*{
2 margin: 0;
3 padding: 0;
4 box-sizing: border-box;
5 scroll-behavior: smooth;
6 font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
7 list-style: none;
8 text-decoration: none;
9}
10
11section{
12 padding: 5% 10%;
13}
14
15/* Main */
16
17.main-home{
18 width: 100vw;
19 height: 100vh;
20 margin-top: 100px;
21 overflow: hidden;
22 position: relative;
23}
24
25.main-home .list .item{
26 width: 180px;
27 height: 250px;
28 top: 80%;
29 position: absolute;
30 transform: translateY(-70%);
31 left: 70%;
32 border-radius: 20px;
33 box-shadow: 0 25px 50px rgba(0, 0, 0, 0, 0.3);
34 background-position: 50% 50%;
35 background-size: cover;
36 z-index: 100;
37 transition: 1s;
38}
39
40.main-home .list .item:nth-child(1),
41.main-home .list .item:nth-child(2){
42 top: 0;
43 left: 0;
44 transform: translate(0, 0);
45 border-radius: 0;
46 width: 100%;
47 height: 100%;
48}
49
50.main-home .list .item:nth-child(3){
51 left: 67%;
52}
53.main-home .list .item:nth-child(4){
54 left: calc(67% + 200px);
55}
56.main-home .list .item:nth-child(5){
57 left: calc(67% + 400px);
58}
59.main-home .list .item:nth-child(6){
60 left: calc(67% + 600px);
61}
62
63.item .content{
64 position: absolute;
65 top: 50%;
66 left: 100px;
67 transform: translateY(-50%);
68 width: 400px;
69 text-align: left;
70 color: white;
71 display: none;
72}
73
74.list .item:nth-child(2) .content{
75 display: block;
76}
77
78.item h5{
79 font-size: 40px;
80 text-transform: uppercase;
81 color: #14ff72cb;
82 font-weight: bold;
83 line-height: 1;
84 opacity: 0;
85 animation: animate 1s ease-in-out 0.3s 1 forwards;
86}
87.item h1{
88 font-size: 40px;
89 text-transform: uppercase;
90 color: #14ff72cb;
91 line-height: 1;
92 font-weight: bold;
93 text-shadow: 3px 4px 7px rgba(255, 255, 255, 0.0);
94 opacity: 0;
95 animation: animate 1s ease-in-out 0.6s 1 forwards;
96}
97.item p{
98 margin-top: 10px;
99 margin-bottom: 20px;
100 font-size: 18px;
101 margin-left: 5px;
102 opacity: 0;
103 animation: animate 1s ease-in-out 0.9s 1 forwards;
104}
105
106.content .btn{
107 margin-left: 5px;
108}
109
110
111.main-button{
112 display: inline-block;
113 color: #111;
114 font-size: 16px;
115 font-weight: 500;
116 text-transform: capitalize;
117 border: 2px solid #111;
118 padding: 12px 25px;
119 transition: all .42 ease;
120 opacity: 0;
121 animation: animate 1s ease-in-out 1.2s 1 forwards;
122 background-color: rgb(255, 255, 255);
123}
124
125.main-button:hover{
126 background-color: #14ff72cb;
127 color: #fff;
128}
129.main-button i{
130 vertical-align: middle;
131}
132
133.center-text h2{
134 color: #111;
135 font-size: 32px;
136 text-transform: capitalize;
137 text-align: center;
138 margin-bottom: 25px;
139}
140
141.center-text span{
142 color:red
143}
144
145.products{
146 display: grid;
147 grid-template-columns: repeat(auto-fit, minmax(250px, auto));
148 gap: 2rem;
149}
150
151.row{
152 position: relative;
153 transition: all .30s;
154}
155
156.row img{
157 width: 100%;
158 height: auto;
159 transition: all .30s;
160}
161
162.row img:hover{
163 transform: scale(0.7);
164}
165
166.product-text h5{
167 position: absolute;
168 top: 13px;
169 left: 13px;
170 color: aliceblue;
171 font-size: 14px;
172 font-weight: 500;
173 text-transform: uppercase;
174 background-color: greenyellow;
175 padding: 3px 10px;
176 border-radius: 3px;
177}
178
179.price h4{
180 color: #111;
181 font-size: 18px;
182 text-transform: capitalize;
183 font-weight: 400;
184}
185
186.price p{
187 color: #000;
188 font-size: 16px;
189 font-weight: 600;
190
191}
192
193/* footer */
194
195.footer-class{
196 background-color: #f5eaea;
197}
198
199.footer-div{
200 display: grid;
201 grid-template-columns: repeat(auto-fit, minmax(170px, auto));
202 gap: 3rem;
203}
204
205.info-footer-first img{
206 width: 140px;
207 height: auto;
208
209}
210
211.footer-div h4{
212 color: #212529;
213 font-size: 14px;
214 text-transform: uppercase;
215 margin-bottom: 10px;
216 padding: 30px 0px 30px 0px;
217}
218
219.footer-div p{
220 color: #565656;
221 font-size: 14px;
222 font-weight: 400;
223 /*text-transform: capitalize;*/
224 line-height: 1.5;
225 margin-bottom: 10px;
226 cursor: pointer;
227 transition: all .42s;
228}
229
230.footer-div p:hover{
231 color:turquoise;
232}
233
234.end{
235 background-color: #f5eaea;
236 text-align: center;
237 padding: 18px;
238}
239.end p{
240 color: black;
241 text-transform: capitalize;
242}
243
244
245
246@keyframes animate{
247 from{
248 opacity: 0;
249 transform: translate(0, 100px);
250 filter: blur(32px);
251 }
252 to{
253 opacity: 1;
254 transform: translate(0);
255 filter: blur(0);
256 }
257}
258
259.arrow{
260 position: absolute;
261 top: 80%;
262 right: 52%;
263 z-index: 100;
264 width: 300px;
265 max-width: 30%;
266 display: flex;
267 gap: 10px;
268 align-items: center;
269}
270
271.arrow button{
272 width: 50px;
273 height: 50px;
274 border-radius: 50%;
275 background-color: #14ff72cb;
276 color: white;
277 border: none;
278 outline: none;
279 font-size: 16px;
280 font-family: monospace;
281 font-weight: bold;
282 transition: .5s;
283 cursor: pointer;
284
285}
286
287.arrow button:hover{
288 background: white;
289 color: black;
290}
291
292/* time running*/
293.main-home .timeRunning{
294 position: absolute;
295 z-index: 1000;
296 width: 0%;
297 height: 4px;
298 background-color: #14ff72cb;
299 left: 0;
300 top: 0;
301 animation: runningTime 7s linear 1 forwards;
302}
303
304@keyframes runningTime {
305 from{width: 0%;}
306 to{width: 100%;}
307}
308
309@media screen and (max-width: 999px){
310
311 header{
312 padding-left: 50px;
313 }
314 .item .content{
315 left: 50px;
316 }
317
318 .content h5 .content h1{
319 font-size: 70px;
320 }
321
322 .content p{
323 font-size: 16px;
324 }
325
326}
327
328@media screen and (max-width: 69px){
329 header nav a{
330 font-size: 14px;
331 margin-right: 0;
332 }
333
334 .item .content{
335 top: 40%
336 }
337
338 .content h5 .content h1{
339 font-size: 45px;
340 }
341
342 .content .btn button{
343 padding: 10px 15px;
344 font-size: 14px;
345 }
346
347}
348
349.FAQS{
350 font-size: 16px;
351 font-weight: 500;
352 background-color: rgb(253, 247, 247);
353}
354
355.FAQS .FAQS-class{
356 margin-top: 25px;
357}
358
359.footer-div p a{
360 color: #565656;
361 transition: color .42 ease;
362}
363
364.footer-div p a:hover{
365 color: turquoise;
366}
367
368h4 a {
369 text-decoration: none;
370 color: black;
371}
Note: See TracBrowser for help on using the repository browser.