.show {
    display: inline-block;
}

.no-show {
    display: none !important;
}

:root {
    --color-light: rgb(100, 109, 159);
    --color-primary: rgb(27, 30, 43);
    --color-darker: rgba(53, 58, 76);
    --color-darkest: rgb(53, 58, 76);
    --color-darkest-lt: rgb(67, 72, 90);
    --color-accent: rgb(114, 137, 218); 
    --color-accent-numbers: 114, 137, 218; 
    --color-accent-darker: rgb(78, 86, 133);
    --color-secondary: rgba(255, 255, 255);
    --color-text: rgba(255, 255, 255);
    --color-text-dark: rgba(27, 30, 43);
    --color-text--strong: #FFFFFF;
    --color-text--disabled: #6e7480;
    --color-danger: rgb(194, 88, 88);
    --color-warning: rgb(209, 79, 79);
}

@font-face {
    font-family: AppRegular;
    src:local('-apple-system'),
        local('BlinkMacSystemFont'),
        local('Segoe UI'),
        local('Noto Sans'),
        local('Roboto'),
        local('Helvetica'),
        local('sans-serif');
}

@font-face {
    font-family: AppSemiBold;
    src:local('-apple-system'),
        local('BlinkMacSystemFont'),
        local('Segoe UI'),
        local('Noto Sans'),
        local('Roboto'),
        local('Helvetica'),
        local('sans-serif');
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-primary); 
}
::-webkit-scrollbar-thumb {
    background: var(--color-text); 
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-darkest-lt); 
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
    font-family: AppSemiBold;
}

h1 {
    font-size: 60px;
}

.h2,
h2 {
    font-size: 36px;
}

.h3,
h3 {
    font-size: 18px;
}

button,
span,
label,
.label {
    font-size: 14px;
}

.label--tiny {
    font-size: 12px;
}

p,
.text {
    font-size: 14px;
}

.text--tiny {
    font-size: 12px;
}

.text--large  {
    font-size: 18px;
}

.text-action {
    cursor: pointer;
    color: var(--color-accent);
}
.text-action:hover {
    text-decoration: underline;
}

.text-action--secondary {
    cursor: pointer;
    text-decoration: none;
    color:  var(--color-text--disabled);
}

.margin-xl-bottom {
    margin-bottom: 32px;
}

.margin-xl-top {
    margin-top: 32px;
}

@media (max-width:961px) {
    h1, h2, h3, h4, h5 {
        font-weight: normal;
        font-family: AppSemiBold;
    }
    
    h1 {
        font-size: 60px;
    }
    
    .h2,
    h2 {
        font-size: 36px;
    }
    
    .h3,
    h3 {
        font-size: 24px;
    }

    .h4,
    h4 {
        font-size: 22px;
    }
    
    input,
    button,
    span,
    label,
    .label {
        font-size: 20px;
    }
    
    .label--tiny {
        font-size: 16px;
    }
    
    p,
    .text {
        font-size: 16px;
    }
    
    .text--tiny {
        font-size: 16px;
    }
    
    .text--large  {
        font-size: 26px;
    }
}

*, *::after, *::before {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-family: AppRegular;
    color: var(--color-text);
}

body, html {
    background-color: var(--color-primary);
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#root {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: auto;
}

input {
    border: none;
    outline: none;
    background-color: var(--color-darkest);
}

div[contenteditable='plaintext-only']:hover
{
    cursor: pointer;
}

div[contenteditable='plaintext-only']:focus
{
    cursor: auto;
}

.element {
    border-radius: 4px;
}

.connection {
    width: 9000000px;
    height: 90000000px;
    pointer-events: none;
}

.renderer-box {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 999999999999%;
    height: 999999999999%;
    z-index: 3;
}

.navigator-visualizer,
.debug-circle {
    position: fixed;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    background-color: rgba(var(--color-accent-numbers), 0.5);
}

.navigator-visualizer:hover,
.debug-circle:hover {
    transform: scale(2);
    transition: 125ms ease-in transform;
    cursor: pointer;
}

.icon {
    cursor: pointer;
}

.icon--small {
    width: 8px;
    height: 8px;
}

.icon--medium {
    width: 14px;
    height: 14px;
}

