@font-face{
    font-family: outfit;
    src: url(/assets/font/Outfit800.ttf);
    font-weight: 800;
}
@font-face{
    font-family: outfit;
    src: url(/assets/font/Outfit700.ttf);
    font-weight: 700;
}
@font-face{
    font-family: outfit;
    src: url(/assets/font/Outfit600.ttf);
    font-weight: 600;
}
@font-face{
    font-family: outfit;
    src: url(/assets/font/Outfit500.ttf);
    font-weight: 500;
}
@font-face{
    font-family: outfit;
    src: url(/assets/font/Outfit400.ttf);
    font-weight: 400;
}
@font-face{
    font-family: outfit;
    src: url(/assets/font/Outfit300.ttf);
    font-weight: 300;
}

html, body{
    margin: 0;
    height: 100%;
}

*{
    box-sizing: border-box;
}

.node .input-control{
    vertical-align: middle;
    display: inline-block;
    width: calc(100% - 51px)
}

.area-background{
    background: url(/assets/imgs/blueprint-8-offset.png);
    background-position: center;
    position: absolute;
    top: -10000px;
    left: -10000px;
    width: 40000px;
    height: 40000px;
}

.info-tooltip i{
    font-size: 22px !important;
}

.blueprint-wrapper{
    background: #3E77BC;
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.blueprint-wrapper *{
    font-family: outfit;
}
.node.oninteractv1{
    background: #DBB83D;
}
.node.oninteractv1 .title{
    background: #DBB83D;
}
.node{
    color:#fff;
    border-radius: 10px;
    border-style: dashed;
    border-width: 3px;
    border-color: #fff;
    width:270px;
    cursor: pointer;
    padding-bottom: 6px;
    box-sizing: content-box;
    background: #2e70b8;
}
.node .title{
    background-color: #2e70b8;
    border-bottom: 3px solid #fff;
    font-size: 14px;
    border-radius: 8px 8px 0 0;
    padding: 8px;
}
.node .title-extend>span:first-of-type {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
}
.node .title-extend>hr{
    color: inherit;
    width: 80%;
    box-sizing: border-box;
    border: 2px solid currentColor;
    margin: 1rem 0;
    transition: width 0.4s;
}
.node .title-extend>span:last-of-type {
    font-size: 14px;
}
.node .title i{
    font-size: 50px;
}
.node .title-extend{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.node .info-tooltip{
    float: right;
    top: 1%;
    position: absolute;
    right: 3%;
}
.node .input-title, .node .output-title{
    vertical-align: middle;
    display: inline-block;
    margin: 6px;
    font-size: 18px;
}
#area{
    transform-origin: 0 0 ;
}
.socket{
    display: inline-block;
    cursor: pointer;
    border: 3px solid #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    margin: 6px;
    vertical-align: middle;
    z-index: 2;
    box-sizing: border-box;
}
.socket.output{
    margin-right: -17px;
}
.socket.event{
    background: #9dff9b;
    border-radius: 0px !important;
}
.socket.entity{
    background: #fff46e;
    border-radius: 0px !important;
}
.control{
    padding: 6px 18px;
}
.control .input-control{
    width: 100%;
    vertical-align: middle;
    display: inline-block;
}
.user-input-wrp{
    position: relative;
}
.node select, .node input{
    padding: 2px 6px;
    font-size: 110%;
    width: 100%;
    border: 2px solid #fff;
    background: #fff;
    margin-bottom: 10px;
    height: 45px;
    padding-top: 15px;
    border-radius: 15px;
    box-sizing: border-box;
}
.user-input-wrp input:focus~.floating-label, 
.user-input-wrp input:not(:focus):valid~.floating-label,
.user-input-wrp select~.floating-label,
.user-input-wrp input:disabled~.floating-label{
    top: 0;
    left: 10px;
    font-size: 13px;
    white-space: nowrap;
    color: #000000aa;
}
.user-input-wrp .floating-label{
    color: #00000080;
    position: absolute;
    pointer-events: none;
    top: 16px;
    left: 10px;
    transition: .2s ease all;
}
select[disabled]{
    opacity: 1;
}
.socket.input{
    margin-left: -17px;
}
.socket.trigger{
    background: #b021d4;
    border-radius: 0 0 0 100px !important;
}

.socket.location{
    background: #ffcf9b
}

.socket.number{
    background: #8f7de0;
}

.noselect{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.vector-control{
    display: flex;
    justify-content: space-evenly;
    gap: 2%;
}

svg{
    overflow: visible !important;
}

.main-path{
    fill: none;
    stroke-width: 10px;
    stroke: #fff;
    stroke-linecap: round;
}

.event>.main-path{
    stroke: #9dff9b !important;
}

.connection{
    position: absolute;
}

.particle-list img{
    background-color: #3E77BC;
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 5px;
    pointer-events: none;
}

.items-list img{
    width: 50px;
    background-color: #3E77BC;
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 20px;
    margin-top: 5px;
    margin-bottom: 0;
    margin-left: 5px;
    margin-right: 5px;
}

.ui-tooltip {
    border-radius: 10px !important;
    border-style: dashed !important;
    border-width: 3px !important;
    border-color: #fff !important;
    color: #fff !important;
    background-color: #3E77BC !important;
    box-shadow: 0 0 0 0 #0058bf !important;
    font-size: 16px !important;
}

.animated{
    animation-name: glow;
    animation-iteration-count: infinite;
    animation-duration: 1s;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px green;
    }
    50% {
        box-shadow: 0 0 20px green, 0 0 10px 10px lightgreen;
    }
    100% {
        box-shadow: 0 0 10px green;
    }
}

/* ensures the editor fills the iframe and hides overflow */
.blueprint-editor{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* #area should be absolutely positioned and scale from top-left */
#area{
  position: absolute;
  left: 0; 
  top: 0;
  transform-origin: 0 0; /* you already set this — keep it */
}
