*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html, body {
    height: 100%;
}

body {
    background: #36d1dc;
    background: linear-gradient(to left, #5b86e5, #36d1dc);
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Titillium Web', sans-serif;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes reveal {
    0% {
        top: 1em;
        opacity: 0;
        background-color: white;
        filter: blur(4px);
    }

    50% {
        top: 0;
        opacity: 1;
        filter: blur(0px);
    }

    100% {
        background-color: transparent;
    }
}

[v-cloak] {
    display: none;
}

#app {
    display: grid;
    justify-content: center;
    align-content: center;
    gap: 20px;
    min-height: 100vh;
}

#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    color: whitesmoke;
}

.reveal {
    position: relative;
    animation: reveal 2s;
    padding: 4px;
}

.window {
    border: 2px solid #222;
    background: #ece9e6;
    background: linear-gradient(to bottom, #ffffff, #ece9e6);
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.4);
    min-width: 30vw;
    animation: fade 0.5s;
}

.window > * {
    padding: 8px;
}

.window h3 {
    background: #485563;
    background: linear-gradient(to left, #29323c, #485563);
    border-bottom: 2px solid #ddd;
    color: whitesmoke;
}

.window:first-child {
    margin-top: 2em;
}

.window:last-child {
    margin-bottom: 2em;
}

fieldset {
    display: block;
    margin: 8px;
}

.fields {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.fields input, .fields select {
    min-width: 80%;
}

input, select, button {
    padding: 5px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 100%;
}

table {
    width: 100%;
    border: 2px solid #ddd;
    border-collapse: collapse;
}

table input, table select {
    min-width: 0 !important;
    width: auto;
}

th {
    text-align: left;
}

th, td {
    border: 2px solid #ddd;
    padding: 4px;
}

tbody tr {
    transition: 0.25s all;
}

tbody tr.selected {
    background-color: #485563;
    color: #ece9e6;
}

tbody tr:hover {
    background-color: #fffeee;
}