.icon--large {
    width: 22px;
    height: 22px;
}

.editable-area,
.editable-row {
    white-space: pre;
    word-break: break-word;
}

.editable-row {
    border: none;
    width: 100%;
    outline: none;
    min-width: 36px;
    background: none;
}

.box-shadow-1 {
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
}

.resize-knob {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50px;
    left: 50px;
    transform: translate(-50%,-50%);
    cursor: pointer;
    position: absolute;
    background-color: black;
}

.renderer-connection {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: visible;
}

.notyf__icon--success::before,
.notyf__icon--success::after {
color: rgb(61, 199, 99);
}

.notyf__icon--error::before,
.notyf__icon--error::after {
color: rgb(237, 61, 61);
}

.text-editor {
    width: 100%;
    height: 100%;
    padding: 4px;
    overflow: hidden;
}

.text-editor__link {
    cursor: pointer;
    text-decoration: underline;
    color: lightblue;
}

.text-editor__link:hover {
    color: lightblue;
}


@media (max-width:961px) {

    .icon--small {
        width: 14px;
        height: 14px;
    }
    
    .icon--medium {
        width: 24px;
        height: 24px;
    }
    
    .icon--large {
        width: 32px;
        height: 32px;
    }
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    height: 13px ;
    width: 13px;
    background-color:  transparent;
    border: 1.5px solid var(--color-accent);
    border-radius: 4px;
    cursor: pointer;
    outline: none;
}

input[type= "checkbox"]::after{
    content: "";
    position: absolute;
    width: 5px;
    height: 7px;
    border-right: 2px solid var(--color-darker);
    border-bottom: 2px solid var(--color-darker);
    margin-top: 4px;
    margin-left: 5px;
    transform: translate(-50%, -50%) rotateZ(40deg);
    display: none;
   
}

input[type="checkbox"]:hover{
    background-color: var(--color-accent);
}

input[type= "checkbox"]:checked{
    background-color: var(--color-accent);
}

input[type= "checkbox"]:checked::after{
    display: block;
}

.giphy-carousel {
    display: flex;
    flex-direction: column;
    
    max-height: 356px;
    width: 356px;
}

.giphy-carousel__input {
    border: solid 2px;
    border-radius: 4px;
    border-color: var(--color-light);
    padding: 8px;
}

.giphy-carousel__grid {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow-y: auto;
}

.giphy-carousel__grid.active {
    margin-top: 8px;
}

.giphy-carousel__img {
    width: calc(25% - 4px);
    height: calc(25% - 4px);
    margin-bottom: 4px;
    cursor: pointer;
}
.color-palette {
    display: flex;
    flex-wrap: wrap;
    width: 100px;
    justify-content: flex-start;
    align-items: flex-start;
}

.color-palette__color {
    cursor: pointer;
    margin: 4px;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    transition: transform 75ms ease-in-out;
    border: solid 1px white;
}

.color-palette__color:hover {
    transform: scale(1.2);
}

.color-palette__clear {
    margin-top: 8px;
    width: 100%;
    padding: 2px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border: solid 1px var(--color-light);
    transition: border 225ms ease;
    border-radius: 4px;
}

.color-palette__clear:hover {
    border: solid 1px var(--color-text);
}
.color-palette__clear:hover .color-palette__clear-icon {
    transform: rotate(360deg) scale(1.2);
} 
.color-palette__clear-icon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 225ms ease;
}
.element-checklist {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow: hidden;
    min-width: 92px;
    min-height: 72px;
}
.element-checklist-row .element-checklist-row__check-box {
    width: 13px ;
    height: 13px;
    position: absolute;
}
 
.element-checklist-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    transition: background-color 125ms ease-in;
    
}
.element-checklist-row:hover {
    background-color:rgba(255, 255, 255, 0.1);
}
.element-checklist-row__actions {
    margin-left: 16px;
}
.element-checklist__actions {
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: 8px;
}

.element-checklist-row__text {
    cursor: auto;
    margin-left: 20px;
    min-width: 156px;
    flex-grow: 1;
    overflow: auto;
    height: auto;
    white-space: pre-wrap;
}

.element-checklist-row__text::after {
    content: '\00a0';
}

.element-checklist__add-button {
    margin-top: 8px;
    align-self: flex-end;
}

