@font-face {
    font-family: "mitra";
    src: url('./Font/Bmitra.ttf') format('truetype'),
    url('./Font/Bmitra.woff') format("woff"),
    url('./Font/Bmitra.woff2') format("woff2");
}

@font-face {
    font-family: "cinema";
    src: url('./Font/Cinema.ttf') format('truetype'),
    url('./Font/Cinema.woff') format("woff"),
    url('./Font/Cinema.woff2') format("woff2");
}

@font-face {
    font-family: "arialroundedmtbold";
    src: url('./Font/arialroundedmtbold.ttf') format('truetype'),
    url('./Font/arialroundedmtbold.woff') format("woff"),
    url('./Font/arialroundedmtbold.woff2') format("woff2");
}
picture, picture img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
html, body {
    overflow-x: hidden;
    overflow-y: hidden;
}

body {
    background-size: cover;
    font-family: "cinema", "arialroundedmtbold", serif;
    color: #111827;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 40px 20px;
    font-size: 30px;
}

.glass-box {
    font-family: "cinema", "arialroundedmtbold", serif;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 35px;
    padding: 15px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    text-align: center;
    margin: 10px 0;
    font-size: 30px;
}

input[type="text"], input[type="password"] {
    font-family: "cinema", "arialroundedmtbold", serif;
    width: 95%;
    padding: 18px;
    margin: 14px 0;
    border: none;
    border-radius: 20px;
    font-size: 30px;
    direction: rtl;
    background: rgba(255,255,255,0.08);
    color: #111827;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

input::placeholder {
    color: #374151;
}

input:focus {
    outline: none;
    background: rgba(255,255,255,0.35);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

#btnsub {
    font-family: "cinema", "arialroundedmtbold", serif;
    display: inline-block;
    padding: 12px 28px;
    background: rgba(0,153,0,0.1);
    color: #111827;
    border: none;
    border-radius: 20px;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#btnsub:hover {
    background: rgba(0,120,0,0.2);
}

#btnsub:active {
    background: rgba(0,90,0,0.3);
}


h1 {
    margin: 12px 0;
    font-size: 30px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: #111827;
}

input::placeholder {
    color: #374151;
    font-size: 23px;
}

input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    body {
        background-size: cover;
        font-size: 50px;
    }

    .glass-box {
        min-width: 120%;
        padding: 30px;
        font-size: 50px;
    }

    input[type="text"], input[type="password"] {
        width: 100%;
        font-size: 25px;
        padding: 17px;

    }

    #btnsub {
        min-width: 140px;
        font-size: 25px;
        padding: 12px 24px;
    }

    h1 {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .glass-box {
        min-width: 120%;
        padding: 25px;
        font-size: 50px;
    }

    input[type="text"], input[type="password"] {
        width: 100%;
        font-size: 25px;
        padding: 18px;
    }

    #btnsub {
        min-width: 150px;
        font-size: 25px;
        padding: 14px 28px;
    }

    h1 {
        font-size: 50px;
    }
}
