
body{
    font-size: 15px;
    font-family:'Montserrat', sans-serif;
    margin: 0px;
    overflow-x: hidden;
    background-color: white;
}
.page{
    background-image: url("../images/essentials/bg1.png");
    background-size: 20% auto;
}
hr{
    margin: 0;
}
#header{
    background: white;
    height: 28vw;
}
.headerRow{
    justify-content: space-evenly;
    align-items: center;
    padding-top: 10px;
    margin: 0 2% 0;
    display: flex; 
}

.language img, .socials img{
    height: 6vw;
}
.logo{
    height: 24vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
.sticky{
    background: linear-gradient(to bottom, white 65%, transparent 65%) !important; 
    z-index: 1000;
    animation: slideDown 0.35s ease-out;
    position: sticky;
    top: 0;
    width: 100%;
}
.sticky .logo{
    height: 12vw;
}
.content{
    margin: 16px 30px 0;
}
.mainInfo p{
    text-align: justify;
    padding: 0 10px;
    line-height: 2.5;
}
.main h1{
    padding-bottom: 10px;
    background: linear-gradient(to left, white,rgb(146, 221, 246));
}
.mainInfo{
    border-radius: 10px;
    background: linear-gradient(to right, white,rgb(146, 221, 246));
    margin: 0 0 80px;
    padding-bottom: 10px;
}
.mainInfoText{
    margin: 15px auto;
}
.mainInfo img{
    border-radius: 20px;
    width: 95%;
    padding: 0 2.5%;
    object-fit: cover;
}
#callToAction{
    font-size: 25px;
    margin: 0 auto 10px;
    text-align: center;
    border: 2px solid rgb(146, 221, 246);
    border-radius: 5px;
    width: 80%;
    background-color: white;
}
#callToAction a{
    color: rgb(241, 59, 22);
}
.slider{
    height: 360px;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto 80px;
    min-height: 260px;
    position: relative;
    overflow: hidden;
}
.slide{
    border: 10px solid white;
    border-radius: 35px;
    width: 95%;
    min-height: 200px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    flex-direction: column;
    margin-bottom: -10px;
    background: linear-gradient(to bottom, white 10%, rgb(0, 162, 255) 10%);
    font-weight: 800;
    color: white;
}

