/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body,
dialog {
    background-color: #161616;
    color: whitesmoke;
}

dialog {
    border-radius: 1rem;
    border-color: gray;
}

button,
.as-button {
    background: #bebebe;
    border: 1px solid;
    padding: 0.25rem;
    border-radius: 5px;
    cursor: pointer;
    color: #333;
    text-decoration: none;
    font-size: initial;

    &:hover {
        background: lightgray;
    }
}

.side-buttons {
    position: fixed;
    right: 2rem;
    z-index: 1;

    :first-child {
        margin-bottom: 0.2rem;
    }
}

img.preview {
    width: 20vw;
}

body {
    font-size: 120%;
}

h1 {
    margin: 0 auto;
    text-align: center;
    font-size: xxx-large;
}

a {
    color: #00b7ff;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
