@import url("pico.violet.css");
@import url("flip.css");
@import url("font_sizes.css");
@import url("essential_audio.css");
@import url("volume_button.css");

nav {
    border-top: groove #6abcea;
    border-bottom: groove #6abcea;

    margin-left: 1%;
    padding-left: 3%;
    padding-right: 3%;
    margin-right: 1%;
}

main {
    padding-left: 5%;
    padding-right: 5%;
}

footer {
    font-style: italic;
    padding-left: 2%;
}

section#tarot-main {
    width: 75%;
}

section.card-container {
    padding-right: 2em;
}
section.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;

    .vertically-centered-flavor {
        margin-top: 30%;
    }
}

.box {
    display: flex;
    justify-content: safe center;
    align-items: safe center;
    height: 100%;
    gap: 5%;
}

/* other */

audio {
    bottom: 0;
    position: fixed;
    left: 0;
}

.row {
    display: flex;
}

/* Create two equal columns that sits next to each other */
.column {
    padding: 5px;
}

/* text formatting */
.dialogue-container {
    display: grid;
    * {
        font-style: italic;
        margin-bottom: 0;
    }
    small {
        margin-left: auto;
    }
}

/* Input */

.form-container {
    margin-top: auto;
    margin-bottom: 0;

    padding-top: 10%;

    display: flex;
    justify-content: center;
    width: 100%;
    --pico-font-size: 0.75%;
    #solve-form {
        margin-bottom: 0;
        --pico-line-height: 1;
        flex-grow: 1;
        fieldset {
            margin-bottom: 0;
            input {
                font-size: 0.75rem;
                text-transform: uppercase;
                /* max-width: 50%; */
            }
            button {
                /* font-size: 0.75rem; */
                text-align: center;
                /* overflow: hidden; */
                white-space: nowrap;
            }
        }
    }
}

/* Phone considerations  */
@media (orientation: portrait) {
    :root {
        --font-scale-relative: 2.2vmin;
        --font-scale-absolute: 20px;
    }
    section#tarot-main {
        width: 90%;
    }

    section.flex-column .vertically-centered-flavor {
        margin-top: 5%;
    }
}
