@media (max-width: 10in) {

    body, html{
        width: 100%;
    }

    body {
        position: absolute;
    }

    /* Adjust logo size dynamically */
    #header img {
        height: 12vh;
        margin-top: 5vh;
        justify-self: left;
        pointer-events: none;
    }

    /* Improve button layout for mobile */
    #header-buttons {
        display: flex;
        flex-direction: column; /* Stacks buttons vertically on mobile */
        align-items: center;
        gap: 10px;
    }

    /* Make buttons touch-friendly */
    button {
        font-size: 18px;
        padding: 12px 20px;
    }

    /* Adjust navigation button alignment */
    #navButtonsContainer {
        display: flex;
        flex-direction: row; /* Stack buttons vertically */
        align-items: center;
        justify-content: space-evenly;
        gap: 10px;
        width: calc(100vw - 6vw);
        padding: 0 3vw;
    }

    #navButtonsContainer > button {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
        font-size: 90%;
    }

    #navButtonsContainer > div {
        display: none;
    }
    #bdright{
        display: none;
    }
    #bkmain {
        margin: 3vw;
        margin-top: 0%;
    }
}