.element-checklist__title {
    min-width: 64px;
    outline: none;
    white-space: pre-wrap;
    display: inline-block;
    padding: 8px;
    overflow: auto;
}

.element-checklist__title:hover {
    cursor: pointer;
}

.element-checklist__footer {
    margin-top: 8px;
}

.element-checklist-row__check-box:checked + .element-checklist-row__text  {
    color: var(--color-accent);
    text-decoration: line-through;
}

.element-checklist-row > .element-checklist-row__check-box {
    border: 1.5px solid white;
}

.element-checklist-row > .element-checklist-row__check-box:checked,
.element-checklist-row > .element-checklist-row__check-box:hover {
    border: 1.5px solid var(--color-accent);
}

.element-header {
    display: flex;
    min-width: 92px;
    flex-direction: column;
    overflow: hidden;
    padding: 8px;
}

.element-header {
    outline: none;
    overflow: auto;
    flex-grow: 1;
    white-space: pre-wrap;
}

.element-header:empty.element-header::after {
    content: " "
}

.element-header:hover {
    cursor: pointer;
}

.element-image {
    overflow: hidden;
    min-width: 92px;
    min-height: 92px;
}

.element-note {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 132px;
    min-height: 104px;
    z-index: 1;
}

.element-note:focus,
.element-note.content,
.element-note:hover .element-note {
    height: 32px;
    margin-bottom: 6px;
    transition: transform 525ms ease-in;
}

.element-note {
    outline: none;
    padding: 8px;
    overflow: auto;
    flex-grow: 1;
    white-space: pre-wrap;
}

.element-note:hover {
    cursor: pointer;
}

.element-emoji {
    font-style: normal;
    display: inline-block;
    padding-bottom: 2px;
    font-size: 128px;
}

.element-shape-rectangle {
    min-width: 8px;
    min-height: 8px;
}
.element-shape-circle {
    min-width: 8px;
    min-height: 8px;
    border-radius: 50%;
}
.element-shape-line {
    cursor: auto;
    min-width: 8px;
    min-height: 8px;
    overflow: visible;
}

.element-shape-line circle.selected {
    display: block;
}

.element-shape-line circle {
    fill: blue;
    display: none;
}

.element-shape-line circle:hover {
    fill: red;
    cursor: pointer;
}
.element-giphy {
    overflow: hidden;
    min-width: 128px;
    min-height: 128px;
}

.tooltip {
    pointer-events: none;
    position: absolute;
    z-index: 5999999;

    top: 0px;
    left: 0px;
    opacity: 0;
    transition: opacity 175ms ease-in-out;
}

.tooltip__click-catcher {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 9999;
    height: 9999;
    z-index: 4;
    background: rgba(0, 0, 0, 0.149);
}

.tooltip__click-catcher.transparent {
    background: none;
    backdrop-filter: none;
}

.tooltip__content {
    cursor: auto;
    position: absolute;

    z-index: 5;
    padding: 8px;
    border-radius: 4px;
    background-color: var(--color-darker);
    border-radius: 3px;
}

.tooltip__content.tooltip__content--text {
    white-space: nowrap;
}

.tooltip__content.bottom {
    transform: translateX(-50%);
}

.tooltip.selected {
    pointer-events: all;
    opacity: 1;
}
.empty-block {
    width: 16px;
    height: 16px;
    background-color: transparent;
    pointer-events: none;
    position: absolute;
}
.toolbox {
    position: absolute;
    display: flex;
    flex-direction: row;
    z-index: 99999999;
    background-color: var(--color-darkest);
    border-radius: 2px
}

.toolbox.hidden {
    pointer-events: none;
    visibility: hidden;
}

.toolbox__icon-wrapper {
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    border-radius: 3px;
}

.toolbox__icon-wrapper:first-child {
    margin-left: 5px;
}


.toolbox__icon-wrapper:hover {
    background-color: var(--color-darkest-lt);
}
.toolbox__icon {
    width: 100%;
    height: 100%;
    pointer-events: all;
    user-select: none;
}
.avatar {
    width: auto;
    position: relative;
    border-radius: 16px;

    color: var(--color-text);
    text-align: center;

    font-weight: bold;

    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 100%;
    overflow: hidden;
    width: calc(72px + 8px);
    height: calc(72px + 8px);
}