.slideImg{
    width: 100.3%;
}
.slide img{
    border-top-left-radius:15px;
    border-top-right-radius:15px;
    width: 100%;
    object-fit:cover;
}
.slide img:hover{
    transform: scale(1.05);
    transition: 0.25s;
}
.slideDescription{
    margin-top:10px;
    margin-bottom: 10px;
    color: white;
    text-decoration: none;
}
.btn {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 10px;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
}
.btn:active{
    transform: scale(1.1);
}
.btn-prev{
    top: 45%;
    left: 0%;
}
.btn-next{
    top: 45%;
    right: 0%;
}
@keyframes slideDown{
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes reveal {
    from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
    to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
}

@keyframes hideBlack {
    from { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
    to { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%); }
}
.hide{
    display: none !important; 
}
.ppd img{
    width: calc(100%/3);
}
.ppd, .ppdContent{
    background-color:white;
}
.ppdContent{
    position: relative;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: .75s cubic-bezier(1,-0.01,.12,.8)  1 reveal forwards;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: justify;
    word-wrap: break-word;
    line-height: 2.5;
}
.ppdContent::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffff;
    padding: inherit;
    animation: 1.75s cubic-bezier(1,-0.01,.12,.8)  1 hideBlack forwards;
}
.ppdContent div{
    width: 100%;
    object-fit: cover;
}
.ppdContent img{
    width: 100%;
}
#price{
    margin-right: -10px;
}
#delivery{
    margin-left: -10px;
}
#ppdOpen, #ppdClose{
    font-size: x-large;
    font-weight: bold;
    width: 90%;
    padding-top: 2vw;
    padding-bottom: 2vw;
    background-color: white;
    border-color: #b117ed;
    border-radius: 15px;
    cursor: pointer;
}
#ppdOpen:hover, #ppdClose:hover, button:hover{
    background-color: whitesmoke;
}
h1,h3{
    background-color: white;
    width: fit-content;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: center;
}
h1{
    margin-top: 40px;
}
.storeFestivalInfo, .storeBangtaoInfo,.storeChalongInfo{
    display: flex;
    align-items: center;
    flex-direction: column;
    word-wrap: break-word;
    min-height: 377px;
    margin: 0 auto 100px;
    text-align: justify;
}
.storeFestivalInfo p, .storeBangtaoInfo p,.storeChalongInfo p{
    margin-top: 0;
    background-color: white;
}
.storeChalongSlider, .storeFestivalSlider, .storeBangtaoSlider{
    display: flex;
    width: 90%;
    margin: 0 auto;
    min-height: 65vw;
    position: relative;
    overflow: hidden;
}
.storeChalongSlide, .storeFestivalSlide, .storeBangtaoSlide{
    height: 100%;
    width: 95%;
    padding: 0 2.5%;
    position: absolute;
    transition: all 0.5s;
}
.storeChalongSlide img, .storeFestivalSlide img, .storeBangtaoSlide img{
    display: block;
    margin: auto;
    width: 90%;
    height: 100%;
    object-fit: contain;
}
.storeChalongBtn, .storeFestivalBtn, .storeBangtaoBtn {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 10px;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
}
.storeChalongBtn:active, .storeFestivalBtn:active, .storeBangtaoBtn:active{
    transform: scale(1.1);
}
.storeChalongBtn-prev, .storeFestivalBtn-prev, .storeBangtaoBtn-prev{
    top: 50%;
    left: 2%;
}
.storeChalongBtn-next, .storeFestivalBtn-next, .storeBangtaoBtn-next{
    top: 50%;
    right: 2%;
}
.adress{
    margin-top: 15px;
    width:-webkit-fill-available;
    font-size: large;
}
.mapChalong iframe, .mapFestival iframe, .mapBangtao iframe{
    width: 100%;
    min-height: 330px;
}
footer{
    padding-top: 16px;
    line-height: 1.5;
    text-align: center;
    background-image: url(../images/essentials/bg1.png);
    background-size: 20% auto;
}
footer p{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}
footer img{
    max-width: 200px;
}
@media screen and (min-width: 400px){
    .slider{
        height: 548px;
    }
}
@media screen and (min-width: 600px){
    .sticky{
        .logo{
            height: 6vw;
        }
        .language img, .socials img{
            height: 3vw;
        }
        background: linear-gradient(to bottom, white 45%, transparent 45%) !important;
    }
    .language img, .socials img{
        height: 4vw;
    }
    .logo{
        height: 15vw;
    }
    #header{
        height: 17vw;
    }
    .slider{
        height: 300px;
        padding-top: 0;
    }
    .btn{
        width: 40px;
        height: 40px;
    }
    .btn-next{
        top: 50%;
        right:2%;
    }
    .btn-prev{
        top:50%;
        left:2%;
    }
    #callToAction{
        margin: 0 auto 25px;
        width: 60%;
    }
    .slide{
        border: 10px solid white;
        width: calc(100%/3 - 20px);
    }
    .ppdContent{
        flex-direction: row;
    }
    .ppdContent div{
        width: calc(100%/3 - 10px);
        margin: 0 5px;
    }
    footer{
        background-color: white;
        background-image: url(../images/essentials/footerBgLeft.png),
        url(../images/essentials/footerBgRight.png);
        background-position: bottom left, bottom right;
        background-repeat: no-repeat;
        background-size: contain;        
    }
    
}
@media screen and (min-width: 850px){
    .mainInfoText{
        display: flex; 
    }
    .mainInfo img{
        width: calc(200%/3);
        height: auto;
        padding: 0;
    }
    .slider{
        height: 435px;
    }
    .storeChalongInfo, .storeFestivalInfo, .storeBangtaoInfo{
        margin: 0, auto;
    }
    .storeChalongSlider, .storeFestivalSlider, .storeBangtaoSlider{
        width: 56%;
        min-height: 35vw;
    }
}
@media screen and (min-width: 1300px){
    
    .slider{
        height: 670px;
    }
}