
h1,h2,.h1,.h2{
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
}
h3,h4,h5,h6,.h3,.h4,.h5,.h6{
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
}
h5{
    font-size: 1.25rem!important;
}
.mst-font{
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400!important;
}
 /* 右邊垂直文字容器 */
 .vertical-text-container {
    position: absolute;
    left: 10px;
    bottom: 20px;
    z-index: 2;
}



.envelope-content .h2{
    font-size: 1.6rem!important;
}


/* 右邊垂直文字 - Fade in 效果 */
.vertical-text {
    font-size: 1.4rem;
    color: #eb904a;
   
    
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
   
}
.vertical-text span{
    background: rgb(255, 255, 255, 0.7);
    padding: 5px;
    margin-top: 5px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vertical-text:nth-child(2) {
    animation-delay: 0.5s;
}
.vertical-text:nth-child(3) {
    animation-delay: 1s;
}
.text-line {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 2px;
    font-weight: 400;
}
.text-line.shadow{
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    box-shadow: none!important;
}
.large-text {
    font-size: 2.5rem;
    display: inline-block;
    line-height: 1;
}
#letter-icon .icon-title{
    font-size: 0.8rem!important;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    margin-bottom: 5px;
}

.letter-content .h5{
    font-size: 1rem!important;
    font-weight: 400;
}
.main-text{
    position: absolute;
    left: 10px;
    z-index: 1;
    top:30px;
}
.envelope-container.active{
    display: block;
    min-height: 500px;
}
.restart-button-container {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    justify-content: center;
    z-index: 10;
    display: flex;
    opacity: 0;
}
.question-text span{
    padding-left: 30px;
}
.text-line img{
    max-width: 700px;
}

@media (max-width: 992px) {
    .text-line img{
        max-width: 500px;
    }
}
@media (max-width: 768px) {
    .text-line img{
        max-width: 300px;
    }
}
@media (max-width: 1200px) {
    .text-line img{
        max-width: 600px;
    }
    .envelope-container.active{
        display: flex;
        
        padding-top: 200px;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .main-text {
        top: 20px;

    }

    .question-text span{
        padding-left: 0;
    }


    .vertical-text {
        font-size: 0.9rem;
    }
    .vertical-text span{
        padding: 3px;
        margin-top: 3px;
    }
    .text-line {
        font-size: 1rem;
        letter-spacing: 0;
            
    }
    .text-line.shadow{
        text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    }
    .large-text {
        font-size: 1.5rem;
    }
    .letter-content .h5{
        font-size: 0.9rem!important;
        font-weight: 400;
    }
    .envelope-content .h2{
        font-size: 1rem!important;
    }
    .envelope-container.active{
        display: flex;
        padding-top: 150px;
        align-items: center;
    }
    #letter-icon .icon-title{
        font-size: 0.7rem!important;
    }
    h5{
        font-size: 1.1rem!important;
    }
   
}