.avatar__editable,
.avatar__image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.avatar__editable {
    opacity: 0;
    transition: opacity 125ms ease-in;
    background: rgba(0, 0, 0, 0.486);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar:hover .avatar__editable {
    opacity: 1;
}

.avatar__editable-icon {
    opacity: 0.7;
}

.avatar__editable-input {
    display: none;
}
.mouse {
    width: 32px;
    height: 32px;
    position: absolute;
    z-index: 9999;
}

.mouse__image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.state-chooser {
    min-width: 104px;
}
.state-chooser__option {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px;
    transition: background-color 125ms ease-in;
}
.state-chooser__option:hover {
    background-color: var(--color-light);
}
.state-chooser__option-image {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 75ms ease-in;
}
.state-chooser__clear-button {
    margin-top: 8px;
}
.alarm {
    display: flex;
    flex-direction: column;
}

.alarm__custom-time-title,
.alarm__fixed-title {
    margin-bottom: 8px; 
}

.alarm__custom-time-title {
    margin-top: 5px;
}

.alarm__fixed-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.alarm__fixed-tag {
    cursor: pointer;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 4px;
    margin-right: 4px;
    transition: transform 125ms ease-in;
    border: solid 1px transparent;
}

.alarm__fixed-tag.selected {
    border: solid 1px white;
}

.alarm__fixed-tag:hover {
    transform: scale(1.05);
}

.alarm__actions-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 32px;
    margin-bottom: 3px;
}

.alarm__actions-set
.alarm__actions-clear {
    margin-top: 5px;
    flex-grow: 1;
}
.alarm__actions-clear {
    margin-left: 6px;
}

.custom-time {
    color: var(--color-primary);
    background-color: var(--color-text);
    padding: 4px;
    border-radius: 4px;
    margin-bottom: 4px;
}
.card-board {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background-color: var(--color-darker);
    border: solid 2px transparent;
}

.card-board.glowing {
    border: solid 2px var(--color-text);
    animation: home-container__card 2s infinite;
}

.card-board::before {
    content: "";
    padding-bottom: 65%;
}

.card-board__content {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-board__header {
    display: flex;
    margin-left: 16px;
    margin-right: 16px;
    padding-top: 8px;
    padding-bottom: 4px;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: calc(100% - 32px);
    overflow: hidden;
    border-bottom: solid 1px white;
}

.card-board__dot {
    color: var(--color-darkest);
    width: 18px;
    height: 18px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--color-text);

    display: flex;
    justify-content: center;
    align-items: center;
}
.card-board__dot > span {
    color: black;
}
.card-board__dot--faded {
    opacity: 0.8;
}
.card-board__dot--multiple {
    z-index: 1;
    transform: translate(12px, 0);
}

.card-board__header-settings {
    display: flex;
}

.card-board__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    flex-grow: 1;
}

.card-board__body-text {
    width: 100%;
    text-align: left;
}

.card-board__body-text:hover {
   cursor: default;
}

.card-board__header-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-board__header-title-editable {
    width: 100%;
    border: none;
    background-color: var(--color-text);
}

.card-board__header-title-editable > input {
    padding-bottom: 2px;
    color: var(--color-darker);
}

.card-board__body-footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px;
}

.card-board__body-footer > * {
    margin-left: 8px;
}

.card-board__body-footer {
    opacity: 0;
    transition: 125ms ease-in;
}

.card-board:hover .card-board__body-footer {
    opacity: 100;
}


@media (max-width:961px) {
    .card-board__dot {
        width: 26px;
        height: 26px;
    }
}
.menu {
    display: flex;
    flex-direction: column;
    background-color: var(--color-darker);
    border-radius: 3px;
}

.menu:hover {
    cursor: pointer;
}

.menu__item {
    display: flex;
    align-items: center;
    padding: 6px;
    padding-left: 10px;
    padding-right: 10px;
    transition: background-color ease-out 125ms;
}

.menu__header {
    position: relative;
}

.menu__header::after {
    content: ">";
    position: absolute;
    right: 8px;
}

.menu__item-text {
    max-width: 356px;
    overflow: hidden;
    white-space: nowrap;
}

