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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 383 |
/* Buttons Styling */
|
| 384 |
#submission-buttons button {
|
| 385 |
padding: 12px 25px;
|
|
|
|
| 380 |
border: 2px solid #6a1b9a; /* Purple border */
|
| 381 |
border-radius: 8px;
|
| 382 |
}
|
| 383 |
+
|
| 384 |
+
/* Pre-Tabs Section */
|
| 385 |
+
|
| 386 |
+
.pre-tabs {
|
| 387 |
+
text-align: center;
|
| 388 |
+
padding: 40px 20px;
|
| 389 |
+
background: linear-gradient(135deg, #ffffff, #f9fafb);
|
| 390 |
+
border-top: 5px solid #64b5f6;
|
| 391 |
+
border-bottom: 5px solid #6a1b9a;
|
| 392 |
+
}
|
| 393 |
+
|
| 394 |
+
.pre-tabs h2, .post-tabs h2 {
|
| 395 |
+
font-size: 3em; /* Increase the size for better visibility */
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
.pre-tabs p, .post-tabs p {
|
| 399 |
+
font-size: 2.5em; /* Adjust paragraph text size */
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
.pre-tabs h2 {
|
| 403 |
+
color: #333333;
|
| 404 |
+
margin-bottom: 15px;
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
.pre-tabs p {
|
| 408 |
+
color: #555555;
|
| 409 |
+
line-height: 1.8;
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
/* Tabs Section */
|
| 413 |
+
.tabs {
|
| 414 |
+
margin: 0 auto;
|
| 415 |
+
padding: 20px;
|
| 416 |
+
background: #ffffff;
|
| 417 |
+
border-radius: 12px;
|
| 418 |
+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
| 419 |
+
/* max-width: 1300px; /* change 1 */ */
|
| 420 |
+
}
|
| 421 |
+
|
| 422 |
+
/* Post-Tabs Section */
|
| 423 |
+
.post-tabs {
|
| 424 |
+
text-align: center;
|
| 425 |
+
padding: 40px 20px;
|
| 426 |
+
background: linear-gradient(135deg, #64b5f6, #6a1b9a);
|
| 427 |
+
color: #ffffff;
|
| 428 |
+
border-radius: 12px;
|
| 429 |
+
margin-top: 30px;
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
.post-tabs h2 {
|
| 433 |
+
font-size: 3.4em;
|
| 434 |
+
margin-bottom: 15px;
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
.post-tabs p {
|
| 438 |
+
font-size: 2em;
|
| 439 |
+
line-height: 1.8;
|
| 440 |
+
margin-bottom: 20px;
|
| 441 |
+
}
|
| 442 |
+
|
| 443 |
+
.post-tabs a {
|
| 444 |
+
text-decoration: none;
|
| 445 |
+
font-size: 1.1em;
|
| 446 |
+
padding: 15px 30px;
|
| 447 |
+
border-radius: 30px;
|
| 448 |
+
font-weight: bold;
|
| 449 |
+
background: #ffffff;
|
| 450 |
+
color: #6a1b9a;
|
| 451 |
+
transition: transform 0.3s, background 0.3s;
|
| 452 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
+
.post-tabs a:hover {
|
| 456 |
+
background: #6a1b9a;
|
| 457 |
+
color: #ffffff;
|
| 458 |
+
transform: scale(1.05);
|
| 459 |
+
}
|
| 460 |
+
|
| 461 |
+
/* Footer */
|
| 462 |
+
footer {
|
| 463 |
+
background: linear-gradient(135deg, #6a1b9a, #8e44ad);
|
| 464 |
+
color: #ffffff;
|
| 465 |
+
text-align: center;
|
| 466 |
+
padding: 40px 20px;
|
| 467 |
+
margin-top: 30px;
|
| 468 |
+
border-radius: 12px;
|
| 469 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
| 470 |
+
}
|
| 471 |
+
|
| 472 |
+
footer h2 {
|
| 473 |
+
font-size: 1.5em;
|
| 474 |
+
margin-bottom: 15px;
|
| 475 |
+
}
|
| 476 |
+
|
| 477 |
+
footer p {
|
| 478 |
+
font-size: 0.8em;
|
| 479 |
+
line-height: 1.6;
|
| 480 |
+
margin-bottom: 20px;
|
| 481 |
+
}
|
| 482 |
+
/* Link Styling */
|
| 483 |
+
.social-links {
|
| 484 |
+
display: flex;
|
| 485 |
+
justify-content: center;
|
| 486 |
+
gap: 15px; /* Space between links */
|
| 487 |
+
}
|
| 488 |
+
|
| 489 |
+
.social-link {
|
| 490 |
+
display: inline-block;
|
| 491 |
+
text-decoration: none;
|
| 492 |
+
color: #ffffff;
|
| 493 |
+
background-color: #6a1b9a; /* Purple button background */
|
| 494 |
+
padding: 10px 20px;
|
| 495 |
+
border-radius: 30px;
|
| 496 |
+
font-size: 16px;
|
| 497 |
+
font-weight: bold;
|
| 498 |
+
transition: all 0.3s ease;
|
| 499 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
| 500 |
+
}
|
| 501 |
+
|
| 502 |
+
.social-link:hover {
|
| 503 |
+
background-color: #8c52d3; /* Darker shade on hover */
|
| 504 |
+
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
|
| 505 |
+
transform: translateY(-2px);
|
| 506 |
+
}
|
| 507 |
+
|
| 508 |
+
.social-link:active {
|
| 509 |
+
transform: translateY(1px);
|
| 510 |
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
|
| 511 |
+
}
|
| 512 |
+
|
| 513 |
+
/* Submission Section Styling */
|
| 514 |
+
/* Submission Section Styling */
|
| 515 |
+
.submission-section {
|
| 516 |
+
margin: 40px auto;
|
| 517 |
+
padding: 30px;
|
| 518 |
+
background: linear-gradient(135deg, #ffffff, #f9f9ff);
|
| 519 |
+
border-radius: 12px;
|
| 520 |
+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
| 521 |
+
/*max-width: 800px; change 1*/
|
| 522 |
+
text-align: center;
|
| 523 |
+
|
| 524 |
+
}
|
| 525 |
+
.submission-section h2 {
|
| 526 |
+
font-size: 2.5em;
|
| 527 |
+
color: #6a1b9a;
|
| 528 |
+
margin-bottom: 20px;
|
| 529 |
+
font-weight: bold;
|
| 530 |
+
}
|
| 531 |
+
.submission-section p {
|
| 532 |
+
font-size: 1.2em;
|
| 533 |
+
color: #333;
|
| 534 |
+
margin-bottom: 30px;
|
| 535 |
+
}
|
| 536 |
+
#submission-fields {
|
| 537 |
+
display:flex;
|
| 538 |
+
flex-direction: column;
|
| 539 |
+
gap: 20px;
|
| 540 |
+
align-items: center;
|
| 541 |
+
}
|
| 542 |
+
#submission-fields input[type="file"],
|
| 543 |
+
#submission-fields input[type="text"] {
|
| 544 |
+
width: 90%;
|
| 545 |
+
padding: 12px 15px;
|
| 546 |
+
font-size: 1em;
|
| 547 |
+
border: 2px solid #d3bce8;
|
| 548 |
+
border-color: #5e1287;
|
| 549 |
+
border-radius: 8px;
|
| 550 |
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
|
| 551 |
+
transition: border-color 0.3s ease;
|
| 552 |
+
}
|
| 553 |
+
#submission-results {
|
| 554 |
+
margin-top: 20px;
|
| 555 |
+
text-align: center;
|
| 556 |
+
}
|
| 557 |
+
#submission-buttons {
|
| 558 |
+
display: flex;
|
| 559 |
+
justify-content: center;
|
| 560 |
+
gap: 15px;
|
| 561 |
+
margin-top: 20px;
|
| 562 |
+
}
|
| 563 |
+
#submission-buttons button {
|
| 564 |
+
padding: 10px 20px;
|
| 565 |
+
font-size: 1em;
|
| 566 |
+
color: #ffffff;
|
| 567 |
+
background: #6a1b9a;
|
| 568 |
+
border: none;
|
| 569 |
+
border-radius: 30px;
|
| 570 |
+
cursor: pointer;
|
| 571 |
+
font-weight: bold;
|
| 572 |
+
transition: background 0.3s ease, transform 0.3s ease;
|
| 573 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
| 574 |
+
}
|
| 575 |
+
#submission-buttons button:hover {
|
| 576 |
+
background: #8c52d3;
|
| 577 |
+
transform: scale(1.05);
|
| 578 |
+
}
|
| 579 |
+
#submission-buttons button:active {
|
| 580 |
+
background: #5e1287;
|
| 581 |
+
transform: scale(0.98);
|
| 582 |
+
}
|
| 583 |
+
|
| 584 |
+
|
| 585 |
+
#submission-fields input[type="file"]:hover,
|
| 586 |
+
#submission-fields input[type="text"]:hover {
|
| 587 |
+
border-color: #6a1b9a; /* Darker purple on hover */
|
| 588 |
+
}
|
| 589 |
+
#submission-fields input[type="file"]:focus,
|
| 590 |
+
#submission-fields input[type="text"]:focus {
|
| 591 |
+
border-color: #6a1b9a; /* Darker purple on focus */
|
| 592 |
+
outline: none;
|
| 593 |
+
box-shadow: 0 0 8px rgba(106, 27, 154, 0.5); /* Glow effect */
|
| 594 |
+
}
|
| 595 |
+
/* Evaluation Status Styling */
|
| 596 |
+
#evaluation-status {
|
| 597 |
+
margin-top: 15px;
|
| 598 |
+
padding: 10px 20px;
|
| 599 |
+
font-size: 1em;
|
| 600 |
+
border-radius: 8px;
|
| 601 |
+
border: 2px solid #6a1b9a; /* Matches the hover color */
|
| 602 |
+
background: #f9f7fd; /* Subtle purple background */
|
| 603 |
+
color: #333;
|
| 604 |
+
font-weight: bold;
|
| 605 |
+
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
|
| 606 |
+
}
|
| 607 |
/* Buttons Styling */
|
| 608 |
#submission-buttons button {
|
| 609 |
padding: 12px 25px;
|