|
73 | 73 | font-family: "Titillium Web", sans-serif; |
74 | 74 | line-height: 1.7; |
75 | 75 | background-color: var(--color-quartenary); |
| 76 | + /* max-width: 1500px; */ |
| 77 | + /* margin: 0 auto; */ |
76 | 78 | } |
77 | 79 |
|
78 | 80 | /* header section */ |
@@ -554,27 +556,131 @@ div[class^="villas"] a[class^="villas"]:active::before { |
554 | 556 | background: linear-gradient(var(--color-primary-m-light), var(--color-tertiary-m-dark)), url("img/Villas/villa-6.jpg"); |
555 | 557 | } |
556 | 558 |
|
| 559 | +section#motto { |
| 560 | + background-color: var(--color-primary); |
| 561 | + grid-column: container-start / container-end; |
| 562 | + |
| 563 | + padding: 10vh 3vw; |
| 564 | +} |
| 565 | + |
557 | 566 | section#events-content { |
558 | 567 | background-color: var(--color-tertiary-m-light); |
559 | 568 | grid-column: container-start / col-end 9; |
560 | 569 | } |
561 | 570 |
|
| 571 | +.motto__content { |
| 572 | + width: 80%; |
| 573 | + margin: 0 auto; |
| 574 | + text-align: center; |
| 575 | +} |
| 576 | + |
| 577 | +.motto__content--title { |
| 578 | + font-size: var(--font-size-title); |
| 579 | + padding: 0 2rem 1rem; |
| 580 | + font-weight: 400; |
| 581 | + margin-bottom: 2rem; |
| 582 | + color: white; |
| 583 | + text-transform: uppercase; |
| 584 | + position: relative; |
| 585 | +} |
| 586 | + |
| 587 | +.motto__content--title::after { |
| 588 | + content: ""; |
| 589 | + position: absolute; |
| 590 | + left: 45%; |
| 591 | + bottom: 0; |
| 592 | + width: 10%; |
| 593 | + height: 0.2rem; |
| 594 | + background-color: white; |
| 595 | +} |
| 596 | + |
| 597 | +section#events-content { |
| 598 | + grid-column: container-start / col-end 9; |
| 599 | + |
| 600 | + display: grid; |
| 601 | + grid-template-columns: repeat(2, 1fr); |
| 602 | +} |
| 603 | + |
| 604 | +section#events-content > div { |
| 605 | + padding: var(--padding-section); |
| 606 | + display: grid; |
| 607 | + |
| 608 | + grid-template-areas: |
| 609 | + "title" |
| 610 | + "para"; |
| 611 | + |
| 612 | + row-gap: 4vh; |
| 613 | + align-items: center; |
| 614 | + justify-items: start; |
| 615 | +} |
| 616 | + |
| 617 | +section#events-content > div:first-child { |
| 618 | + background: linear-gradient(var(--color-tertiary-m-light), var(--color-tertiary-m-light)), url("img/Events/beach-party.jpg"); |
| 619 | + border-right: solid 0.2rem var(--color-tertiary); |
| 620 | +} |
| 621 | + |
| 622 | +section#events-content > div:last-child { |
| 623 | + background: linear-gradient(var(--color-tertiary-m-light), var(--color-tertiary-m-light)), url("img/Events/culture-discovery.jpg"); |
| 624 | + border-left: solid 0.2rem var(--color-tertiary); |
| 625 | +} |
| 626 | + |
| 627 | +section#events-content > div:first-child, |
| 628 | +section#events-content > div:last-child { |
| 629 | + background-position: center; |
| 630 | + background-size: cover; |
| 631 | +} |
| 632 | +section#events-content > div h2[class*="title"] { |
| 633 | + grid-area: title; |
| 634 | + font-size: var(--font-size-title); |
| 635 | + font-weight: 400; |
| 636 | + color: white; |
| 637 | +} |
| 638 | + |
| 639 | +section#events-content > div p[class*="para"] { |
| 640 | + grid-area: para; |
| 641 | +} |
| 642 | + |
562 | 643 | section#events-text { |
563 | | - background-color: var(--color-quartenary); |
564 | 644 | grid-column: col-start 10 / center-end; |
| 645 | + background-color: var(--color-tertiary); |
| 646 | + display: grid; |
| 647 | + grid-template-columns: 1fr; |
| 648 | + grid-template-rows: 1fr; |
| 649 | + place-items: center; |
| 650 | +} |
| 651 | + |
| 652 | +.events-text__content { |
| 653 | + transform: rotate(90deg); |
| 654 | +} |
| 655 | + |
| 656 | +.events-text__content--title, |
| 657 | +.gallery-text__content--title { |
| 658 | + color: white; |
| 659 | + font-weight: 500; |
| 660 | + font-size: var(--font-size-title); |
| 661 | + letter-spacing: 0.2rem; |
565 | 662 | } |
566 | 663 |
|
567 | 664 | section#gallery-text { |
568 | | - background-color: var(--color-secondary); |
| 665 | + background-color: var(--color-primary); |
569 | 666 | grid-column: center-start / col-end 1; |
| 667 | + |
| 668 | + display: grid; |
| 669 | + grid-template-columns: 1fr; |
| 670 | + grid-template-rows: 1fr; |
| 671 | + place-items: center; |
| 672 | +} |
| 673 | + |
| 674 | +.gallery-text__content { |
| 675 | + transform: rotate(-90deg); |
570 | 676 | } |
571 | 677 |
|
572 | 678 | section#corousel { |
573 | | - background-color: var(--color-primary); |
| 679 | + background-color: var(--color-secondary); |
574 | 680 | grid-column: col-start 2 / container-end; |
575 | 681 | } |
576 | 682 |
|
577 | | -section#features-text { |
| 683 | +section#features-content { |
578 | 684 | background-color: var(--color-tertiary); |
579 | 685 | grid-column: center-start / col-end 9; |
580 | 686 | } |
@@ -662,9 +768,35 @@ footer#footer { |
662 | 768 | } |
663 | 769 |
|
664 | 770 | div[class^="villas"] p[class^="villas"], |
| 771 | + section#events-content > div p[class*="para"], |
| 772 | + section#features-content > div p[class*="para"], |
| 773 | + .motto__content--para, |
665 | 774 | .booking-content__para { |
666 | 775 | font-size: 1.5rem; |
667 | 776 | } |
| 777 | + |
| 778 | + section#events-content > div:first-child, |
| 779 | + section#events-content > div:last-child, |
| 780 | + section#features-content > div:first-child, |
| 781 | + section#features-content > div:last-child{ |
| 782 | + border: none; |
| 783 | + } |
| 784 | + |
| 785 | + section#gallery-text, |
| 786 | + section#events-text, |
| 787 | + section#features-text { |
| 788 | + display: none; |
| 789 | + } |
| 790 | + |
| 791 | + section#events-content { |
| 792 | + grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); |
| 793 | + } |
| 794 | + |
| 795 | + section#events-content, |
| 796 | + section#corousel, |
| 797 | + section#features-content { |
| 798 | + grid-column: center-start / center-end; |
| 799 | + } |
668 | 800 | } |
669 | 801 |
|
670 | 802 | /************************** 400 px screen and below ***************************/ |
|
0 commit comments