.menu__item:last-child {
    border-bottom: none;
}

.menu__item--selected,
.menu__item:hover {
    background-color: rgb(101, 106, 122);
    transition: background-color ease-in 125ms;
}

.menu__item-image {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.popup {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
}

.popup.hidden {
    display: none;
}

.popup__content-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 8px;
    max-width: 756px;
    max-height: 756px;
    transform: translate(-50%, -50%);
    background: var(--color-primary);
    border-radius: 4px;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
}

.popup__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.popup__click-catcher {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.popup__close-icon {
    position: absolute;
    top: 8px;
    right: 8px;
}

@media (max-width:712px) {
    .popup__content-wrapper {
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        transform: translate(0%, 0%);
    }
}

@media (max-width:962px) {
    .popup__content-wrapper {
        padding: 32px;
    }
}
.selection-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.selection-group__selection {
    cursor: pointer;
    padding: 8px;
    border: solid 2px gray;
}

.selection-group__selection.selected {
    background: gray;
}
.form-group {
    display: flex;
    align-items: center;
}

.form-group.fluid {
    justify-content: space-between;
}

.form-group.horizontal {
    flex-direction: column;
}

.form-group.horizontal {
    flex-direction: row;
}

.form-group.horizontal .form-group__label {
    margin-right: 16px;
}

.form-group__label.required::after {
    content: "*";
    color: red;
    position: relative;
    top: -8px;
    right: 0px;
}

.form-row {
    margin-bottom: 8px;
}

@media (max-width:961px) {
    .form-group.horizontal {
        align-items: flex-start;
        flex-direction: column;
    }
}
.input-text {
    position: relative;
}
.input-text__input {
    border-radius: 0px;
    background-color: transparent; 
    border: none;
    border-bottom: solid 1px var(--color-text);
    padding-top: 3px;
    padding-left: 3px;
    padding-right: 19px;
    padding-bottom: 5px;
    transition: border-color 75ms ease-out;
    width: 100%;  
}

.input-text__input:hover,
.input-text__input:focus,
.input-text__input:active {
    border-color: var(--color-accent);
    transition: border-color 125ms ease-in;
}

.input-text__input.disabled {
    pointer-events: none;
    color: var(--color-text--disabled);
    transition: color 75ms ease-in;
}

@media (max-width:961px) {
    .input-text__input {
        width: 100%;
    }  
}

.input-text__eye-wrapper {
    position: absolute;
    right: 4px;
    top: 50%;
    user-select: none;
    transform: translateY(-50%);
}
.input-text__eye-wrapper:hover {
    cursor: pointer;   
}

.input-text__eye {
    width: 13px;
}

.input-text__eye-wrapper::after {
    opacity: 0;
    content: "";
    position: absolute;
    display: inline-block;
    width: calc(100% + 8px);
    height: 3px;
    top: 50%;
    left: 0px;
    transition: opacity 125ms ease-in;
}

.input-text__eye-wrapper.show::after {
    opacity: 100;
    background-color: var(--color-text--disabled);
    transform: translate(-4px, -2px) rotateZ(45deg);
}

.input-text.secondary > .input-text__input {
color: var(--color-darkest);
border-bottom: solid 1px var(--color-darker);
}

.input-text.secondary > .input-text__input::placeholder {
    pointer-events: none;
    color: var(--color-darker);
    transition: color 75ms ease-in;
}





.confirm-dialog {
    min-width: 196px;
    max-width: 296px;
}

.confirm-dialog__header {
    margin-bottom: 16px;

}

.confirm-dialog__button {
    margin-right: 16px;
}

.confirm-dialog__text {
    margin-bottom: 16px;
}


@media (max-width:961px) {
    .confirm-dialog__button {
        margin-right: 0px;
        margin-top: 12px;
    }
}
.button {
  position: relative;
  height: 35px;
  min-height: 35px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 4px;
  outline: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 125ms ease-in;
  box-shadow: 1px 1px 3px -1px #202020;
}

.button--fluid {
  width: 100%;
}

.button--large {
  padding: 12px;
  padding-left: 32px;
  padding-right: 32px;
}

.button__loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lds-facebook {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: scale(0.5);
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #fff;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }

  50%,
  100% {
    top: 24px;
    height: 32px;
  }
}

.button.loading {
  color: transparent;
}

.button--primary.loading:hover,
.button--primary.loading {
  cursor: auto;
  background-color: var(--color-darker);
}

.button--primary {
  color: var(--color-text);
  background-color: var(--color-accent);
}

.button--secondary {
  color: var(--color-text);
  background-color: var(--color-darkest);
}

.button--secondary:focus,
.button--secondary:hover,
.button--primary:focus,
.button--primary:hover {
  background-color: var(--color-accent-darker);
}

.button--secondary.disabled,
.button--primary.disabled {
  background-color: var(--color-light);
}

@media (max-width:961px) {
  .button:not(.button--fixed) {
    width: 100%;
  }

  .button {
    height: 60px;
    min-height: 60px;
  }
}
.timer-control {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    padding-left: 9px;
    padding-right: 9px;
    border-radius: 4px;
}

.timer-control:hover {
    background-color: var(--color-darkest-lt);
}

.timer-control__play-icon  {
    width: 21px;
    height: 21px;
    background-image: url("/assets/icon_v2/timer.svg");
    content:url("/assets/icon_v2/timer.svg");
}

.timer-control__exit-icon {
    width: 11px;
    height: 11px;
    margin-right: 6px;
    background-image: url("/assets/icon_v2/exit.svg"); 
    content:url("/assets/icon_v2/exit.svg");
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
  }
  @keyframes lds-ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 72px;
      height: 72px;
      opacity: 0;
    }
  }
  
