:root {}

html {}

html,
body,
#app {
    height: 100% !important;
    position: relative;
    overflow: hidden;
}

#app {
    background-color: #3c3328;
    font-size: 16px;
}

.footer-left {
    position: absolute;
    bottom: 5px;
    left: 5px;
    transition: all .3s;
}

.footer-right {
    position: absolute;
    bottom: 5px;
    right: 5px;
    transition: all .3s;
}

.menu-item {
    margin: 0 0.1rem;
    text-align: center;
    font-size: 0;
    user-select: none;
    cursor: pointer;
}

.menu-item img {
    width: 40px;
    z-index: -1;
    vertical-align: top;
}

.menu-item span {
    font-size: 14px;
    display: block;
    padding-top: 3px;
    color: white;
}

.footer-thumbs {
    position: absolute;
    bottom: -400px;
    width: 100%;
    transition: all .3s;
}

body.with_thumbs .footer-thumbs {
    bottom: 0;
}

body.with_thumbs .footer-left,
body.with_thumbs .footer-right {
    bottom: 110px;
}

.thumb-item {
    width: auto !important;
    position: relative;
    border: 2px solid white;
    border-radius: 2px;
}

.thumb-item.active {
    border: 2px solid red;

}

.thumb-item img {
    width: 150px;
    height: 100px;
    object-fit: cover;
}

.thumb-item-title {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    color: white;
}

#tags {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    font-size: 0.3rem;
    color: white;
    background-color: #2e6e76;
    transform: translate(100%, 0);
    transition: all .3s;
    z-index: 1234;
}

#tags.show {
    transform: translate(0, 0);
}

#tags-wrapper {
    height: calc(100%);
    overflow: auto;
}

#tags.show #close-tags {
    display: block;

}

#close-tags {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%);
    display: none;
    background: url(assets/libs/album/close.png) no-repeat center center;
    background-size:  80% 80%;
    background-color: #2e6e76;
    padding: 20px;
    border-radius: 20% 0 0 20%;
    
}

.tag-label {
    cursor: pointer;
    user-select: none;
    line-height: 25px;
    padding: 3px 5px;
    /* white-space: nowrap; */
    overflow: hidden;
    width: 300px;
    font-size: 20px;
    margin: 10px 0;
    /* text-overflow: ellipsis; */
}

.tag-label:hover {
    background-color: rgba(79, 139, 181, 1);
}

#map {
    position: absolute;
    left: 0;
    top: 60px;
    transform-origin: left top;
    transform: translate(0, 0) scale(0.20);
    transition: all .3s;
    user-select: none;
}

#map.hide {
    left: -100%;
}

#close-map {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 20px;
    background: url(assets/images/close-map.png) no-repeat center;
    background-size: contain;
    filter: invert(1);
    cursor: pointer;
}

#map-active {
    background: url(assets/images/EastDirection.png) no-repeat center center;
    background-color: gree;
    background-size: contain;
    position: absolute;
    padding: 120px;
    z-index: 10000;
    transition: all .3s;
    display: none;
    transform-origin: center center;
}

@media screen and (max-width: 768px) {
    .menu-item {
        margin-bottom: 0.1rem;
    }

    .menu-item span {
        transform: scale(0.7);
    }

    #tags {
        width: 100%;
    }

    #tags .tag-label {
        width: 100%;
    }

    #close-tags {
        left: 100%;
        top: 0;
        padding: 15px;
        border-radius: 50%;
        background-size: 80% 80%;
        transform: translate(calc(-100% - 15px), 15px);
        box-shadow: 0 0 2px 2px lightgrey;
    }

    #map {
        left: 15px;
        transform: scale(0.10);
    }
}

#tag-overlay {
    position: absolute;
    user-select: none;
    pointer-events: none;
    background-color: aliceblue;
    padding: 20px;
    transform-origin: left center;
    transform: translate(-50%, -120%);
    opacity: 0;
    /* transition: all .2s .2s; */
}

#tag-overlay.show {
    opacity: 1;
}

body .swal2-container {
    font-size: 16px;
    padding: 0;
}

#close-modal {
    position: absolute;
    right: 0;
    top: 0;
    padding: 30px;
    background-color: antiquewhite;
    cursor: pointer;
}



/* 海报 */
#poster {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    left: 0%;
    top: 0%;
    z-index: 20000;
    background-size: cover;
}

#poster::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 37.09%;
    background-color: #67bb8c;
    z-index: -1;
}

#poster::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 62.8%;
    background-color: #2e6e76;
    z-index: -1;
}

.poster-img{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%,-50%);

}
.opacity0{
    opacity: 0;
}

.poster-img img{
    width: 100%;
    vertical-align: top;
}
.poster-bg {
    /* background: url(static/pc.png) no-repeat center center; */
    height: 100%;
    width: 100%;
    background-size: contain;
}

.poster-enter {
    position: absolute;
    bottom: 28%;
    left: calc((100% - 25%) /2);
    width: 25% !important;
    cursor: pointer;
}

.poster-vlog {
    position: absolute;
    bottom: 32%;
    right: 8%;
    width: 10% !important;
    cursor: pointer;
}

@media screen and (max-width: 780px) {
    .poster-enter {
        bottom: 21%;
        width: 30%;
    }
    .poster-vlog {
        right: 0;
        width: 15%;
    }
}
@media screen and (max-width: 480px) {
    .poster-enter {
        bottom: 17% !important;
        left: calc(25%);
        width: 50% !important;
    }

    .poster-vlog {
        right: 8%;
        width: 30% !important;
    }

}
