html,body{
    margin:0;
    height:100%;
    width:100%;
    color: #0e084a;
}
button{cursor:pointer;}
*{box-sizing: border-box;font-family: 'Poppins';}
#page{
    height: 100%;
}
#master{
    background: #fdebdd;
    height: 100%;
    position: relative;
}
#logintop{
    width: 100%;
    background: #fdebdd;
}
#master>div {padding:0 20px;}
#mainform{
    display: grid;
    gap: 10px;
}
#mainform>.a{
    text-align: center;
}
#mainform>.b>.b1{
    display: grid;
    grid-template-columns: 5fr auto 4fr;
    gap:10px;
}
#mainform>.b>.b1>input{
    padding: 5px;
    width: 100%;
    font-size: 38px;
    line-height: 1;
    font-family: 'Titan One';
    text-align: center;
    background: #ffc79c;
    border: 2px solid #ffffff;
    color: #2b106e;
    text-shadow: 2px 2px 4px #00000099, -2px -2px 4px #ffffff94;
    border-radius: 10px;
    box-shadow: inset 3px 3px 6px #0000006b;
    letter-spacing: 4px;
    outline: none;
}
#mainform>.b>.b2{
    font-size: 14px;
    line-height: 1;
    padding: 10px 0;
    text-align: center;
}
#mainform>button{
    padding: 15px;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    background: #f7951b;
    color: white;
    border-bottom: 6px solid #c97205;
}
#footer{
    padding: 10px 20px !important;
    text-align: center;
    font-size: 12px;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}
#initializingcamera,#rejectedcamerapermision{
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
    height: 100%;
    width: 100%;
    padding: 20px;
    background-color: #ffffff3d;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
    background-image: url(https://cdn.aftereo.com/ujian/ijinkamera.webp);
    background-size: 300px;
    background-repeat: no-repeat;
    background-position: top;
    transition: all .4s ease;
    transform: translateX(-100%);
}
#rejectedcamerapermision{
    transform: translateX(0) translateY(-100%);
    background-image: url(https://cdn.aftereo.com/ujian/ijinditolak.webp);
}
#initializingcamera.active{
    transform: translateX(0);
}
#rejectedcamerapermision.active{
    transform: translateX(0) translateY(0);
}
#initializingcamera>div,#rejectedcamerapermision>div{
    padding: 20px;
    background: white;
    box-shadow: 5px 5px 20px #0000005c;
    border-radius: 10px;
    white-space: break-spaces;
}
#usercamholder{
    position: fixed;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    background: black;
    border-radius: 50%;
    border: 4px solid #ffc79c;
    box-shadow: 3px 3px 6px black;
}
#usercam{
    width: 140%;
    height: 140%;
    position: absolute;
    top: -20%;
    left: -20%;
}
@media (orientation: landscape) and (max-height: 600px) {
    #page{
        display: flex;
        justify-content: center;
        align-items: center;
        background: url(https://cdn.aftereo.com/ujian/bgpc.webp);
        background-size: cover;
    }
    #master{
        display:grid;
        grid-template-columns:300px 300px;
        height: 300px;
        width: 600px;
        border-radius: 10px;
        box-shadow: 10px 10px 30px #0000008c;
        overflow: hidden;
        background: #ffe1ca;
    }
    #usercamholder{
        width: 100px;
        height: 100px;
        border: 10px solid white;
    }
}
@media (orientation: landscape) and (min-height: 601px) {
    #page{
        display: flex;
        justify-content: center;
        align-items: center;
        background: url(https://cdn.aftereo.com/ujian/bgpc.webp);
        background-size: cover;
    }
        #master{
        height: 80%;
        width: 370px;
        border-radius: 10px;
        box-shadow: 10px 10px 30px #0000008c;
        overflow: hidden;
        background: #ffe1ca;
    }
        #usercamholder{
        width: 150px;
        height: 150px;
        border: 10px solid white;
    }
}