<!DOCTYPE html>
<html lang="en">
<head>
    <script src="/lib/ejs.js"></script>
    <script src="/lib/fn.js"></script>
    <!-- <script src="/lib/interact.min.js"></script> -->
    <script src="/lib/jquery.js"></script>
    <script src="/lib/jquery.cookie.js"></script>
    <script src="/lib/aes.js"></script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> <%= name %> </title>
    <script>
        oncontextmenu = (e) => {
            e.preventDefault()
        }
        if(document.title == "login"){
            // console.log(document.title);
            log_by_sid();
        }else if(document.title != "login"){
            check_sid(true);
            // console.log("check");
        }
    </script>
    <style>
        :root{
            --login-inp-w:30vw;
            --login-inp-h: 7.8vh;
            --main-font-size: 1.3vw;
        }
        .main{
            width: 90vw;
            margin: auto;
            padding-block: 20px;
        }
        html{
            background-color:aliceblue;
            padding: 0px;
            margin: 0px;
        }
        body{
            padding: 0px;
            margin: 0px;
        }
        *{
            font: "Circe Rounded";
            font-size: var(--main-font-size);
            font-weight:100;
            color: #3C3C3C;
        }
        @media (max-width: 900px) {
            :root{
                --main-font-size: 12px;
            }
        }
    </style>
</head>
<body>

