@import "https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/versions/bulma-no-dark-mode.min.css";
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* Base */
:root {
    --primary: #6D53A1;
    --primary-alpha: #6D53A133;
    --primary-color: #222;
    --primary-hover: #6649A1;
    --primary-light: #6f5b98;
    --primary-lighter: #7A6C96;
    --background-color: #1C1C1C;
    --background-secondary: #282156;
    --border-color: #4F4F4F;
    --main-color: #fafafa ;
}

html,
body {
    font-family: Raleway, system-ui, sans-serif;
    background-color: var(--background-color);
    color: var(--main-color);
    min-height: 100svh;
    width: 100%;
}

label.label {
    color: var(--main-color);
}

.title {
    --bulma-title-color: var(--main-color);
}

.subtitle {
    --bulma-subtitle-color: var(--main-color);
}

.is-dark {
    background-color: var(--background-color) !important;
    color: var(--main-color);
}

.is-kleepo {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--main-color);
    box-shadow: none;
}

.is-kleepo:hover {
    background-color: var(--primary-hover);
}

.is-kleepodark {
    background-color: var(--background-secondary);
}

.is-color-kleepo {
    color: var(--primary-lighter);
}

.has-gap-1 {
    gap: 4px;
}

.has-gap-2 {
    gap: 8px;
}

.has-gap-3 {
    gap: 12px;
}

/* Box icon fix */
.button .bx {
    margin-right: 2px;
}

/* Hero */
.navbar {
    --bulma-navbar-burger-color: var(--primary);
    --bulma-navbar-height: 68px;
}

.navbar-brand .navbar-item {
    color: var(--primary-hover);
    font-family: 'Balsamiq Sans', system-ui, sans-serif;
    font-size: 1.5rem;
}

.content-hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - 68px);
    width: 100%;
}

.content-hero>.container {
    height: 100%;
    transform: translateY(-36px);
}

.content-hero .hero-image {
    max-height: 560px;
    border-radius: 12px;
    overflow: hidden;
}

.with-gradient {
    background:
        linear-gradient(to bottom, var(--background-color) 70%, transparent 100%),
        radial-gradient(circle at center,
            var(--primary-alpha) 4px,
            transparent 4px),
        var(--background-color);
    /*background: linear-gradient(to bottom, var(--background-color) 70%, var(--primary-alpha) 100%);*/
    background-size: 100% 100%, 14px 14px;
    background-position: 0 0, 0 70%;
    background-repeat: no-repeat, repeat;
}

/* Kleepo button in navbar */
a.navbar-item.is-kleepo {
    background-color: var(--primary);
}

a.navbar-item.is-kleepo:hover {
    background-color: var(--primary-hover);
}

/* Home Page */
.section {
    position: relative;
}

.f-img img {
    height: 180px;
}

.f-title {
    line-height: 2.2rem;
}

/* Big Forms */
.is-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 16px;
    max-width: 480px;
}

.is-centered form {
    width: 100%;
}

.is-section-title {
    width: 100%;
    color: var(--primary-lighter);
    font-size: 1.9rem;
    line-height: 1.65rem;
}

.is-section-main {
    width: 100%;
    font-size: 1.4rem;
    line-height: 1.65rem;
    font-weight: normal;
}

.is-section-submain {
    font-size: 1.1rem;
    line-height: 1.65rem;
}

.radiolabel {
    color: var(--primary-lighter);
    width: 96px;
    text-align: left;
}

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

.radiolabel:first-child {
    text-align: right;
}

.radiolike {
    display: block;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
}

.radiocolumn .radiolike {
    border-radius: 0;
    border-bottom-color: transparent;
}

.radiocolumn .radiolike:first-of-type {
    border-radius: 8px 8px 0 0;
}

.radiocolumn .radiolike:last-child {
    border-radius: 0 0 8px 8px;
    border-bottom-color: var(--border-color);
}

.radiolike.radiotag {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 16px;
}

.radio {
    display: none;
}

.radio:checked + .radiolike {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-alpha);
}

.is-a-card {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.image.is-96x96 {
    min-width: 96px;
}

.image.is-64x64 {
    min-width: 64px;
}

.is-list {
    list-style-type: disc;
    margin-left: 20px;
}

.is-tags {
    min-height: 50px !important;
}

/* Htmx transition */
.swappable {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms ease-out, transform 300ms ease-out;
}

.swappable.htmx-swapping,
.swappable.htmx-added {
    opacity: 0;
    transform: translateY(12px);
}

/* Script */
.script {
    padding: 8px;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
}

/* Login - Signup */
.signup {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--background-secondary)
}

/* Resources */
.document {
    margin: 16px;
    padding: 16px 24px;
    box-shadow: 0 0 8px 8px rgba(0,0,0,0.1);
    text-align: justify;
}

.document h1 {
    font-size: 1.6rem;
    font-weight: bold;
}

.document h6 {
    font-weight: bold;
    font-size: 1.1rem;
}

.document p {
    margin-bottom: 12px;
}