.drawer {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 356px;
    padding: 16px;
    height: 100vh;
    min-width: 286px;
    transform: translate(100%, 0%);
    background-color: var(--color-text);
    transition: transform 75ms ease-in-out;
    z-index: 9999;
}

.drawer.show {
    transform: translate(0%, 0%);
}

.drawer__close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.drawer__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
}

@media (max-width:961px) {
    .drawer {
        width: 100vw;
    }
}
.emoji-picker {
  display: flex;
  flex-direction: column;
}
.button-single {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    outline: none;
    border: none;
    cursor: pointer;
    transition: background-color 125ms ease-in;
    background: var(--color-darkest);
    box-shadow: 1px 1px 3px -1px #202020;
}

.button-single:hover {
    background-color: rgb(101, 106, 122);
}

.button-single__img {
    padding: 25%;
    width: 100%;
    height: 100%;
}

.button-single.button-single--primary.selected {
    background-color: rgb(101, 106, 122);
}

@media (max-width:961px) {
    .button-single {
        width: 60px;
        height: 60px;
    }
}

.users {
    display: flex;
    padding: 4px;
    border-radius: 4px;
    background-color: var(--color-light);
}

.users_user {
    display: flex;
    border: solid 2px;
    border-color: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 3px 4px 2px 4px;
    width: 42px;
    overflow-x: hidden;
    padding: 4px;
    border-radius: 2px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
}

.users_user:hover {
    cursor: pointer;
    border-color: var(--color-text);
}

.users_user-image {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    border: solid 4px transparent;
}

.users_user--online > .users_user-image {
    animation: users_user-image-border-pulsate 2s infinite;
}

