
@media screen and (max-width: 480px) {

/************ 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%;
    padding: 10px;
}

.ava-mark{
    font-size: 3.8rem;
}

.ava-v {
    margin-left: -18px;
}

.ava-a2 {
    margin-left: -18px;
}

.ava-name{
    text-align: center;
    font-size: 1.2rem;
}

.ava-tag{
    text-align: center;
    font-size: 1rem;
}

.ava-navi{
    flex-direction: column;
    width: 100%;
    min-height: 450px;
}

.anitem{
    flex-direction: row;
    width: 80%;
    gap: 22px;
    font-size: 0.9rem;
    min-height: 50px;
}

.anitem:not(:last-child)::after {
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 1px;
}

.anitem img{
    width: 28px;
    height: 28px;
}

.anitem sup{
    font-size: 0.5rem;
}


.idxfooter{
    flex-direction: column;
    width: 100%;
    gap: 5px;
    align-items: center;
    font-size: 0.8rem;
    position: static;
}

.genfooter{
    flex-direction: column;
    width: 100%;
    gap: 5px;
    align-items: center;
    position: static;
    font-size: 0.72rem;
}

.footext{
    text-align: right;
    display: flex;
    align-items: center;
    gap: 10px;

}

.submenu{
    width: 100%;
    height: 240px;
    border: 1px solid #C00000;
    bottom: 10%;   
}

.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: 20px;
    height: 20px;
    margin-right: 8px;
}

.pmbtitle{
    display: flex;
    color: #C00000;
    font-weight: 500;
    justify-content: space-between;
}

.pmbtitletext{
    display: flex;
    background-color: #C00000;
    font-weight: 500;
    justify-content: space-between;
    color: #fff;
}
    
/************ Pages *****************/

.pagehero{
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: auto;
    padding: 0;
    gap: 0;
}

.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%;
    height: 100%;
    min-height: 500px;
}

.headermark{
    display: flex;
    width: 100%;
    font-family: "Azonix";
    font-size: 3rem;
    justify-content: center;
    align-items: center;
    color:#ea0707;
    cursor: pointer;
}

.headerv {
    margin-left: -13px;
}

.headera2 {
    margin-left: -13px;
}

.pgheroh1{
    width: 100%;
    font-size: 1.3rem;
}

.pgheroh2{
    width: 100%;
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    font-size: 1.8rem;
    color: #000000;
    border-bottom: 2px solid #ea0707;
    margin-top: 10px;
    font-weight: 600;
    line-height: 1.1;
    padding-bottom: 10px;
  
}

.pgherotext{
    display: grid;
    width: 100%;
    font-size: 0.9rem;
    color: #000;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.1;
    grid-template-columns: auto;
    justify-content: flex-start;
    column-gap: 6px;
    row-gap: 3px;
    text-align: left;

}

#smkfabhero{    
    background-size: cover;
    background-position: center cemter;
    background-repeat: no-repeat;
    background-image: url("/assets/media/semarakfabhero01.jpg");
    padding: 15px;
}

#smkfabhero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: -1;
}

.pageleftnavi{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    align-items: center;
}

.prspcontent ul {
    display: grid;
    grid-template-columns: 1fr;
}

.prspscrolldiv {
        grid-template-columns: 1fr;
        gap: 5px;
}

.prspgrid2x2{
    grid-template-columns: auto;
}

.pglnitem{
    display: none;
    width: 100%;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    padding: 5px 10px;
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    user-select: none;
}

.pglnitem img{
    width: 13px;
    height: 13px;
    margin-right: 8px;
}

.pglnreturn{
    display: flex;
}

.prsubpage {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    z-index: 1;
    padding: 25px;
    gap: 10px;
    flex: 1;
}

.prsubpage h1{
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.prsubpage h3{
    font-size: 0.9rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
}

.prspcontent p{
    font-size: 0.9rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
}

.prspcontent li{
    font-size: 0.9rem;
    font-weight: 400;
    width: 100%;
    text-align: left;
    margin-left: 30px;
}

.pagerightnavi{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    position: static;
    bottom: 50%;
    right: 50%;
    gap: 8px;
    z-index: 10;
    padding: 15px;
}


.pagerightnavi img {
    width: 55px;
    height: 55px;
    transition: transform 0.3s ease;
}

.pagerightnavi img:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.prspcard {
    display: flex;
    flex-direction: column;
    flex: 0 0 300px;
    height: 300px;
    border: 1px solid #ccc;
    user-select: none;
    padding: 25px;
    border-radius: 8px;
    background: #fff;

    scroll-snap-align: start;
}

.prspheader{
    font-size: 1.2rem;
    font-weight: 700;
    color: #fd0b0b;
}

.prspcard p{
    font-size: 0.9rem;
}

.prsptext{
    font-size: 0.8rem;
}

.pfimgboxleft h1{
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.pfimgboxleft h3{
    font-size: 0.9rem;
    font-weight: 400;
    width: 100%;
    text-align: center;
}

.pfimgboxleft p{
    font-size: 0.8rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.1;
}

.pfimgbox{
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    height: 20%;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.pfimgbox img{
    height: 25px;
}

.pfimgboxleft{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.pfimgboxright{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-top: 1px solid #ddd;
    border-left: 0;
}

.pfimgboxleft img{
    height: 50px;
}


.pfimgboxright p{
    font-size: 0.8rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.1;
}

.pfimgboxright li{
    font-size: 0.8rem;
    font-weight: 400;
    width: 100%;
    text-align: left;
    margin-left: 20px;
}

.prspcardqt {
    display: flex;
    flex-direction: column;
    flex: 0 0 300px;
    height: 400px;
    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: 0.8rem;
    justify-content: center;
    text-align: center;
}

.pfvideos{
    flex-direction: column;

}

#pfvideoleft{
    width: 300px;
    height: auto;
}

#pfvideoright{
    width: 100%;
    height: auto;
    align-items: flex-start;
    justify-content: center;
    padding: 15px;
}

.prspfullcard {
    display: flex;
    flex-direction: column;
    flex: 0 0 96%;
    height: 90vh;
    border: 1px solid #ccc;
    user-select: none;
    padding: 25px;
    border-radius: 8px;
    background: #fff;

    scroll-snap-align: start;
}

.prspscrolldiv div{
    display: flex;
    border-bottom: 1px solid #ddd;
    align-items: flex-start;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 400;
    text-align: justify;
    line-height: 1.1;
}

#regtanimg{
    order: -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: 0px;
}

.pfimgboxlead70 p{
    font-size: 0.8rem;
    font-weight: 400;
    width: 100%;
    text-align: justify;
    line-height: 1.1;
    margin-bottom: 0;
}

#contacthdava{
    text-align: left;
}

}