body {
    background: var(--Brown);
}

section:nth-child(odd) .sectionContainer {
    background: var(--Brown);
}

section:nth-child(even) .sectionContainer {
    background: var(--Main);
}

section {
    height: 100vh;
    min-height: 1000px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}

.sectionTitle {
    margin-top: 30px;
    flex-wrap: wrap;
}

.section1 {
    height: auto;
    min-height: auto;
    background: url(../img/aboutBG.webp) repeat-y top center;
    background-size: cover;
    background-attachment: initial;
}

.section2 {
    background: url(../img/s01.jpg) no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.section3 {
    background: url(../img/s02.jpg) no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.section4 {
    background: url(../img/s03.jpg) no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.section5 {
    background: url(../img/s04.jpg) no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.section6 {
    background: url(../img/s05.jpg) no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.section7 {
    background: url(../img/s06.jpg) no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.serviceBtnGroup {
    width: 100%;
    overflow-x: auto;
    height: 200px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 30px;
    margin-top: -120px;
    position: relative;
    z-index: 2;
}


.serviceBtnGroup::-webkit-scrollbar {
    height: 7px;
    background-color: transparent;
}

.serviceBtnGroup::-webkit-scrollbar-thumb {
    border-radius: 7px;
    background-color: var(--Gold);
}


.serviceBtnGroup.is-inview {
    height: 82px !important;
    border-bottom: 1px solid var(--Border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

}

.section1.is-inview {

    z-index: 2;
}

.serviceBtnGroup a {
    white-space:nowrap ;
    display: block;
    border-radius: 20px 20px;
    width: fit-content;
    height: fit-content;
    padding: 5px 20px;
    border: 1px solid var(--Brown);
    background: var(--Brown);
    color: var(--Text);
    font-family: var(--Sans);
    font-size: 16px;
    transition: .3s;
}

.serviceBtnGroup a:hover {
    background: transparent;
    border-color: var(--Gold);
    color: var(--Gold);
    transition: .3s;
}

.sectionContainer {
    width: 100%;
    height: 50%;
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.sectionContainer .w1280 {

    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: column;
    gap: 20px;

}

.sectionContainer h1 {
    display: block;
    width: 100%;
    font-weight: 400;
    font-size: 4em;
    line-height: 1em;
    text-transform: uppercase;
    margin: 0;
}

.sectionContainer h2 {
    display: block;
    width: 100%;
    font-size: 2em;
    line-height: 1em;
}

section:nth-child(odd) .sectionContainer h2 {
    color: var(--White);
}

section:nth-child(even) .sectionContainer h2 {
    color: var(--Gold);
}

.sectionContainer p {
    width: 60%;
    line-height: 1.8em;
    font-size: 20px;
    font-family: var(--Sans);
    font-weight: 300;
}

section:last-child .sectionContainer .w1280 {
    margin-top: -12vh;
}


.section3 .sectionContainer::before ,
.section4 .sectionContainer::before {
    content: '照片由亞果遊艇開發提供';
    width: 100%;
    height: 150px;
    padding-top: 10px;
    position: absolute;
    top: -40px;
    left: 0;
    color: var(--Text);
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    text-align: center;
    font-family: var(--Sans);
    font-size: 12px;
    font-weight: 400;
}

/*////RWD////*/

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

@media screen and (max-width:1280px) {
    .serviceBtnGroup {
        margin-top: -100px;
    }
}

@media (orientation:landscape) and (max-height: 800px) {
    .serviceBtnGroup {
        margin-top: -50px;
    }

}

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

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

@media (orientation:portrait) and (max-height: 1180px) {

    .sectionContainer p {
        width: 80%;
    }

    .serviceBtnGroup a {

        font-size: 14px;
    }

    .serviceBtnGroup {
        justify-content: center;
    }
}

@media (orientation:portrait) and (max-height: 1024px) {}

@media screen and (max-width:640px) {
    .sectionTitle {
        height: 40vh;
    }
    section {
        height: 70vh;
        min-height: 900px;
        background-attachment: initial !important;
        background-size: 100% !important;
    }
    .section1{
        background: transparent;
    }

    .section2 {
        background: url(../img/s001.jpg) no-repeat top center;
    }

    .section3 {
        background: url(../img/s002.jpg) no-repeat top center;
    }

    .section4 {
        background: url(../img/s003.jpg) no-repeat top center;
    }

    .section5 {
        background: url(../img/s004.jpg) no-repeat top center;
    }

    .section6 {
        background: url(../img/s005.jpg) no-repeat top center;
    }

    .section7 {
        background: url(../img/s006.jpg) no-repeat top center;
    }

    .sectionContainer h1 {

        font-size: 2.5em;
        text-align: center;
    }

    .sectionContainer h2 {

        font-size: 1.5em;
        text-align: center;
    }

    .sectionContainer p {
        width: 100%;
        font-size: 16px;
    }

    .serviceBtnGroup {
        height: 100px;
        align-content: center;
        justify-content: flex-start;
    }

    .serviceBtnGroup a {
        font-size: 10px;
    }


}

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

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

/*Iphone 10*/
@media (orientation: portrait) and (max-height: 812px) {}

@media (orientation: portrait) and (max-height: 736px) {
    .sectionTitle {
        height: 50vh;
    }
}

@media (orientation: portrait) and (max-height: 667px) {}

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

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