.users_user-text {
    font-size: 9px;
    text-align: center;
    max-width: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes users_user-image-border-pulsate {
    0%   { border-color: rgb(131, 144, 180); }
    20%  { border-color: rgba(78, 86, 133, 0.352); }
    50%  { border-color: rgba(131, 144, 180, 0.652); }
    75%  { border-color: rgba(78, 86, 133, 0.352); }
    100% { border-color: rgb(131, 144, 180); }
}

.meta-data {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 512px;
    position: absolute;
    display: flex;
    z-index: 99999;
    background-color: var(--color-darkest);
    border-radius: 2px;
    padding: 4px;
}

.meta-data.hidden {
    pointer-events: none;
    visibility: hidden;
}
.share-link-dialog {
    gap: 24px;
    max-width: 356px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.share-link-dialog__input {
    width: 100%;
}
.node-search {
    display: flex;
    flex-direction: column;
}

.node-search__results {
    overflow: auto;
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.node-search__results-empty {
    margin: auto;
}

.node-search__result-type {
    position: absolute;
    right: 4px;
    top: 2px;
}

.node-search__result {
    display: flex;
    position: relative;
    flex-direction: row;
    padding: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    background-color: var(--color-light);
}

.node-search__result:hover {
    background-color: var(--color-accent);
}
.home-container { 
    width: 100%;
    min-height: 100%; 
    display: flex;
    flex-direction: column;
}

.home-container__navbar {
    display: flex;
    padding: 16px;
    justify-content: space-between;
}

.home-container__boards-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index:1;
    font-family: AppSemiBold;
    color: var(--color-text-dark)
}

.home-container__logo {
    width: 34px;
    align-self: flex-start;
}

.home-container__card-board {
    transform: translateZ(0);
    transition: transform 75ms ease-out;
    -webkit-font-smoothing: antialiased !important;
}
.home-container__card-board:hover {
    border: solid 2px var(--color-text);
    transform: scale(1.025);
    transition: transform 125ms ease-in;
}

@keyframes home-container__card {
    0%   { border-color: var(--color-accent); }
    50% { border-color: transparent; }
    100%   { border-color: var(--color-accent); }
}

.home-container__navbar-right-separator {
    width: 1.5px;
    height: 40px;
    background-color: white;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-left: 8px;
    margin-right: 8px;
    transform: translateY(-5px);
}

.navbar-right__info-btn {
    margin-right: 8px;
}

.home-container__boards-container {
    display: grid;
    padding: 16px;
    grid-template-columns: repeat( auto-fill, minmax(276px, 1fr) );
    gap: 24px 24px;
    margin-top: 24px;
    padding-left: 128px;
    padding-right: 128px;
    z-index: 1;
}

.home-container__footer-illustration {
    margin-top: auto;
    position: absolute;
    bottom: -156px;
    right: 0px;
    user-select: none;
    pointer-events: none;
}

.home-container__boards-container.empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-container__navbar-right {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    margin-left: 8px;
    width: 100%;
}

.home-container__navbar-right-col {
    display: flex;
    flex-direction: column;
}

.home-container__navbar-right-col > * {
    margin-bottom: 8px;
}

.home-container__backdrop {
    pointer-events: none;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: var(--color-primary);
    width: 100vw;
    height: 100vh;
    z-index: 2555;
}

.user_edit__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.user_edit__footer .logo-join-end {
    margin-top: 24px;
}
.user_edit {
    flex-grow: 1;
    margin-top: 64px;
    display: flex;
    flex-direction: column;
}

.join-form,
.create-form {
flex-grow: 1;
margin-top: 64px;
display: flex;
flex-direction: column;
}


.join-form button,
.create-form button {
    margin-top: 32px;
    margin-bottom: 10px;
}

.join-form,
.create-form {
    height: 100%;
    width: 100%;
}

.create-form a,
.create-form p,
.create-form label {
    color: var(--color-text-dark)
}
.create-form .input-text {
    margin-bottom: 16px;
}

.create-form__e2e-checkbox {
    margin-bottom: 16px;
}

.create-form__e2e-input {
    margin-top: 16px;
}

.join-container__title,
.create-container__title {
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 32px;
    font-weight: 800;
}
.logo-join-end {
    width: 100px;
    margin-top: auto;
}

.join-notot-container,
.create-notot-container,
.user-notot-container {
    display: flex;
    justify-content: center;
    height: 100%;
}

.user_edit__view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.user_edit__view .user_id {
    color: var(--color-accent);
    margin-top: 5px;
}
.user_edit__view > h4, h6 {
    color: var(--color-text-dark);
}

.home-container__info-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.home-container__info-content-discord-btn {
    margin-left: 8px;
}

@media (max-width:961px) {
    .home-container__navbar-right-col {
        flex-direction: row;
        margin-bottom: 0px;
    }

    .home-container__navbar-right-col > * {
        margin-left: 8px;
    }

    .home-container__logo {
        width: 58px;
        height: 58px;
    }

    .home-container__boards-container {
        padding: 8px;
        padding-bottom: 128px;
    }

    .home-container__navbar-right-separator {
        display: none;
    }

    .home-container__footer-illustration {
        bottom: -32px;
    }
}
.board-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.board_edit {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.board_edit__settings-title,
.board_edit > form * {
    color: var(--color-text-dark);
}
.board_edit__form {
    margin-top: 24px;
}

.board_edit__settings-title {
    font-weight: bold;
}
.board_edit__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
}
.board_edit_footer-img {
    margin-top: 12px;
}

.board-container__screen-space-drag-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: transparent;
    display: none;
    z-index: 1;
    cursor: grab;
}

.board-container__screen-space-drag-overlay.active {
    display: block;
}

.board-container__world-space {
    background-color: var(--color-primary);
    transform-origin: top left;
    cursor: grab;
    flex-grow: 1;
    padding: 8px;
    z-index: 0;
    overflow: auto;
    -ms-overflow-style: none; /* IE 11 */
    scrollbar-width: none; /* Firefox 64 */
}
.board-container__world-space[cursor-state="selection"] {
    cursor: auto;
}

.board-container__world-space::-webkit-scrollbar {
    display: none;
}
.board-container__world-space > * {
    user-select: none;
    position: absolute;
    cursor: pointer;
}

.board-container__back {
    position: fixed;
    top: 25px;
    left: 32px;
    width: 18px;
    height: 18px;
    z-index: 10;
}

.board-container__connection-info {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 10;
}

.board-container__connection-info.warning h3 {
    color: var(--color-danger);
}

.board-container__right-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 15px;
    right: 32px;
}

