/*
 * smazinka.eu styles (on top of Bootstrap 5).
 */

:root {
    --main-color: #343a40;
    --bg-color: #faf8ef;
    --frasm-progress-color: var(--main-color);
}

body {
    background-color: var(--bg-color);
}

.site {
    max-width: 960px;
}

h5, .name {
    color: var(--main-color);
}

.love {
    color: red;
}

.footer {
    margin-bottom: 10px;
}

.login-card {
    max-width: 380px;
}

.lang-switch a {
    color: var(--main-color);
    text-decoration: none;
    margin: 0 .2rem;
    opacity: .6;
}

.lang-switch a[aria-current] {
    font-weight: 700;
    opacity: 1;
}

.account-link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--main-color);
    text-decoration: none;
}

.account-link:hover {
    color: #000;
}

/* Push notification bell (administrators) ------------------------------------ */

/* Header tools: bell, profile, user administration (top right) */
.header-tools {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    z-index: 1;
}

.push-bell {
    position: relative;
}

.push-bell__button,
.header-tool {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.push-bell__button[aria-pressed="true"] {
    background-color: var(--main-color);
    color: #fff;
}

.push-bell__button.is-muted {
    opacity: .55;
}

.push-bell__status {
    position: absolute;
    top: 100%;
    right: 0;
    width: max-content;
    max-width: 15rem;
    margin: .5rem 0 0;
    padding: .4rem .6rem;
    text-align: right;
    background: #fff;
    border-radius: .375rem;
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
}

.push-bell__status.is-visible {
    opacity: 1;
    visibility: visible;
}
