
@media screen and (max-width: 1000px) {

/************ Global *****************/

body {
    padding: 0;
    margin:0;
    overflow-x:hidden;
    letter-spacing: 1.2px;
    width: 100%;
    height: 100%;
    min-width: 100vw;
    min-height: 100vh;
    touch-action: manipulation;
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

.maincontainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;    
    padding: 0px;
    z-index: 1;   
    overflow: auto;
}

/************ Index *****************/

.gridbox {
    width: 100%;
}

.ava-name{
    text-align: center;
    font-size: 2rem;
}

.ava-tag{
    text-align: center;
    font-size: 1.5rem;
}

.ava-navi{
    width: 100%;
    min-height: 880px;
}

.idxfooter{
    flex-direction: column;
    width: 100%;
    gap: 5px;
    align-items: center;
    position: fixed;
    bottom: 0;
    font-size: 0.9rem;
}

.genfooter{
    flex-direction: column;
    width: 100%;
    gap: 5px;
    align-items: center;
    position: static;
    font-size: 1rem;
}

.anitem{
    flex-direction: column;
    width: 150px;
    gap: 22px;
    font-size: 0.9rem;
    min-height: 50px;
}

.anitem img{
    width: 50px;
    height: 50px;
}

.anitem sup{
    font-size: 0.8rem;
}


.submenu{
    width: 280px;
    height: 240px;
    border: 1px solid #C00000;
    bottom: 120%;   
}

.popmenubtn {
    flex: 1 0 auto;  
    padding: 4px 12px;
    letter-spacing: 1px;
    display: flex;
    align-items: center; 
    color: #333;
    border-bottom: 1px solid #ddd;
    z-index: 500; 
    font-size: 1rem;
}

.popmenubtn img{
    width: 30px;
    height: 30px;
    margin-right: 16px;
}

.pmbtitle, .pmbtitletext{
    display: none;
}

/************ Pages *****************/

.pagehero{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: auto;
    padding: 0;
    gap: 0;
    z-index: 2000;
}

.pageleft{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 0;
    position: relative;
    padding: 15px;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #fafafa 40%,
        #f5f5f5 90%,
        #fffdf7 100%
    );
}

.pageright{
    width: 100%;
    min-height: 900px;
}

.headermark{
    display: flex;
    width: 100%;
    font-family: "Azonix";
    font-size: 6rem;
    justify-content: center;
    align-items: center;
    color:#ea0707;
    cursor: pointer;
}

.headerv {
    margin-left: -23px;
}

.headera2 {
    margin-left: -23px;
}

.pgheroh1{
    width: 100%;
    font-size: 2rem;
}

.pgheroh2{
    width: 55%;
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    font-size: 1.8rem;
    color: #000000;
    border-bottom: 2px solid #ea0707;
    margin-top: auto;
    font-weight: 600;
    line-height: 1.1;
    padding-bottom: 10px;
}

.pgherotext{
    display: grid;
    width: 100%;
    font-size: 1.2rem;
    color: #000;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.1;
    grid-template-columns: auto auto;
    justify-content: flex-start;
    column-gap: 22px;
    row-gap: 3px;
    text-align: left;

}

.pageleftnavi{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    align-items: center;
}

.pglnitem{
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid #ddd;
    font-size: 1.2rem;
    padding: 5px 10px;
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    user-select: none;
}

.pglnitem img{
    width: 25px;
    height: 25px;
    margin-right: 16px;
}

.pglnreturn{
    display: flex;
}

.prsubpage {
    display: none;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    z-index: 1;
    padding: 25px 60px;
    gap: 10px;
}

.prsubpage h1{
    font-size: 1.4rem;
    font-weight: 400;
    width: 100%;
}

.prsubpage h3{
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
}

.prspcontent p{
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
}

.prspcontent li{
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    text-align: left;
    margin-left: 30px;
}

.pagerightnavi{
    display: flex;
    position: absolute;
    bottom: 1%;
    right: 6%;
    gap: 8px;
    z-index: 10;
}

.pagerightnavi img {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

.pagerightnavi img:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.prspcard {
    display: flex;
    flex-direction: column;
    flex: 0 0 500px;
    height: 400px;
    border: 1px solid #ccc;
    user-select: none;
    padding: 25px;
    border-radius: 8px;
    background: #fff;

    scroll-snap-align: start;
}

.prspheader{
    font-size: 1.5rem;
    font-weight: 700;
    color: #fd0b0b;
}

.prspcard p{
    font-size: 1.2rem;
}

.pfimgboxleft h1{
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.pfimgboxleft h3{
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    text-align: center;
}

.pfimgboxleft p{
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.1;
}

.pfimgboxright p{
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.1;
}

.pfimgboxright li{
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    text-align: left;
    margin-left: 20px;
}

.prspcardqt {
    display: flex;
    flex-direction: column;
    flex: 0 0 360px;
    height: 600px;
    border: 1px solid #ccc;
    user-select: none;
    padding: 25px;
    border-radius: 8px;
    background: #fff;

    scroll-snap-align: start;
}

.pfimgtitle{
    display: flex;
    width: 100%;
    font-family: "Playfair Display", Verdana, Tahoma, sans-serif;
    font-size: 1rem;
    justify-content: center;
    text-align: center;
}

.pfvideos{
    flex-direction: column;

}

#pfvideoleft{
    width: 500px;
    height: auto;
}

#pfvideoright{
    width: 100%;
    height: auto;
    align-items: flex-start;
    justify-content: center;
    padding: 15px;
    border-left: 0;
}

.prspscrolldiv{
    display: grid;
    grid-template-columns: 280px 1fr;
    column-gap: 0;
    row-gap: 4px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    overflow-y: auto;    
}

.prspscrolldiv div{
    display: flex;
    border-bottom: 1px solid #ddd;
    align-items: flex-start;
    padding: 8px 12px;
    font-size: 1rem;
    font-weight: 400;
    text-align: justify;
    line-height: 1.1;
}

.pfimgboxlead30{
    display: flex;
    flex-direction: column;
    flex: 0 0 20%;
    height: 48%;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.pfimgboxlead30 img{
    width: 120px;
}

.pfimgboxlead70{
    display: flex;
    flex-direction: column;
    flex: 0 0 75%;
    padding: 8px;
}

.pfimgboxlead70 p{
    font-size: 1rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
    line-height: 1.1;
    margin-bottom: 0;
}

.prspcontenthelp p{
    font-size:1rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
    line-height: 1.1;
    margin-bottom: 0;
}

.prspcontenthelp a{
    font-size:1.2rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
    line-height: 1.1;
    margin-bottom: 0;
}

}