body {
    font-family: "Noto Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    html {
        color-scheme: dark;
    }
}

.emoji {
    font-family: "Noto Emoji", sans-serif;
}

main {
    position: relative;
    width: 100dvw;
    height: 60dvh;
    /* padding: 30px; */
}

#main-text {
    text-align: center;
    margin: auto;
    position: absolute;
    inset: 0;
    width: fit-content;
    height: fit-content;
    font-size: 3em;
    word-break: auto-phrase;
}

#share {
    text-align: center;
    margin: 30px;
}

#gen-url {
    position: relative;
    text-align: center;
    font-size: 1.5em;
}

.gen-url-input-input {
    outline: none;
    border: none;
    border-bottom: solid 1px #999;
    font-size: 1em;
    text-align: center;
    border-radius: 0;
    background: none;
}

input.gen-url-input-input {
    width: 5em;
}

footer {
    position: fixed;
    width: 100dvw;
    border-top: solid 1px #ccc;
    /* height: 50px; */
    /* min-height: max-content; */
    bottom: 0;
    text-align: end;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

#footer-url {
    margin: 10px;
    flex: none;
}

#dic {
    margin: 10px;
    flex: none;
}

#inquiry {
    margin: 10px;
    flex: none;
    max-width: 100%;
    display: flex;
    flex-flow: row wrap;
}

#inquiry div {
    flex: none;
}

#inquiry a {
    flex: none;
    display: block;
}

@media (max-width: 800px) {
    footer {
        position: relative;
        margin-top: 30px;
    }

    #inquiry {
        flex-direction: column;
    }
}
