@font-face {
    font-family: "adobe-clean";
    src: url('css/fonts/AdobeCleanRegular.otf') format("opentype");
}

@media screen and (max-width: 375px) {

    .Club .clubDisplay .clubDisplayBtn {
        padding: 0.5rem !important;
    }

    .Club .clubDisplay .clubDisplayBtn p {
        font-size: 15px !important;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner .associatedPartnersContentText {
        font-size: 15px !important;
    }
}

@media screen and (min-width: 280px) and (max-width: 767px) {
    .Overview {
        scroll-padding-top: 100px;
    }

    .Overview {
        scroll-padding-top: 100px;
    }

    header {
        width: 100%;
        display: flex;
    }


    header nav {
        margin: 0;
        padding: 0.5rem 1.5rem;
        background-color: var(--PrimaryColor);
        width: 100vw;
        border-radius: 0;
        height: unset;
        display: flex;
        justify-content: space-between;
    }

    header nav .menu {
        display: none;
    }

    .header nav .ipadMenu {
        display: none;
    }

    header nav .logo {
        padding: 0;
        margin-top: 0;
        z-index: 102;
    }

    header nav .logo img {
        width: 3rem;
    }

    header nav .mobileMenu {
        display: block;
    }

    header nav .mobileMenu button {
        background-color: transparent;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 102;
    }

    header nav .mobileMenu button:focus-visible {
        outline: none;
    }

    header nav .mobileMenu button .bars div {
        height: 2px;
        width: 25px;
        margin-bottom: 4px;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: block;
        transition: all 0.4s ease;
    }

    header nav .mobileMenu button .bars div:nth-child(3) {
        margin-bottom: 0;
    }

    header nav .mobileMenu .mobileMenuList {
        background-color: var(--PrimaryColor);
        height: max-content;
        width: 100vw;
        position: fixed;
        top: 0;
        right: 0;
        padding: 0 2rem;
        z-index: 101;
        transform: translateX(100%);
        transition: all 0.5s ease;
    }

    header nav .mobileMenu .mobileMenuList ul {
        list-style: none;
        padding: 0;
        margin-top: 5rem;
    }

    header nav .mobileMenu .mobileMenuList ul li {
        margin-bottom: 1rem;
    }

    header nav .mobileMenu .mobileMenuList ul li a {
        text-decoration: none;
        color: white;
        font-family: "adobe-thai", serif;
        font-weight: 400;
        font-size: calc(var(--baseFontSize) + 1px);
    }

    header nav .mobileMenu .mobileMenuList ul li a:hover {
        transform: scale(1.1);
    }

    header.open {
        transform: translateY(0) !important;
    }

    header.open nav .mobileMenu button .bars {
        margin-top: -10px;
    }

    header.open nav .mobileMenu button .bars div:nth-child(2) {
        display: none;
    }

    header.open nav .mobileMenu button .bars div:nth-child(1) {
        transform: rotate(45deg);
        margin: 0;
    }

    header.open nav .mobileMenu button .bars div:nth-child(3) {
        transform: rotate(-45deg);
        margin-top: -2px;
    }

    header.open nav .mobileMenu .mobileMenuList {
        transform: translateX(0);
    }

    .Banner {
        height: 70svh;
    }

    .Banner .myBannerSwiper .swiper-button-prev {
        left: 0.6rem;
    }

    .Banner .myBannerSwiper .swiper-button-next {
        right: 0.6rem;
    }

    .Banner .myBannerSwiper .swiper-wrapper .swiper-slide .bannerText {
        margin-top: 4rem;
        padding: 0 2.9rem;
    }

    .Banner .myBannerSwiper .swiper-wrapper .swiper-slide .bannerText {
        line-height: 2.4rem;
    }

    .Banner .myBannerSwiper .swiper-wrapper .swiper-slide .bannerText h3 {
        line-height: 4rem;
    }

    .Banner .myBannerSwiper .swiper-wrapper .swiper-slide .bannerText h2 {
        font-size: calc(var(--baseFontSize) + 22px);
    }

    #getintouchForm {
        padding: 3rem 1rem;
    }

    #getintouchForm form {
        padding: 1rem;
    }

    .Overview {
        padding: 2rem 1rem 0 1rem;
    }

    .LifeAtSunflower {
        padding: 3rem 1rem 0 1rem;
    }

    .LifeAtSunflower .lifeAtSunflowerImgs .lifeAtSunflowerImgs1,
    .LifeAtSunflower .lifeAtSunflowerImgs .lifeAtSunflowerImgs2 {
        flex-direction: column;
    }

    .LifeAtSunflower .lifeAtSunflowerImgs .lifeAtSunflowerImgs2 {
        height: max-content !important;
    }

    .LifeAtSunflower .lifeAtSunflowerImgs .lifeAtSunflowerImgs1 .lifeAtSunflowerImg,
    .LifeAtSunflower .lifeAtSunflowerImgs .lifeAtSunflowerImgs2 .lifeAtSunflowerImg {
        aspect-ratio: 1.5 / 1;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup {
        padding: 1.4rem 1rem;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup .lifeAtSunflowerTabs {
        overflow-x: scroll;
        justify-content: flex-start;
        margin-top: 1.5rem;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup .lifeAtSunflowerTabs button.lifeAtSunflowerTab {
        width: max-content;
        min-width: fit-content;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup .lifeAtSunflowerImgs .lifeAtSunflowerShowContent div:nth-child(1) {
        height: unset;
        aspect-ratio: 1 / 1;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .lifeAtSunflowerSlider .swiper-button {
        margin: 0;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .swiper-button svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .lifeAtSunflowerSlider {
        width: 100vw;
        height: calc(66vw + 3.7rem);
        aspect-ratio: 1.5 / 1;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .lifeAtSunflowerSlider .lifeAtSunflowerSwiperWrapper {
        align-items: center;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .lifeAtSunflowerSlider .lifeAtSunflowerSwiperWrapper .swiper-slide img {
        height: 66vw;
    }

    .club {
        padding: 0 1rem;
    }

    .clubLogo {
        width: 70%;
    }

    .Club {
        padding: 1.5rem;
        height: 40svh;
    }

    .Club .clubDisplay {
        bottom: 1rem;
    }

    .Club #clubGalleryPopup {
        padding: 1.4rem 1rem;
    }

    .Club #clubGalleryPopup .clubTabs .clubTab {
        width: 100%;
        margin-top: 1.5rem;
    }

    .Club #clubGalleryPopup .clubImgs .clubShowContent div:nth-child(1) {
        height: unset;
        aspect-ratio: 1 / 1;
    }

    .Club #clubGalleryPopup #clubGalleryPopupSlider .clubGallerySlider {
        width: 100vw;
        height: calc(66vw + 3.7rem);
    }

    .Club #clubGalleryPopup #clubGalleryPopupSlider .clubGallerySlider .clubGallerySwiperWrapper {
        align-items: center;
    }

    .Club #clubGalleryPopup #clubGalleryPopupSlider .clubGallerySlider .clubGallerySwiperWrapper .swiper-slide img {
        height: 66vw;
    }

    .Club #clubGalleryPopup #clubGalleryPopupSlider .swiper-button {
        margin: 0;
    }

    .Club #clubGalleryPopup #clubGalleryPopupSlider .swiper-button svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .FloorPlan {
        padding: 2rem 1rem 0 1rem;
        min-height: max-content;
    }

    .FloorPlan .floorPlanTabs {
        margin-bottom: 1rem;
    }

    .FloorPlan .floorPlanTabs button {
        padding: 0.7rem 1.6rem;
    }

    .FloorPlan .floorPlanImgs .floorPlanContent {
        grid-template-columns: 1fr;
    }

    .FloorPlan .floorPlanImgs .floorPlanContent .floorPlanImg {
        width: 100%;
        padding: 0;
        margin: 0 auto 0.6rem;
    }
    
    .FloorPlan .floorPlanImgs .floorPlanContent .floorPlanText {
        width: 100%;
        padding: 0;
    }

    .floorPlanDisclaimer {
        padding: 0rem 1rem 2rem;
    }

    .AssociatedPartners {
        padding: 2rem 1rem 2rem 1rem;
    }

    .AssociatedPartners .associatedPartnersContent div:nth-child(n):hover {
        width: 900%;
        background-color: #F8E3B7;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner {
        overflow: hidden;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner {
        width: 100%;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner .associatedPartnersContentHeading {
        left: -26px;
        top: 35px;
        transform: rotate(90deg);
        width: max-content;
        font-size: calc(var(--baseFontSize));
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner.active .associatedPartnersContentHeading {
        transform: rotate(0deg);
        left: 1rem;
        top: 1rem;
        transition: all 0.4s ease;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner img {
        left: 0;
        opacity: 0;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner.active {
        width: 900%;
        background-color: #F8E3B7;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner.active img {
        bottom: calc(100% - 50px - 1rem);
        left: calc(100% - 60px - 1rem);
        opacity: 1;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner.active .associatedPartnersContentText {
        transition: all 0.5s ease;
        transition-delay: 0.3s;
        opacity: 1;
        transform: translateY(0);
    }

    .DownloadBrochure {
        padding: 2rem 1rem 2rem 1rem;
    }

    footer {
        padding: 2rem 1rem 0 1rem;
    }

    footer div:nth-child(1) {
        flex-direction: column;
    }

    footer div:nth-child(1) .FooterLogoSection {
        margin-left: 0;
    }

    footer div:nth-child(1) .FooterLogoSection .footerLogos {
        width: 100%;
        flex-direction: row;
        justify-content: space-evenly;
        max-width: 400px;
    }

    footer div:nth-child(1) .FooterLogoSection .footerLogos .footerLogo {
        width: 100%;
        aspect-ratio: unset;
    }

    footer div:nth-child(1) .FooterLogoSection .footerLogos .footerLogo a img {
        width: 100%;
        object-fit: contain;
        max-height: 100px;
    }

    footer div:nth-child(1) .FooterLogoSection .footerAddress p:nth-child(1) {
        margin-bottom: 0.5rem;
    }

    footer div:nth-child(1) .FooterLogoSection .footerAddress p:nth-child(2) {
        margin-bottom: 1rem;
    }

    footer div:nth-child(1) .FooterLogoSection .footerSocialIcons {
        margin-bottom: 1.5rem;
    }

    footer div:nth-child(1) .FooterMenuSection {
        margin-bottom: 1.5rem;
    }

    footer div:nth-child(1) .FooterMenuSection p {
        margin-bottom: 1rem;
    }

    footer div:nth-child(1) .FooterMenuSection ul li {
        margin-bottom: 0.2rem;
    }

    footer div:nth-child(1) .FooterQrSection {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    footer div:nth-child(1) .FooterQrSection .footerQr {
        max-width: 200px;
    }

    footer .FooterCopyright {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    footer .FooterCopyright p:nth-child(1) {
        margin-bottom: 1rem;
    }

    .ContactUsSection {
        padding: 1rem;
        margin-top: 5rem;
    }

    .ContactUsSection .contactUsHeadingSection {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .ContactUsSection .contactUsHeadingSection .contactUsHeading {
        margin-bottom: 0.7rem;
    }

    .ContactUsSection .contactUsAddress {
        display: flex;
        flex-direction: column;
    }

    .ContactUsSection .contactUsAddress .contactUsText .contactInfo div:nth-child(3) {
        margin-bottom: 2rem;
    }

    .ContactUsSection .contactUsAddress .contactUsMap p {
        width: 100%;
    }

    .ContactUsSection .contactUsAddress .contactUsMap p iframe {
        width: 100%;
        height: calc(100vw - 5rem);
    }

    .ContactUsForm {
        padding: 0rem;
        display: flex;
        flex-direction: column-reverse;
    }

    .ContactUsForm .contactUsImg {
        height: calc(100vw - 7rem);
        display: none;
    }

    .ContactUsForm form {
        padding: 2rem 1rem;
        margin: 0;
    }

    .ConstuctionUpdates {
        padding: 2rem 1rem 3rem;
    }

    .ConstuctionUpdates .constructionUpdatesHeading {
        flex-direction: column;
    }

    .ConstuctionUpdates .constructionUpdatesHeading .contructionUpdatesFilter div {
        width: 100%;
        min-width: 120px;
        max-width: 170px;
    }

    .ConstuctionUpdates .constructionUpdatesHeading .contructionUpdatesFilter div button {
        width: 100%;
    }

    .ConstuctionUpdates .constructionVideo {
        height: 100%;
        max-height: 20rem;
    }

    .ConstuctionUpdates .constructionVideo iframe {
        height: 20rem;
    }

    .ConstuctionUpdates .constructionUpdatesList {
        grid-template-columns: 1fr;
    }

    .ConstuctionUpdates .constructionUpdatesList .constructionUpdatesItem {
        width: 100%;
        height: 70vw;
    }

    .ConstuctionUpdates .constructionUpdatesList .noData {
        grid-column: 1;
    }
    
    .ConstuctionUpdates .constructionPopup .swiper-button svg {
        height: 1rem;
        width: 1rem;
    }

    .ConstuctionUpdates .constructionPopup .swiper-button {
        top: 48%;
    }

    .ConstuctionUpdates .constructionPopup .construction-swiper-button-prev {
        transform: rotate(180deg);
        left: 0.2rem;
    }
    
    .ConstuctionUpdates .constructionPopup .construction-swiper-button-next {
        right: 0.2rem;
    }

    .ConstuctionUpdates .constructionPopup .constructionSwiper {
        width: 100%;
        height: unset;
        aspect-ratio: 2 / 1.5;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    header {
        width: 100%;
        display: flex;
    }

    header nav {
        margin: 0;
        padding: 0.5rem 1.5rem;
        background-color: var(--PrimaryColor);
        width: 100vw;
        border-radius: 0;
        height: unset;
        display: flex;
        justify-content: space-between;
    }

    header nav .menu {
        display: none;
    }

    header nav .logo {
        padding: 0;
        margin-top: 0;
    }

    header nav .logo img {
        width: 3rem;
    }

    header nav .mobileMenu {
        display: none;
    }

    header nav .ipadMenu {
        display: block;
        width: max-content;
    }

    header nav .ipadMenu ul {
        display: flex;
        list-style: none;
        gap: 1.2rem;
    }

    header nav .ipadMenu ul li a {
        text-decoration: none;
        color: white;
        font-family: "adobe-thai", serif;
        font-size: calc(var(--baseFontSize) + 4px);
    }

    header nav .mobileMenu button {
        background-color: transparent;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 102;
    }

    header nav .mobileMenu button:focus-visible {
        outline: none;
    }

    header nav .mobileMenu button .bars div {
        height: 2px;
        width: 25px;
        margin-bottom: 4px;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: block;
        transition: all 0.4s ease;
    }

    header nav .mobileMenu button .bars div:nth-child(3) {
        margin-bottom: 0;
    }

    header nav .mobileMenu .mobileMenuList {
        background-color: var(--PrimaryColor);
        height: 100svh;
        width: max-content;
        position: fixed;
        top: 0;
        right: 0;
        padding: 0 2rem;
        z-index: 101;
        transform: translateX(100%);
        transition: all 0.5s ease;
    }

    header nav .mobileMenu .mobileMenuList ul {
        list-style: none;
        padding: 0;
        margin-top: 3rem;
    }

    header nav .mobileMenu .mobileMenuList ul li {
        margin-bottom: 1rem;
    }

    header nav .mobileMenu .mobileMenuList ul li a {
        text-decoration: none;
        color: white;
        font-family: "adobe-thai", serif;
        font-weight: 400;
    }

    header nav .mobileMenu .mobileMenuList ul li a:hover {
        transform: scale(1.1);
    }

    header.open {
        transform: translateY(0) !important;
    }

    header.open nav .mobileMenu button .bars {
        margin-top: -10px;
    }

    header.open nav .mobileMenu button .bars div:nth-child(2) {
        display: none;
    }

    header.open nav .mobileMenu button .bars div:nth-child(1) {
        transform: rotate(45deg);
        margin: 0;
    }

    header.open nav .mobileMenu button .bars div:nth-child(3) {
        transform: rotate(-45deg);
        margin-top: -2px;
    }

    header.open nav .mobileMenu .mobileMenuList {
        transform: translateX(0);
    }

    .Banner {
        height: 50svh;
    }

    .Banner .myBannerSwiper .swiper-button-prev {
        left: 1rem;
    }

    .Banner .myBannerSwiper .swiper-button-next {
        right: 1rem;
    }

    .Banner .myBannerSwiper .swiper-wrapper .swiper-slide .bannerText {
        padding: 0 2.9rem;
    }

    .Overview,
    .LifeAtSunflower {
        padding: 4rem 3rem 0 3rem;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup .lifeAtSunflowerImgs .lifeAtSunflowerShowContent div:nth-child(1) {
        height: unset;
        aspect-ratio: 2 / 1;
    }

    .LifeAtSunflower .lifeAtSunflowerImgs .lifeAtSunflowerImgs1 .lifeAtSunflowerImg .lifeAtSunflowerContent p,
    .LifeAtSunflower .lifeAtSunflowerImgs .lifeAtSunflowerImgs2 .lifeAtSunflowerImg .lifeAtSunflowerContent p {
        font-size: calc(var(--baseFontSize));
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .swiper-button {
        margin: 1rem;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .lifeAtSunflowerSlider {
        aspect-ratio: unset;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .lifeAtSunflowerSlider .lifeAtSunflowerSwiperWrapper {
        align-items: center;
    }

    .LifeAtSunflower #lifeAtSunflowerPopup #popupSlider .lifeAtSunflowerSlider .lifeAtSunflowerSwiperWrapper .swiper-slide img {
        height: unset;
    }

    .Club {
        height: 40svh;
    }

    .FloorPlan {
        padding: 4rem 3rem 0 3rem;
        min-height: 35svh;
    }

    .FloorPlan .floorPlanImgs .floorPlanContent .floorPlanImg {
        padding: 0;
        margin-left: 30px;
    }
    
    .FloorPlan .floorPlanImgs .floorPlanContent .floorPlanText {
        padding: 0;
        margin-left: 10px;
    }

    .FloorPlan .floorPlanImgs .floorPlanContent .floorPlanText p:nth-child(2) {
        margin-bottom: 0.5rem;
    }

    .AssociatedPartners {
        padding: 4rem 3rem 4rem 3rem;
    }

    .AssociatedPartners .associatedPartnersContent div:nth-child(n):hover {
        width: 600%;
        background-color: #F8E3B7;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner {
        overflow: hidden;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner {
        width: 100%;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner .associatedPartnersContentHeading {
        left: -26px;
        top: 35px;
        transform: rotate(90deg);
        width: max-content;
        font-size: calc(var(--baseFontSize) + 2px);
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner.active .associatedPartnersContentHeading {
        transform: rotate(0deg);
        left: 1rem;
        top: 1rem;
        transition: all 0.4s ease;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner img {
        left: 0;
        opacity: 0;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner.active {
        width: 600%;
        background-color: #F8E3B7;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner.active img {
        bottom: calc(100% - 50px - 1rem);
        left: calc(100% - 60px - 1rem);
        opacity: 1;
    }

    .AssociatedPartners .associatedPartnersContent .associatedPartnersContentInner.active .associatedPartnersContentText {
        transition: all 0.5s ease;
        transition-delay: 0.3s;
        opacity: 1;
        transform: translateY(0);
    }

    footer {
        padding: 2rem 0 0;
    }

    footer div:nth-child(1) {
        display: block;
    }

    footer div:nth-child(1) .FooterLogoSection {
        margin-left: 3rem;
        width: 50%;
        float: left;
    }

    footer div:nth-child(1) .FooterQrSection {
        margin-left: 3rem;
        max-width: 200px;
        margin-bottom: 1rem;
    }

    .ContactUsSection {
        padding: 1rem;
        margin-top: 5rem;
    }

    .ContactUsSection .contactUsHeadingSection {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .ContactUsSection .contactUsHeadingSection .contactUsHeading {
        margin-bottom: 0.7rem;
    }

    .ContactUsSection .contactUsAddress .contactUsText {
        margin-right: 1rem;
    }

    .ContactUsSection .contactUsAddress .contactUsText .contactInfo div:nth-child(3) {
        margin-bottom: 2rem;
    }

    .ContactUsSection .contactUsAddress .contactUsMap iframe {
        width: 100%;
        aspect-ratio: 2 / 1;
    }

    .ContactUsForm {
        padding: 0rem;
        display: flex;
        flex-direction: column-reverse;
    }

    .ContactUsForm .contactUsImg {
        height: calc(100vw - 7rem);
        display: none;
    }

    .ContactUsForm form {
        padding: 2rem 1rem;
        margin: 3rem auto;
    }

    .ConstuctionUpdates {
        padding: 3rem 3rem 4rem;
    }

    .ConstuctionUpdates .constructionUpdatesHeading .contructionUpdatesFilter div {
        width: 100%;
        min-width: 120px;
        max-width: 170px;
    }

    .ConstuctionUpdates .constructionUpdatesHeading .contructionUpdatesFilter div button {
        width: 100%;
    }

    .ConstuctionUpdates .constructionVideo {
        max-height: 20rem;
        height: 100%;
    }

    .ConstuctionUpdates .constructionVideo iframe {
        height: 20rem;
    }

    .ConstuctionUpdates .constructionUpdatesList {
        grid-template-columns: 1fr 1fr;
    }

    .ConstuctionUpdates .constructionUpdatesList .noData {
        grid-column: span 2;
    }

    .ConstuctionUpdates .constructionPopup .construction-swiper-button-prev {
        left: 1rem;
    }
    
    .ConstuctionUpdates .constructionPopup .construction-swiper-button-next {
        right: 1rem;
    }

    .ConstuctionUpdates .constructionPopup .constructionSwiper {
        width: 100%;
        height: unset;
        aspect-ratio: 2 / 1.5;
    }
}