@font-face {
    font-family: Karla;
    src: url("../fonts/Karla/Karla-VariableFont_wght.ttf") format("truetype");
    font-weight: 1 999;
}
@font-face {
    font-family: Rubik;
    src: url("../fonts/Rubik/Rubik-VariableFont_wght.ttf") format("truetype");
    font-weight: 1 999;
}

@media (max-width: 768px) {
    .container {
        max-width: 90vw;
    }
}

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

btn:focus, a:focus {
    outline: none;
}

.censored {
    -webkit-filter: blur(.25rem);
    -moz-filter: blur(.25rem);
    -ms-filter: blur(.25rem);
    -o-filter: blur(.25rem);
    filter: blur(.25rem);
    -webkit-transition: -webkit-filter .2s ease;
    -moz-transition: -moz-filter .2s ease;
    -ms-transition: -ms-filter .2s ease;
    -o-transition: -o-filter .2s ease;
    transition: filter .2s ease;
}

.censored:hover, .censored:focus {
    -webkit-filter: blur(0);
    -moz-filter: blur(0);
    -ms-filter: blur(0);
    -o-filter: blur(0);
    filter: blur(0);
}

/* customize form-control start */
textarea.form-control {
    min-height: 100px;
}
.censored-form-control input, .censored-form-control textarea, .censored-form-control select{
    -webkit-filter: blur(.25rem);
    -moz-filter: blur(.25rem);
    -ms-filter: blur(.25rem);
    -o-filter: blur(.25rem);
    filter: blur(.25rem);
    -webkit-transition: -webkit-filter .2s ease;
    -moz-transition: -moz-filter .2s ease;
    -ms-transition: -ms-filter .2s ease;
    -o-transition: -o-filter .2s ease;
    transition: filter .2s ease;
}
.censored-form-control:hover input, .censored-form-control input:focus, .censored-form-control:hover textarea, .censored-form-control textarea:focus, .censored-form-control:hover select, .censored-form-control select:focus {
    -webkit-filter: blur(0);
    -moz-filter: blur(0);
    -ms-filter: blur(0);
    -o-filter: blur(0);
    filter: blur(0);
}
.form-control, .day .form-control, * .day .form-control, .form-control:focus, .day .form-control:focus, * .day .form-control:focus {
    background-color: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.1);
    color: var(--bs-dark);
}
.night .form-control, * .night .form-control, .night .form-control:focus, * .night .form-control:focus{
    background-color: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.1);
    color: var(--bs-white);
}
.form-control{
    -webkit-backdrop-filter: blur(.75rem) saturate(153%);
    backdrop-filter: blur(.75rem) saturate(153%);
}
.form-control.is-invalid {
    border-color: var(--bs-danger) !important;
}
.form-control.is-valid {
    border-color: var(--bs-success) !important;
}

[disabled] {
    cursor: not-allowed;
}

.ajax-form .valid-feedback, .ajax-form .invalid-feedback {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
}
.ajax-form .valid-feedback.hidden, .ajax-form .invalid-feedback.hidden{
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    overflow: auto;
    max-height: 0;
    opacity: 0;
    display: block;
    visibility: visible;
}

/* customize form-control end */






html {
    z-index: 500;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html, body {
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

#top {
    height: 0;
}

#toTop {
    position: fixed;
    opacity: 0;
    bottom: 0;
    right: 3rem;
    align-items: center;
    aspect-ratio: 1/1;
    transition: all .5s;
    z-index: 1000;
}
#toTop.shown {
    opacity: 1;
    bottom: 2rem;
}

#adminToolbox {
    z-index: 1000;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: solid .125rem var(--bs-primary);
    border-right: solid .125rem var(--bs-primary);
    border-bottom: solid .125rem var(--bs-primary);
    border-radius: 0 1rem 1rem 0;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%); /* WebKit */
    -moz-transform: translateY(-50%); /* Mozilla */
    -o-transform: translateY(-50%); /* Opera */
    -ms-transform: translateY(-50%); /* Internet Explorer */
    transform: translateY(-50%); /* CSS3 */
    -webkit-transition: opacity .2s ease, -webkit-transform .2s ease;
    -moz-transition: opacity .2s ease, -moz-transform .2s ease;
    -ms-transition: opacity .2s ease, -ms-transform .2s ease;
    -o-transition: opacity .2s ease, -o-transform .2s ease;
    transition: opacity .2s ease, transform .2s ease;
}

