@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@font-face {
    font-family: HYWenHei-85W;
    src : url("../assets/font/zh-cn.ttf");
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,1) rgba(0,0,0,0.7);
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2); 
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,1); 
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.7); 
}


body{
    overflow-x : hidden;
}

.character-landing-page{
    min-height: 100vh;
    height: 110vh;
    position: absolute;
    overflow : hidden;
}

.character-background{
    width: 100%;
    min-height: 100vh;
    height: 100%;
    position : absolute;
    background-image: url(../assets/background/Mondstat.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left 20% center;
    filter : blur(3px);
    z-index: -2;
    transition: 0.3s;
}


.paraleogram{
    position: absolute;
    height: 100%;
    width: 55vw;
    left : 12vw;
    transform: skew(45deg);
    z-index: -1;
    background-color: rgba(0,0,0,0.2);
    backdrop-filter: blur(1px);
}

.content{
    width: 100%;
    height: 110vh;
    position: absolute;
    min-height : 100vh;
    top : 0;
    display: flex;  
    align-items: center;
    position : relative;
    overflow: hidden;
}

.map-text{
    position : absolute;
    top : 52vh;
    transform : translateY(-50%);
}

.map-content{
    display: flex;
    padding: 0.5rem 0 1rem 1rem;
    color : White;
    font-size: 1.5rem;
    width: 18rem;
    cursor : pointer;
}

.map-content img{
    width: 2rem;
    height: auto;
    margin-right: 1rem;
    pointer-events: none;
}

.map-content p{
    pointer-events: none;
}

.map-active{
    background: linear-gradient(to right, rgba(0,0,0,0.6),rgba(0,0,0,0));
}

.map-active img{
    content : url(../assets/ICON/bulletin1.png);
}

.character-content{
    margin-left: 20vw;
    width: 70vw;
}

.character-name{
    border-top: 5px solid rgb(223, 188, 139);
    padding: 1rem;
    color : white;
    width: fit-content;
    font-family: "HYWenHei-85W";
    font-size: 5rem;
    text-transform: uppercase;
    opacity: 0;
    display: none;
    transform: translateX(100%);
    transition : all 0.1s ease;
}

.active-character-name{
    display: block;
    opacity: 1;
    transform: translateX(0%);
}

.character-text{
    width: 34.3rem;
    background-color: rgba(0,0,0,0.5);
    padding: 1rem 1.5rem;
    color : white;
    min-height: 26px;
    max-height: 150px;
    line-height: 1.6rem;
    overflow-y: scroll;
    position: relative;
    z-index: 2;
    word-spacing: 5px;
    transform: translateX(100%);
    display: none;
    opacity: 0;
    transition : all 0.1s ease;
}

.active-character-text{
    display: block;
    transform: translateX(0%);
    opacity: 1;
}

.character-image{
    right: 0;
    top : 0;
    position: absolute;
    width: auto;
    height: 110%;       
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.active-character-image{
    opacity: 1;
    transform: translateX(0%);
}

.character-image img{
    width: auto;
    height: 100%;
    min-height: 100vh;
}

.left-slider{
    cursor : pointer;
    width: 3.5rem;
    height: auto;
}

.left-slider img{
    width: 100%;
}

.right-slider{
    cursor : pointer;
    width: 3.5rem;
    height: auto;
}

.right-slider img{
    width: 100%;
}

.slider-div{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0; 
    left : 0;
    height: 25vh;
    width: 100%;
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(1px);
}

.image-list{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65vw;
    padding: 2vh 0;
    height: 100%;
}

.image-content{
    margin-right: 2rem;
    border-top-left-radius: 8%;
    border-top-right-radius: 8%;
    background-color: rgba(0,0,0,0.3);
    width: auto;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor : pointer;
    transition: all 0.2s;
}


.image-content img{
    height : 80%;
    pointer-events: none;
}

.image-content h3{
    padding: 0;
    margin: auto;
    color : white;
    width: 100%;
    height: 20%;
    font-size: 1.3rem;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.active-character{
    border : 2px solid rgba(255,255,255,1);
    background-image: linear-gradient(to bottom right, rgba(0,0,0,1),rgba(88, 88, 88,1));
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
}

.active-character h3{
    color : black;
    background-color: rgba(255,255,255,1);
}

.image-content:hover{
    border : 2px solid rgba(255,255,255,1);
    background-image: linear-gradient(to bottom right, rgba(0,0,0,1),rgba(88, 88, 88,1));
}

.image-content:hover h3{
    color : black;
    background-color: rgba(255,255,255,1);
}

.character-name-div{
    display: none;
}

.character-text-div{
    display: none;
}

.character-image-div{
    display: none;
}

.image-list{
    display: none;
}

.active-div{
    display: flex;
}

.barbara{
    right: -10vw;
}

.venti{
    right: -25vw;
}

.chongyun{
    right: -10vw;
}

.map-responsive{
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    bottom: 0;
    width: 100%;
    height: 7vh;
    left: 0;
    color : rgba(255,255,255,1);
    background-color: rgba(0,0,0,0.5);
}

.map-responsive-choose{
    display: none;
    cursor : pointer;
}

.active-map-responsive{
    position : relative;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    position: absolute;
    right: 0;
    width: 0;
    height: 0;
}

.up {
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid rgba(255,255,255,1);
}

.down {
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid rgba(255,255,255,1);
}

.dropdown-responsive{
    position: absolute;
    bottom : 8vh;
    left : 5%;   
    right: 5%;
    width: 90%;
    height: 16vh;
    z-index: 5;
    color : white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0,0,0,0.9);
    padding: 2vh 0;
    cursor : pointer;
    visibility: hidden;
}

.dropdown-responsive p{
    width: 100%;
    height: 5vh;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor : pointer;
}

.dropdown-responsive li:first-child{
    padding-top: 3vh;
}

.dropdown-responsive li:last-child{
    padding-bottom: 3vh;
}

.active-dropdown{
    background-color: rgb(75, 125, 142);
}

@media screen and (max-width : 1095px){
    .paraleogram{
        width: 110vw;
        left : -10vw;
        transform: skew(40deg);
    }
    .character-landing-page{
        height: 100vh;
    }
    .content{
        height: 100vh;
    }
    .character-content{
        margin-left: 5vw;
    }
    .left-slider,.right-slider{
        display: none;
    }
    .map-responsive{
        display: flex;
    }
    .map-text{
        display: none;
    }
    .slider-div{
        background : none;
    }
    .image-list{
        width: 90vw;
    }
    .image-content{
        height: 70%;
    }
    .character-image{
        right: -25vw;
    }
    .barbara{
        right: -55vw;
    }
    .venti{
        right: -80vw;
    }
    .chongyun{
        right: -55vw;
    }
    .hu-tao{
        right: -60vw;
    }
    .keqing{
        right: -55vw;
    }
    .slider-div{
        bottom : 7vh;   
    }
    .character-text{
        font-size: 1.3rem;
        line-height: 2rem;
        width: 40rem;
        min-width: 30rem;
    }
}

@media screen and (max-width : 720px){
    .character-image{
        right: -45vw;
    }
    .lisa{
        right: -35vw;
    }
    .barbara{
        right: -70vw;
    }
    .venti{
        right: -110vw;
    }
    .chongyun{
        right: -70vw;
    }
    .hu-tao{
        right: -100vw;
    }
    .image-content{
        height: 60%;
    }
    .image-content h3{
        font-size: 0.9rem;
    }
     .character-name{
        font-size: 3.5rem;
    }
}

@media screen and (max-width : 550px) {
     .character-text{
        font-size: 0.8rem;
        line-height: 1.2rem;
        min-width: 25rem;
        max-height: 95px;
    }
    .image-content{
        height: 55%;
        margin-right: 0.4rem;
    }
    .image-content h3{
        font-size: 0.8rem;
    }
    .character-name{
        font-size: 3rem;
    }
}

@media screen and (max-width : 430px) {
    .character-text{
        min-width: 20rem;
        min-height: 115px;
    }
    .character-image{
        right: -60vw;
    }
    .amber{
        right: -50vw;
    }
    .lisa{
        right: -45vw;
    }
    .barbara{
        right: -90vw;
    }
    .venti{
        right: -130vw;
    }
    .chongyun{
        right: -80vw;
    }
    .hu-tao{
        right: -100vw;
    }
    .keqing{
        right: -90vw;
    }
     .image-content{
        margin-right: 0.2rem;
    }
    .image-content h3{
        font-size: 0.5rem;
    }
    .map-responsive h2{
        font-size: 1.1rem;
    }
}

@media screen and (max-width : 350px) {
    .character-text{
        font-size: 0.8rem;
        line-height: 1.2rem;
        min-width: 90vw;
        max-height: 95px;
    }
}