@font-face {
    font-family: 'Inter';
    src: url('Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 1 999;
    font-style: normal;
    font-display: swap;
}
html, body{
    margin: 0;
    overflow: hidden;
    height: 100%;
}
*{
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
*:not(textarea){
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
html, body {
    pointer-events: auto;
}
body{
    background: rgb(249, 250, 251);
}
#world{
    perspective: 1000px;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    background-image: radial-gradient(circle, rgb(54, 54, 54) 1px, transparent 1px);
    background-size: 30px 30px;
}
.postit-textrender{
    width: 100%;
    height: 100%;
    display: none;
}
.postit-textarea{
/*    display: none;*/
    background: transparent;
    border: none;
    resize: none;
    width: 100%;
    height: 100%;
    color: rgb(120, 53, 15);
}
.postit{
    overflow: hidden;
    font-family: sans-serif;
    padding: 0.7em;
    position: absolute;
    min-width: 100px;
    min-height: 100px;
    text-overflow: clip;
    cursor: grab;
    background-color: rgb(254, 243, 199);
    border: 1px solid rgb(253, 230, 13);
    border-radius: 9px;
    color: rgb(120, 53, 15);
}
.image{
}
.bookmark {
    max-width: 400px;
    background: white;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    border: 1px solid rgb(229, 231, 235);
    border-radius: 9px;
    box-shadow: 2px 2px 2px rgb(229, 231, 235);
    display: flex;
    flex-direction: column;
}
.bookmark-content {
    height: 100%;
}
.bookmark-image {
    background: #eaeaea;
    background-size: cover;
    background-position: center 0;
    background-size: 110% auto;
    flex: 3;
}
.bookmark-text {
    flex: 1;
    padding: 16px 14px 12px 14px;
}
.bookmark-tmp {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translate(-50%, -100%);
    color: #fff;
    font-size: 35px;
}
.bookmark-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.bookmark-description {
    font-size: 10px;
    line-height: 1.4;
    margin: 0 0 6px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.bookmark-url {
    font-size: 10px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.selected {
    outline: calc(3px / var(--zoom-level, 1)) solid #007acc !important;
}

#controls {
    display: flex;
    overflow: hidden;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;

    border: 1px solid rgb(229, 231, 235);
    border-radius: 9px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

#controls button{
    border: none;
    background: white;
    color: black;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
}

#controls button:hover {
    background: #eee;
}

.resize-handle{
    background-color: rgba(0, 0, 0, 0.1);
}