.main_nav li:nth-child(2) a{
    border-bottom: solid 9px var(--color_greengray);
}
body{
    padding-top: 10vh;
}
h1{
    font-size: 5vmin;
    /* margin: 30% 5%; */
}
h2{
    font-size: 2.4rem;
}
h3{
    font-size: 1.6rem;
    line-height: 2;
}
.top, .stores{
    overflow-x: hidden;
}
.top h1:nth-child(1){
    color: var(--color_greengray);
    transform: translate(15%, -120%);
    animation: opacity 1s linear;
}
.top h1:nth-child(2){
    transform: translate(80%, 600%);
    animation: opacity 1s linear;
}
.top .background{
    width: 80%;
    height: 180px;
    margin-top: 20%;
    background-color: var(--color_greengray);
    position: relative;
    animation: backgroundmove 1.5s ease-out;
}
@keyframes backgroundmove{
    0%{width: 0%;}
    50%{width: 85%;}
    100%{width: 80%;}
}
.background>img{
    width: 360px;
    border-radius: 5px;
    position: absolute;
    bottom:-30%;
    left: 60%;
    box-shadow: 4px 4px 10px #818181;
    animation: opacity 1.5s linear;
}
@keyframes opacity{
    0%{opacity: 0%;}
    50%{opacity: 0%;}
    100%{opacity: 100%;}
}
.top a{
    display: flex;
    margin-left: 30%;
    margin-top: 20px;
    width: fit-content;
}
@keyframes arraymove{
    0%{height: 0vmin;}
    50%{height: 25vmin;}
    100%{height: 20vmin;}
}
.top a img{
    animation: arraymove 2s ease-in;
    height: 20vmin;
}
.top a:hover{
    font-weight: 500;
}
.top a p{
    font-family: 'Noto Serif TC', serif;
    writing-mode: vertical-lr;
    letter-spacing: 10px;
    margin: 0 10px;
    animation: opacity 3s linear;
}
.stores{
    padding-top: 10%;
    width: 88%;
    margin-left: auto;
}
.storespictures{
    width: 80%;
    margin: auto;
}
.storespictures .img{
    box-shadow: 2px 2px 4px rgba(158, 158, 158, 0.3);
    width: 100%;
}
#smallPanel img{
    cursor: pointer;
}
#smallPanel img:hover{
    box-shadow: 2px 2px 4px rgba(26, 25, 25, 0.3);
}
#largeImg{
    height: 60vh;
    width: 100%;
}
.storespictures .row-cols-4{
    margin-top: 10px;
}
.storespictures img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.place .info{
    width: 80%;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}
.info a:hover{
    color:rgba(0, 0, 0, 0.9);
}
.info img{
    width: 70%;
    height: 70%;
    object-fit: contain;
}
.storesinfo>span{
    display: block;
    height: 50px;
    border-left: solid 1px gray;
    margin: 40px 10px;
}
.storesinfo .place{
    margin-bottom: 10%;
}
.introduce{
    width: 100%;
}
.introduce .img{
    width: 70%;
    height: auto;
}
.introduce .txt p{
    padding: 10%;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 30%;
    font-family: 'Noto Serif TC', serif;
}
.introduce .img img, .card .img img{
    height: 100%; 
    width: 100%;
    object-fit: contain;
}
.ideas{
    padding-top: 100px;
}
.card{
    display: flex;
    width: 60%;
    height: 250px;
    margin: 50px auto;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(60px);
    background-color: rgba(243, 243, 243, 0.9);
    border-radius: 10px;
    box-shadow: 0 0 10px #d9d9d9;
    padding: 5%;
    position: sticky;
    top: 15%;
}
.card .img{
    width: 90%;
    height: 300px;
}
.card .txt h2, .card .txt h3{
    text-align: left;
    font-size: 1.6rem;
    line-height: 2;
    font-weight: 500;
}
.card .txt{
    width: 70%;
    line-height: 2;
    font-family: 'Noto Serif TC', serif;
}
@media  screen and (max-width: 1023px) {
    .main_nav li:nth-child(2){
        background-color:  var(--color_greengray);
        color: white;
    }
    #largeImg{
        height: 20vh;
    }
    .background>img{
        left: 70%;
    }
 }
 @media screen and (max-width: 767px){
    body{
        padding-top: 0;
    }
    .top .background{
        height: 10%;
        margin-top: 70%;
    }
    .top h1{
        font-size: 5vmin;
    }
    .background>img{
        width: 50vw;
        bottom: 20%;
        left: 50%;
    }
    .top h1:nth-child(1){
        writing-mode: vertical-rl;
        position: relative;
        padding-left: 25%;
        transform: translate(0, -100%);
    }
    .top h1:nth-child(2){
        transform: translate(80%, 650%);
    }
    .top a {
        margin-left: 20%;
    }
    .stores{
        width: 100%;
    }
    .storespictures{
        width: 100%;
    }
    #largeImg{
        height: 100%;
    }
    .storesinfo{
        padding: 5%;
    }
    .place .info:first-child a{
        color:rgba(0, 0, 0, 0.9);
        font-weight: 500;
    }
    .top h1:nth-child(2){
        transform: translate(65%, 150%);
    }
    .top a p{
        letter-spacing: 5px;
    }
    .top a img{
        height: 25vmin;
    }
    .introduce .row .col:first-child{
        order: 1;
    }
    .introduce .img{
        width: 100%;
    }
    .introduce .txt p {
        margin-top: 10%;
        padding: 0;
    }
    .card{
        width: 90%;
        height: 45vh;
        padding: 10px;
    }
    .card .img{
        width: 40%;
        padding: 5%;
    }
 }