.board-container__right-top > * {
    margin-left: 8px;
}

.board-container__right-top-col {
    position: absolute;
    top: 104px;
    right: 36px;
}

.board-container__right-top-alarm,
.board-container__right-top-clusters,
.board-container__right-top-users,
.board-container__zoom-icons {
    position: absolute;
    top: 58px;
    right: 76px;
}

.board-container__right-actions {
    display: flex;
    background-color: gray;
    padding: 8px;
    border-radius: 4px;
}

.board-container__right-actions > * {
    margin-right: 4px;
}

.users {
    display: flex;
    flex-direction: row;
    background-color:var(--color-darkest);
}

.zoom-icons {
    width: 90px;
    height: 90px;
    background-color: blueviolet;

}

.tips-page {
    flex-grow: 1;
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.tips-container__title {
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
}
.tips-notot-container {
    display: flex;
    justify-content: center;
    height: 100%;
}
.text--tips {
    color: var(--color-primary);
    margin-bottom: 10px;
}
.text--tips-bold {
    color: var(--color-primary);
    font-weight: 800;
}
.first--link {
    padding-top: 20px;
}

.board-container__navbar-right-col {
    display: flex;
    position: absolute;
    right: 32px;
    top: calc(15px + 36px + 7px);
    flex-direction: column;
}
.board-container-disconnected {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: var(--color-primary);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.board-container-disconnected h2 {
    margin-bottom: 32px;
}

.board-container-disconnected button {
    margin-bottom: 8px;
}

.board-container__node-search-popup {
    width: 60vw;
    height: 60vh;
}

.board-container__node-search {
    overflow: auto;
}

@media (max-width:961px) {
    .board-container__right-top {
        display: none;
    }
    .board-container__navbar-right-col {
        display: none;
        top: calc(15px + 36px + 33px);
    }
    .board-container__connection-info {
        display: none;
    }
}

.empty-container {
    display: flex;
    flex-direction: column;
    width: 356px;
}
.state-widget {
    
}
.fa-snowflake {
	color: red;
	position: absolute;
	top: -20px;
	animation: fall linear forwards;
}

@keyframes fall {
	to {
		transform: translateY(105vh);
	}
}
.selection-module {
  position: fixed;
  pointer-events: none;
}

.selection-module__box {
  background-color: transparent;
  border: solid 2px white;
  border-radius: 4px;
  z-index: 5555;
  position: fixed ;
  top: 0px;
  left: 0px;
  pointer-events: none;
}

.selection-module__box-aabb {
  background-color: transparent;
  border: dashed 2px white;
  border-radius: 4px;
  z-index: 5555;
  position: fixed ;
  top: 0px;
  left: 0px;
  pointer-events: none;
}
.resize-module {
    width: 36px;
    height: 36px;
    background-color: var(--color-text);
    position: fixed;
    border-radius: 50%;
    cursor: pointer;
}

.resize-module.hidden {
    display: none;
}