body[data-hide-admin-tools="true"] .admin-tool {
    display: none;
}

#adminToolbox hr {
    color: var(--bs-white);
    margin: 0;
    width: 75%;
}

#adminToolbox .admin-tool-item {
    color: var(--bs-white);
    text-decoration: none;
}

#adminToolbox .admin-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem;
}

body:not([data-hide-admin-tools="true"]) #adminToolbox .admin-tool-item[data-tool-name="show-admin-tools"] {
    display: none;
}

[data-hide-admin-tools="true"] #adminToolbox .admin-tool-item[data-tool-name="hide-admin-tools"] {
    display: none;
}

#adminToolbox .admin-tool-item .admin-tool-icon {
    font-size: 1rem;
    -webkit-transition: font-size .2s ease;
    -moz-transition: font-size .2s ease;
    -ms-transition: font-size .2s ease;
    -o-transition: font-size .2s ease;
    transition: font-size .2s ease;
}

body:not([data-hide-admin-tools="true"]) #adminToolbox .admin-tool-item:hover .admin-tool-icon {
    font-size: 1.5rem;
}

#adminToolbox .admin-tool-item .admin-tool-name {
    font-size: .6rem;
}

#notificationBar {
    position: fixed;
    z-index: 750;
    right: 0;
    width: 350px;
    max-width: 100%;
    overflow-y: auto;
    -webkit-transition: height .2s ease;
    -moz-transition: height .2s ease;
    -ms-transition: height .2s ease;
    -o-transition: height .2s ease;
    transition: height .2s ease;
}
@media (max-width: 500px) {
    #notificationBar {
        width: 100%;
    }
}

#notificationBar .toast-container {
    position: relative;
    width: 100%;
    z-index: 1000;
}

#notificationBar .toast-container .toast-item {
    position: absolute;
    width: 100%;
    padding: 1rem 1rem 0;
    -webkit-transition: top .2s ease;
    -moz-transition: top .2s ease;
    -ms-transition: top .2s ease;
    -o-transition: top .2s ease;
    transition: top .2s ease;
}
#notificationBar .toast-container .toast-item:last-of-type {
    padding-bottom: 1rem;
}

#notificationBar .toast {
    width: 100%;
    max-width: 80vw;
    margin: auto;
}

footer {
    margin-top: auto !important;
}

.anchor {
    display: block;
    position: relative;
    visibility: hidden;
    height: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}

.hidden-link:not(:hover) {
    color: inherit;
    text-decoration: inherit;
}
.hidden-link {
    transition: color .2s;
}
.link-default, .link-default:visited, .link-default:hover, .link-default:active, .link-default:focus, .link-default:active:hover {
    font-style: inherit;
    color: inherit;
    background-color: transparent;
    font-size: inherit;
    text-decoration: none;
    font-variant: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-family: inherit;
    border-radius: inherit;
    border: inherit;
    outline: inherit;
    box-shadow: inherit;
    padding: inherit;
    vertical-align: inherit;
}

.modal {
    padding: 3rem !important;
}

.icon-link {
    display: inline-flex;
    align-items: center;
}
.icon-link > .bi {
    margin-top: .125rem;
    margin-left: .125rem;
    transition: transform .2s ease;
    fill: currentColor;
}
.icon-link:hover > .bi {
    transform: translate(.25rem);
}

.dropdown-menu {
    padding: .5rem;
}
.dropdown-menu .dropdown-item {
    border-radius: .25rem;
}


.waves {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../media/waves.svg");
}

.waves-fixed {
    background-attachment: fixed;
}


img[data-loading-status] {
    -webkit-transition: opacity .1s ease;
    -moz-transition: opacity .1s ease;
    -ms-transition: opacity .1s ease;
    -o-transition: opacity .1s ease;
    transition: opacity .1s ease;
    position: relative;
}
img[data-loading-status="loading"] {
    opacity: 0;
}
img[data-loading-status="loaded"] {
    opacity: 1;
}