@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

body,html{
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
}

#canvas{
    background-color: #fff;
}

#canvas.fullscreen{
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
    z-index: 1;
}

.debug-info{
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: white;
    border-radius: 4px;
    border: 2px solid #999;
    z-index: 2;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.debug-info.show{
    opacity: 1;
}

.debug-info > *{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat{
    min-width: 100%;
    font-family: 'Poppins', sans-serif;
}

.stat .label{
    margin-right: 30px;
    flex: 1;
}

.zoom-wrapper{
    position: fixed;
    top: 10px;
    right: 10px;
    height: 25px;
    background-color: #303030;
    color: white;
    font-family: 'Poppins', sans-serif;
    border-radius: 4px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    cursor: pointer;

    .btn{
        color: white;
        background-color: #151515;
        transition: all .2s ease;
        height: 25px;
        display:flex;
        justify-content: center;
        align-items: center;
        padding: 0 10px;

        &:hover{
            background-color: #404040;
        }
    }
}