:root {
    --theme-primary: #7104d7;
    --theme-primary-text: #fff;
    --action-secondary: #ddd;
    --action-secondary-text: #333;
    --spinner-size: 1.5rem;
    --spinner-thickness: 2px;
}

:root,
button {
    font: normal 14px 'Sofia Sans';
}

body {
    margin: 0;
    background: #f8f8f8;
    overflow-y: hidden;
    max-width: 1200px;
}

input, select {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid;
    background: #00000002;
    padding: 0.5rem;
    outline-color: var(--theme-primary);
}

button:not(.special).secondary {
    background: var(--action-secondary);
    color: var(--action-secondary-text);
}

button:not(.special) {
    margin: 0;
    border: 0;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    cursor: pointer;
    background: var(--theme-primary);
    color: var(--theme-primary-text);
    box-shadow: 0 2px 5px #00000040;
    transition: all 0.2s;
}

button:not(.special)[disabled] {
    background: #eee;
    color: #999;
    box-shadow: none;
    cursor: unset;
}

button:not(.special):not([disabled]):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 7px #00000040;
}

nav a {
    font-size: 1.25rem;
    text-decoration: none;
    padding: 0.5rem;
    cursor: pointer;
}

nav a.active {
    color: var(--theme-primary);
    border-bottom: 1px solid;
}

button.login-status {
    border: 0;
    cursor: pointer;
    height: 2rem;
    width: 8rem;
    background: #00000010;
    border-radius: 5rem;
    transition: all 0.2s;
}

button.login-status:hover {
    background: #00000080;
    color: #fff
}

.qrReader canvas {
    object-fit: cover;
}

.qrReader {
    position: relative;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 5px #00000030;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    max-height: 400px;
}

*[hidden] {
    display: none !important
}

div.spinner {
    height: var(--spinner-size);
    width: var(--spinner-size);
    display: inline-block;
    box-sizing: border-box;
    border-radius: 50%;
    border: var(--spinner-thickness) solid;
    border-color: var(--theme-primary) #00000020 #00000020;
    animation: 1.3s cubic-bezier(0.53, 0.21, 0.29, 0.67) infinite rotate-360;
}

@keyframes rotate-360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

img.icon {
    height: 1.25rem;
}

.fill-vp-width {
    width: 100vw;
    box-sizing: border-box;
}

.flex-centre,
.flex {
    display: flex
}

.grid-centre,
.grid {
    display: grid
}

.flex-centre,
.grid-centre {
    justify-items: center;
    align-items: center;
    justify-content: center;
}

.flex-dir-col {
    flex-direction: column;
}

.padding-1 {
    padding: 1rem
}

.gap-1 {
    gap: 1rem
}

.centre-text {
    text-align: center;
}

.shadow-1 {
    box-shadow: 0 0 6px #00000020
}

.size-to-parent {
    height: 100%;
    width: 100%;
}

.rounded-1 {
    border-radius: 5px;
}

.errorMsg {
    color: #b82727;
    font-weight: bold;
}

.text-l1 {
    font-size: 1.25rem;
}

.bold {
    font-weight: bold;
}

.absolute-tl {
    position: absolute;
    top: 0;
    left: 0
}

.fadeIn {
    animation: fadeIn 0.4s
}


.float-on-hover {
    transition: all 0.3s;
    cursor: pointer;
}

.float-on-hover:hover {
    transform: translateY(-5px);
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}