| Davit Tabidze | 71eecce | 2024-06-25 15:00:55 +0400 | [diff] [blame] | 1 | :root { |
| 2 | --bg: #d6d6d6; |
| 3 | --formBg: #3a3a3a; |
| 4 | --text: #3a3a3a; |
| 5 | --formText: #d6d6d6; |
| 6 | --button: #7f9f7f; |
| 7 | --logo: #d4888d; |
| 8 | --fontSize: 14px; |
| 9 | } |
| 10 | |
| 11 | body { |
| 12 | background: var(--bg); |
| 13 | color: var(--text); |
| 14 | margin: 0; |
| 15 | display: flex; |
| 16 | min-height: 100vh; |
| 17 | font-family: Hack, monospace; |
| 18 | font-size: var(--fontSize); |
| 19 | } |
| 20 | |
| gio | 9633583 | 2024-07-12 20:07:42 +0400 | [diff] [blame^] | 21 | input, textarea, select { |
| 22 | font-family: Hack, monospace; |
| 23 | font-size: var(--fontSize); |
| 24 | } |
| 25 | |
| Davit Tabidze | 71eecce | 2024-06-25 15:00:55 +0400 | [diff] [blame] | 26 | a { |
| 27 | color: inherit; |
| 28 | text-decoration: none; |
| 29 | } |
| 30 | |
| 31 | .container { |
| 32 | display: flex; |
| 33 | flex-direction: column; |
| 34 | flex: 1; |
| 35 | position: relative; |
| 36 | width: 100%; |
| 37 | } |
| 38 | |
| 39 | .navbar { |
| 40 | display: flex; |
| 41 | align-items: center; |
| 42 | justify-content: space-between; |
| 43 | position: sticky; |
| 44 | top: 0; |
| 45 | background-color: var(--bg); |
| 46 | border-bottom: 1px dashed var(--formBg); |
| 47 | padding: 0 20px; |
| 48 | z-index: 100; |
| 49 | } |
| 50 | |
| 51 | .logo { |
| 52 | font-weight: bold; |
| 53 | font-size: 1.6rem; |
| 54 | align-content: center; |
| 55 | height: 100%; |
| 56 | background-color: var(--formBg); |
| 57 | } |
| 58 | |
| 59 | .logo a { |
| 60 | padding-left: 15px; |
| 61 | padding-right: 15px; |
| 62 | } |
| 63 | |
| 64 | .links { |
| 65 | display: flex; |
| 66 | align-items: center; |
| 67 | height: 100%; |
| 68 | } |
| 69 | |
| 70 | .links a { |
| 71 | border-right: 1px dashed var(--formBg); |
| 72 | padding: 0 20px; |
| 73 | height: 100%; |
| 74 | align-content: center; |
| 75 | } |
| 76 | |
| 77 | .links a:hover { |
| 78 | transform: scaleX(1); |
| 79 | text-decoration-line: underline; |
| 80 | text-decoration-color: var(--logo); |
| 81 | } |
| 82 | |
| 83 | .logo-part1 { |
| 84 | color: var(--bg); |
| 85 | } |
| 86 | |
| 87 | .logo-part2 { |
| 88 | color: var(--logo); |
| 89 | } |
| 90 | |
| 91 | /* FACTS Grid Container */ |
| 92 | |
| 93 | .facts-content { |
| 94 | display: flex; |
| 95 | flex-grow: 1; |
| 96 | } |
| 97 | |
| 98 | .grid-container { |
| 99 | display: grid; |
| 100 | grid-template-columns: repeat(4, 1fr); |
| 101 | grid-template-rows: repeat(4, 1fr); |
| 102 | grid-template-areas: |
| 103 | "fact-1 large-box large-box large-box" |
| 104 | "fact-2 large-box large-box large-box" |
| 105 | "fact-3 large-box large-box large-box" |
| 106 | "fact-4 fact-5 fact-6 fact-7"; |
| 107 | padding: 0 20px; |
| 108 | } |
| 109 | |
| 110 | .facts { |
| 111 | border: 1px dashed var(--formBg); |
| 112 | display: flex; |
| 113 | justify-content: center; |
| 114 | border-top: none !important; |
| 115 | flex-direction: column; |
| 116 | transition: background-color 0.5s ease, color 0.5s ease; |
| 117 | } |
| 118 | |
| 119 | .fact-image-box { |
| 120 | grid-area: large-box; |
| 121 | display: flex; |
| 122 | justify-content: center; |
| 123 | align-items: center; |
| 124 | border-right: 1px dashed var(--formBg); |
| 125 | border-bottom: 1px dashed var(--formBg); |
| 126 | padding: 5px; |
| 127 | } |
| 128 | |
| 129 | .fact-image { |
| 130 | max-width: 80%; |
| 131 | max-height: 80%; |
| 132 | object-fit: cover; |
| 133 | transition: opacity 0.3s ease-in-out; |
| 134 | opacity: 1; |
| 135 | } |
| 136 | |
| 137 | .fade-out { |
| 138 | opacity: 0; |
| 139 | } |
| 140 | |
| 141 | .fact-1 { |
| 142 | grid-area: fact-1; |
| 143 | } |
| 144 | .fact-2 { |
| 145 | grid-area: fact-2; |
| 146 | } |
| 147 | .fact-3 { |
| 148 | grid-area: fact-3; |
| 149 | } |
| 150 | .fact-4 { |
| 151 | grid-area: fact-4; |
| 152 | } |
| 153 | .fact-5 { |
| 154 | grid-area: fact-5; |
| 155 | border-left: none !important; |
| 156 | } |
| 157 | .fact-6 { |
| 158 | grid-area: fact-6; |
| 159 | border-left: none !important; |
| 160 | } |
| 161 | .fact-7 { |
| 162 | grid-area: fact-7; |
| 163 | border-left: none !important; |
| 164 | } |
| 165 | |
| 166 | .no-bottom-border { |
| 167 | border-bottom: none !important; |
| 168 | } |
| 169 | |
| 170 | .fact-title { |
| 171 | display: block; |
| 172 | margin: 4px; |
| 173 | font-weight: bold; |
| 174 | padding-left: 1rem; |
| 175 | } |
| 176 | |
| 177 | .facts p { |
| 178 | margin: 4px; |
| 179 | padding-left: 1rem; |
| 180 | } |
| 181 | |
| 182 | .active-fact { |
| 183 | background-color: var(--button); |
| 184 | cursor: pointer; |
| 185 | } |
| 186 | |
| 187 | /* Responsive adjustments */ |
| 188 | @media (max-width: 768px) { |
| 189 | .grid-container { |
| 190 | grid-template-columns: 1fr; |
| 191 | grid-template-rows: auto; |
| 192 | grid-template-areas: |
| 193 | "large-box" |
| 194 | "fact-1" |
| 195 | "fact-2" |
| 196 | "fact-3" |
| 197 | "fact-4" |
| 198 | "fact-5" |
| 199 | "fact-6" |
| 200 | "fact-7"; |
| 201 | } |
| 202 | |
| 203 | .fact-image-box { |
| 204 | position: sticky; |
| 205 | top: 30px; |
| 206 | z-index: 10; |
| 207 | background: var(--bg); |
| 208 | border-left: 1px dashed var(--formBg) !important; |
| 209 | } |
| 210 | |
| 211 | .fact-5 { |
| 212 | grid-area: fact-5; |
| 213 | border-left: 1px dashed var(--formBg) !important; |
| 214 | } |
| 215 | .fact-6 { |
| 216 | grid-area: fact-6; |
| 217 | border-left: 1px dashed var(--formBg) !important; |
| 218 | } |
| 219 | .fact-7 { |
| 220 | grid-area: fact-7; |
| 221 | border-left: 1px dashed var(--formBg) !important; |
| 222 | } |
| 223 | |
| 224 | .fact-title { |
| 225 | margin: 4px; |
| 226 | padding-top: 8px; |
| 227 | padding-bottom: 8px; |
| 228 | padding-left: 0.5rem; |
| 229 | } |
| 230 | .facts p { |
| 231 | margin: 4px; |
| 232 | padding-bottom: 8px; |
| 233 | padding-left: 0.5rem; |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | @media (max-width: 1200px) { |
| 238 | .fact-image { |
| 239 | max-width: 85%; |
| 240 | max-height: 85%; |
| 241 | } |
| 242 | |
| 243 | .fact-image { |
| 244 | max-width: 80%; |
| 245 | max-height: 80%; |
| 246 | object-fit: cover; |
| 247 | transition: opacity 0.3s ease-in-out; |
| 248 | opacity: 1; |
| 249 | } |
| 250 | |
| 251 | .fade-out { |
| 252 | opacity: 0; |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | @media (max-width: 992px) { |
| 257 | .fact-image { |
| 258 | max-width: 90%; |
| 259 | max-height: 90%; |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | @media (max-width: 768px) { |
| 264 | .fact-image { |
| 265 | max-width: 100%; |
| 266 | max-height: 100%; |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | /* FOOTER FORM START */ |
| 271 | |
| 272 | .form-page { |
| 273 | display: flex; |
| 274 | justify-content: center; |
| 275 | align-items: center; |
| 276 | flex: 1; |
| 277 | } |
| 278 | |
| 279 | .form-container { |
| 280 | max-width: 800px; |
| 281 | width: 100%; |
| 282 | padding: 20px; |
| 283 | background-color: var(--formBg); |
| 284 | color: var(--formText); |
| 285 | margin-left: 20px; |
| 286 | margin-right: 20px; |
| 287 | } |
| 288 | |
| 289 | .footer-form { |
| 290 | background-color: var(--formBg); |
| 291 | padding: 20px; |
| 292 | display: flex; |
| 293 | justify-content: center; |
| 294 | } |
| 295 | |
| 296 | .form-container-footer { |
| 297 | width: 100%; |
| 298 | max-width: 800px; |
| 299 | background-color: var(--formBg); |
| 300 | color: var(--formText); |
| 301 | } |
| 302 | |
| 303 | .form-container-footer h2 { |
| 304 | margin-bottom: 20px; |
| 305 | font-size: 24px; |
| 306 | color: var(--formText); |
| 307 | } |
| 308 | |
| 309 | .form-group-footer { |
| 310 | display: flex; |
| 311 | justify-content: space-between; |
| 312 | align-items: center; |
| 313 | flex-direction: column; |
| 314 | } |
| 315 | |
| 316 | .form-group-footer label { |
| 317 | display: block; |
| 318 | margin-bottom: 5px; |
| gio | 9633583 | 2024-07-12 20:07:42 +0400 | [diff] [blame^] | 319 | padding-bottom: 10px; |
| Davit Tabidze | 71eecce | 2024-06-25 15:00:55 +0400 | [diff] [blame] | 320 | color: var(--formText); |
| 321 | margin-right: auto; |
| gio | 9633583 | 2024-07-12 20:07:42 +0400 | [diff] [blame^] | 322 | width: 100%; |
| Davit Tabidze | 71eecce | 2024-06-25 15:00:55 +0400 | [diff] [blame] | 323 | } |
| 324 | |
| 325 | .form-group-footer input, |
| 326 | .form-group-footer textarea { |
| 327 | width: 100%; |
| 328 | padding: 10px; |
| gio | 9633583 | 2024-07-12 20:07:42 +0400 | [diff] [blame^] | 329 | margin-top: 5px; |
| Davit Tabidze | 71eecce | 2024-06-25 15:00:55 +0400 | [diff] [blame] | 330 | border: 1px solid var(--formText); |
| 331 | box-sizing: border-box; |
| 332 | color: var(--formText); |
| 333 | background-color: var(--formBg); |
| 334 | resize: vertical; |
| 335 | } |
| 336 | |
| gio | 9633583 | 2024-07-12 20:07:42 +0400 | [diff] [blame^] | 337 | .form-group-footer input:focus, |
| Davit Tabidze | 71eecce | 2024-06-25 15:00:55 +0400 | [diff] [blame] | 338 | .form-group-footer textarea:focus { |
| 339 | outline: none !important; |
| 340 | border: 1px solid var(--button); |
| 341 | } |
| 342 | |
| 343 | .form-group-footer button { |
| 344 | width: auto; |
| 345 | padding: 10px 20px; |
| 346 | border: none; |
| 347 | background-color: var(--button); |
| 348 | color: var(--text); |
| 349 | font-size: 16px; |
| 350 | cursor: pointer; |
| 351 | margin-left: auto; |
| 352 | } |
| 353 | |
| 354 | .form-group-footer button:hover { |
| 355 | background-color: #d4888d; |
| 356 | } |
| 357 | |
| 358 | /* FOOTER FORM END */ |
| 359 | |
| 360 | /* APPS START */ |
| 361 | .apps-grid { |
| 362 | display: grid; |
| 363 | grid-template-columns: repeat(3, 1fr); |
| 364 | border: 1px dashed var(--formBg); |
| 365 | border-top: none !important; |
| 366 | margin-left: 20px; |
| 367 | margin-right: 20px; |
| 368 | overflow-y: auto; |
| 369 | overflow-x: hidden; |
| 370 | padding-top: 20px; |
| 371 | gap: 20px; |
| 372 | } |
| 373 | |
| 374 | @media (max-width: 1200px) { |
| 375 | .apps-grid { |
| 376 | grid-template-columns: repeat(2, 1fr); |
| 377 | } |
| 378 | } |
| 379 | |
| 380 | @media (max-width: 768px) { |
| 381 | .apps-grid { |
| 382 | grid-template-columns: repeat(1, 1fr); |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | .app-card { |
| 387 | background-color: var(--formBg); |
| 388 | color: var(--formText); |
| 389 | padding: 20px; |
| 390 | box-shadow: 0 2px 4px var(--formBg); |
| 391 | display: flex; |
| 392 | flex-direction: column; |
| 393 | justify-content: space-between; |
| 394 | height: 100%; |
| 395 | box-sizing: border-box; |
| 396 | position: relative; |
| 397 | } |
| 398 | |
| 399 | .app-header { |
| 400 | display: flex; |
| 401 | justify-content: space-between; |
| 402 | align-items: center; |
| 403 | margin-bottom: 10px; |
| 404 | } |
| 405 | |
| 406 | .app-header h2 { |
| 407 | margin: 0; |
| 408 | font-size: 1.5em; |
| 409 | } |
| 410 | |
| 411 | .app-icon { |
| 412 | width: 45px; |
| 413 | height: 45px; |
| 414 | display: flex; |
| 415 | align-items: center; |
| 416 | color: var(--logo); |
| 417 | } |
| 418 | |
| 419 | .app-card p { |
| 420 | margin: 10px 0; |
| 421 | flex-grow: 1; |
| 422 | } |
| 423 | |
| 424 | .app-card a { |
| 425 | display: inline-block; |
| 426 | color: var(--button); |
| 427 | text-decoration: underline; |
| 428 | margin-top: auto; |
| 429 | } |
| 430 | |
| 431 | /* SINGLE APP START */ |
| 432 | .app-detail { |
| 433 | padding: 20px; |
| 434 | } |
| 435 | |
| 436 | .app-detail h1 { |
| 437 | margin-top: 0; |
| 438 | } |
| 439 | |
| 440 | .app-card-link { |
| 441 | position: absolute; |
| 442 | top: 0; |
| 443 | left: 0; |
| 444 | width: 100%; |
| 445 | height: 100%; |
| 446 | z-index: 1; |
| 447 | } |
| 448 | |
| 449 | /* SINGLE APP END */ |
| 450 | |
| 451 | /* APPS END */ |
| 452 | |
| 453 | /* ABOUT START */ |
| 454 | |
| 455 | .about { |
| 456 | padding: 0 20px; |
| 457 | } |
| 458 | |
| 459 | /* ABOUT END */ |