1 | .sliderContainer {
|
---|
2 | width: auto;
|
---|
3 | margin: 0 auto;
|
---|
4 | margin-top: 10px;
|
---|
5 | }
|
---|
6 |
|
---|
7 | .iconWrapper {
|
---|
8 | width: 100%;
|
---|
9 | height: 120px;
|
---|
10 | display: flex;
|
---|
11 | justify-content: space-evenly;
|
---|
12 | align-items: center;
|
---|
13 | margin-top: 5px;
|
---|
14 | }
|
---|
15 |
|
---|
16 | .iconContainer {
|
---|
17 | width: 200px;
|
---|
18 | height: 100%;
|
---|
19 | text-transform: uppercase;
|
---|
20 | font-weight: bold;
|
---|
21 | color: #808285;
|
---|
22 | display: flex;
|
---|
23 | flex-direction: column;
|
---|
24 | align-items: center;
|
---|
25 | cursor: pointer;
|
---|
26 | }
|
---|
27 |
|
---|
28 | .icon {
|
---|
29 | width: 100px;
|
---|
30 | height: 100px;
|
---|
31 | }
|
---|
32 |
|
---|
33 | .icon-text {
|
---|
34 | margin: 0px;
|
---|
35 | text-align: center;
|
---|
36 | }
|
---|
37 |
|
---|
38 | .activeIcon {
|
---|
39 | filter: invert(42%) sepia(100%) saturate(7464%) hue-rotate(349deg)
|
---|
40 | brightness(86%) contrast(96%);
|
---|
41 | }
|
---|
42 |
|
---|
43 | .activeIconContainer {
|
---|
44 | background-color: #dbd8d8;
|
---|
45 | border-top-left-radius: 10%;
|
---|
46 | border-top-right-radius: 10%;
|
---|
47 | }
|
---|
48 |
|
---|
49 | .descriptionContainer {
|
---|
50 | width: 100%;
|
---|
51 | height: 40px;
|
---|
52 | background-color: #dbd8d8;
|
---|
53 | border-radius: 10px;
|
---|
54 | display: flex;
|
---|
55 | justify-content: center;
|
---|
56 | align-items: center;
|
---|
57 | }
|
---|
58 |
|
---|
59 | .section {
|
---|
60 | display: flex;
|
---|
61 | flex-direction: column;
|
---|
62 | }
|
---|
63 |
|
---|
64 | .grid-container {
|
---|
65 | display: grid;
|
---|
66 | grid-template-columns: auto auto auto;
|
---|
67 | grid-template-rows: 300px 300px 300px 300px;
|
---|
68 | gap: 10px;
|
---|
69 | margin-top: 20px;
|
---|
70 | padding: 10px;
|
---|
71 | }
|
---|
72 |
|
---|
73 | .grid-item {
|
---|
74 | text-align: center;
|
---|
75 | font-size: 30px;
|
---|
76 | border-radius: 20px;
|
---|
77 | box-shadow: 0 3px 5px rgb(0 0 0 / 100%);
|
---|
78 | color: #ffffff;
|
---|
79 | text-shadow: 3px 3px 3px rgb(0 0 0 / 100%);
|
---|
80 | cursor: pointer;
|
---|
81 | }
|
---|
82 |
|
---|
83 | .item1 {
|
---|
84 | background-image: url("../Images/dnevna.jpg");
|
---|
85 | background-size: cover;
|
---|
86 | background-position: center;
|
---|
87 | background-repeat: no-repeat;
|
---|
88 | grid-row: 1 / 3;
|
---|
89 | }
|
---|
90 | .item2 {
|
---|
91 | background-image: url("../Images/hodnik.jpg");
|
---|
92 | background-size: cover;
|
---|
93 | }
|
---|
94 | .item3 {
|
---|
95 | background-image: url("../Images/trpezarija.jpg");
|
---|
96 | background-size: cover;
|
---|
97 | }
|
---|
98 | .item4 {
|
---|
99 | background-image: url("../Images/spalna.jpg");
|
---|
100 | background-size: cover;
|
---|
101 | background-position: center;
|
---|
102 | grid-column: 2 / 4;
|
---|
103 | }
|
---|
104 | .item5 {
|
---|
105 | background-image: url("../Images/kujna.jpg");
|
---|
106 | background-size: cover;
|
---|
107 | }
|
---|
108 | .item6 {
|
---|
109 | background-image: url("../Images/kancelarija.jpg");
|
---|
110 | background-size: cover;
|
---|
111 | }
|
---|
112 | .item7 {
|
---|
113 | background-image: url("../Images/detska.jpg");
|
---|
114 | background-size: cover;
|
---|
115 | grid-column: 3;
|
---|
116 | grid-row: 3 / 5;
|
---|
117 | }
|
---|
118 | .item8 {
|
---|
119 | background-image: url("../Images/gradina.jpg");
|
---|
120 | background-size: cover;
|
---|
121 | grid-column: 1 / 3;
|
---|
122 | }
|
---|
123 |
|
---|
124 | .most-popular-products {
|
---|
125 | display: flex;
|
---|
126 | justify-content: space-around;
|
---|
127 | align-items: center;
|
---|
128 | }
|
---|
129 | .icon-description {
|
---|
130 | margin-top: 2px;
|
---|
131 | }
|
---|
132 |
|
---|
133 | @media only screen and (max-width: 650px) {
|
---|
134 | .grid-container {
|
---|
135 | display: grid;
|
---|
136 | grid-template-columns: repeat(2, minmax(0, 1fr));
|
---|
137 | grid-template-rows: 300px 300px 300px 300px;
|
---|
138 | gap: 10px;
|
---|
139 | margin-top: 20px;
|
---|
140 | padding: 10px;
|
---|
141 | }
|
---|
142 |
|
---|
143 | .grid-container .grid-item {
|
---|
144 | grid-row: auto;
|
---|
145 | grid-column: auto;
|
---|
146 | }
|
---|
147 |
|
---|
148 | .iconWrapper {
|
---|
149 | height: 70px;
|
---|
150 | }
|
---|
151 |
|
---|
152 | .iconContainer {
|
---|
153 | width: 120px;
|
---|
154 | }
|
---|
155 |
|
---|
156 | .icon {
|
---|
157 | width: 50px;
|
---|
158 | height: 50px;
|
---|
159 | }
|
---|
160 |
|
---|
161 | .icon-text {
|
---|
162 | font-size: 10px;
|
---|
163 | }
|
---|
164 | }
|
---|
165 |
|
---|
166 | @media only screen and (max-width: 560px) {
|
---|
167 | .icon-description {
|
---|
168 | font-size: 15px;
|
---|
169 | }
|
---|
170 | }
|
---|
171 |
|
---|
172 | @media only screen and (max-width: 534px) {
|
---|
173 | .descriptionContainer {
|
---|
174 | display: none;
|
---|
175 | }
|
---|
176 | }
|
---|
177 |
|
---|
178 | @media only screen and (max-width: 400px) {
|
---|
179 | .grid-container {
|
---|
180 | display: grid;
|
---|
181 | grid-template-columns: repeat(1, minmax(0, 1fr));
|
---|
182 | grid-template-rows: repeat(8, minmax(0, 200px));
|
---|
183 | gap: 10px;
|
---|
184 | margin-top: 20px;
|
---|
185 | padding: 10px;
|
---|
186 | }
|
---|
187 |
|
---|
188 | .grid-container .grid-item {
|
---|
189 | grid-row: auto;
|
---|
190 | grid-column: auto;
|
---|
191 | }
|
---|
192 | }
|
---|