/* Global */

:root {
    --main-color: #555555;
    --accent-color: #2064f8;
    --accent-color-active: #79a3ff;
    --text-color: #FFFFFF;
    --blur-bg: rgba(0, 0, 0, 0.4);
}
html {
    font-family: sans-serif;
    color: var(--text-color);
    background-color: #2b8bff;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("/assets/blurry-gradient.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeInBackground 1.5s ease-in-out forwards;
    pointer-events: none;
    z-index: -1;
}
@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
}

/* TopBar */
div.topbar {
    width: 100%;

    background: var(--blur-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    height: 50px;
    display: flex;
}

/* Body holder */
div.page-icon-holder {
    width: 100%;
    display: flex;
}
img.page-icon {
    display: block;
    max-width: 150px;
    margin: 0 auto;
}
div.bodyHolder {
    width: 100%;
    height: calc(100% - 50px);
    overflow-y: scroll;
    display: flex;
    justify-content: center;
}
div.body400 {
    max-width: 400px;
}
div.body {
    width: 100%;
    margin: 16px 16px;
}
a.link {
    text-decoration: none;
    color: #0033ff;
}
a.link:hover {
    color: #7e98ff;
}
.spacer {
    height: 60px;
    width: 100%;
}

/* Form */
.formmsg {
    background-color: var(--blur-bg);
    border-radius: 5px;
    padding: 8px;
    display: none;
    margin-top: 16px;
}
form.yform label,
form.yform input[type=text],
form.yform input[type=password],
form.yform input[type=email],
form.yform input[type=submit] {
    display: block;
    width: 100%;
    border: none;
    box-sizing: border-box;
    margin: 8px 0;
}
form.yform input[type=text],
form.yform input[type=password],
form.yform input[type=email],
form.yform input[type=submit] {
    padding: 16px;
}
form.yform input[type=text],
form.yform input[type=password],
form.yform input[type=email] {
    background: var(--blur-bg);
    color: white;
    font-size: 18px;
}
form.yform input[type=text]:focus,
form.yform input[type=password]:focus,
form.yform input[type=email]:focus {
    outline: none;
}
form.yform input[type=submit] {
    background-color: var(--accent-color);
    color: white;
    text-transform: capitalize;
}
form.yform input[type=submit]:active {
    background-color: var(--accent-color-active);
}
