<style >
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Prompt", sans-serif;
    background-color: blue;
    cursor: pointer;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#main-canvas {
    height: 10%; /*bylo vh*/
    width: 100%; /*bylo 10vw*/
    /*border-bottom: 1px solid black;*/
    box-sizing: border-box;
}

#work-canvas {
    flex-grow: 1;
    width: 100%;
    height: 90%;
    /*border-top: 1px solid black;*/
    box-sizing: border-box;
}

#banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid black;
    border-radius: 10px;
    display: none;
    width: 55%;
    height: auto;
    max-width: 600px;
    max-height: 400px;
    margin-top: 15px;
    overflow: hidden;
    font-size: 1.5em; /* Proporcjonalne powiększenie czcionki */
    justify-content: space-between;
    text-align: center;
}
@media (orientation: portrait) {
    #banner {
        width: 75%;
        max-width: 100px;
        font-size: 1em;
    }

}

/* Dodatkowy styl dla menu */
#menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid black;
    border-radius: 10px;
    width: 45%;
    height: auto;
    max-width: 400px;
    max-height: 100%;
    overflow: hidden;
    font-size: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
@media (orientation: portrait) {
    #menu {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 1%;
        background-color: rgba(255, 255, 255, 0.9);
        border: 2px solid black;
        border-radius: 10px;
        width: 75%;
        height: auto;
        max-width: 400px;
        max-height: auto;
        overflow: auto;
        font-size: 1em;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

.input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .input-row label {
        margin-right: 10px;
        font-size: 1em;
    }

    .input-row input {
        /*flex-grow: 1; */
    }
        @media (orientation: portrait) {
            .input-row input {
                font-size: 2.5em;
            }
        }


    button {
        margin-top: 10px;
    }

    .buttony-W-menu {
        display: flex;
        justify-content: center;
        margin-top: 20px; /* Opcjonalny odstęp od poprzednich elementów */
    }

    .buttonyWmenu {
        width: 30%;
        height: 20%;
        font-size: 1em;
        text-align: center;
        margin: 0 10px; /* Odstęp między przyciskami */
        border-radius: 8px;
    }

    #backButton {
        position: fixed;
        width: 5vw; /* Zmniejszono szerokość kwadratów */
        height: 2vw; /*Dopasowanie wysokości do szerokości */
        font-size: 1vw;
        top: 0;
        right: 0;
        margin-right: 0;
        margin-top: 0px;
        z-index: 999; /* Zwiększenie indeksu, aby przycisk był na wierzchu */
    }

    #backToMenukButton {
        position: fixed;
        width: 5vw; /* Zmniejszono szerokość kwadratów */
        height: 2vw; /*Dopasowanie wysokości do szerokości */
        font-size: 1vw;
        top: 0;
        left: 0;
        margin-left: 0;
        margin-top: 0px;
        z-index: 999; /* Zwiększenie indeksu, aby przycisk był na wierzchu */
    }
 
    .prompt-regular-italic {
        font-family: "Prompt", sans-serif;
        font-weight: 400;
        font-style: italic;
    }

    .custom-input {
        width: 20%;
        height: 10%;
        font-size: 1.5em;
        text-align: center;
        margin-top: 2%;
        /*justify-content: right;*/
        display: inline-block;
    }

    .custom-input-select {
        padding: 5px;
        font-size: 16px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }

    </style >
