html {
    background: #192f41;
    color: #192f41;
    font-family: "termina", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: #192f41;
    color: #192f41;
    font-family: "termina", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#backlightChatWrapper {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border: 0.5px solid white;
    overflow: hidden;
    scrollbar-color: transparent transparent;
    bottom: .5em;
    right: .5em;
    transform: scale(1);
    border-radius: .25em;
    transform-origin: center;
    width: calc(100% - 1em);
    height: calc(100% - 1em);
    transition: width 200ms ease, height 200ms ease, max-height 200ms ease, transform 300ms cubic-bezier(0, 1.2, 1, 1), opacity 83ms ease-out, box-shadow 300ms ease;
}

.right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    position: fixed;
    top: 1em;
    right: 1em;
    background-color: #192f41;
    color: white;
    width: calc(50vw - 2em);
    height: calc(100vh - 1em);
    overflow: hidden;
    font-size: 16px;
}

#brainstorm-notebook {
    color: black;
    flex-grow: 1;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

#brainstorm-notebook li {
    font-size: medium;
    padding-left: 1em;
    list-style: none;
    padding: 1em;
    margin: 0em 0em .5em 0em;
    background: #f9f9f7;
    border: 0.5px solid var(--secondary);
    border-radius: 0.5em;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
} 

#brainstorm-notebook li:last-of-type {
    margin-bottom: 10vh;
}

h1 {
    font-family: "termina", sans-serif;
    font-weight: 700;
    font-size: 3em;
    margin: 0em 0em .5em 0em;
}

h2 {
    font-family: "termina", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1vw, 2em, 2vh);
    margin: 1em 0em 0em 0em;
    color: white;
}

p {
    font-family: "termina", sans-serif;
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
    margin: 0em;
}

.close-btn {
    position: absolute;
    top: .1em;
    right: .2em;
    cursor: pointer;
    padding: 0.3em;
    color: black;
    opacity: .2;
    font-weight: bold;
}

li {
    position: relative;
    list-style-type: none;
    margin-bottom: 1em;
    padding-right: 2em;
    background: #f9f9f9;
    border-radius: 5px;
}

.vote {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;

    gap: .3em;
}

.close-btn:hover {
    color: #555;
}

.vote button {
    background: none;
    border: none;
    cursor: pointer;
    color: black;
    opacity: 1;
    position: inherit;
}

/* You can add :hover styles to improve the UI feedback */
.vote button:hover {
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.scale-in {
    animation: scaleIn 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}


.fade-in {
    animation: fadeIn 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.fade-out {
    animation: fadeOut 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
