:root {
    font-family: Arial, Helvetica, sans-serif;
    --input-width: 70px;
    --gab-size: 2px;
    --TaskBoxHeight: 84px;
    --TaskBoxWidth: 214px;
    --border-size: 2px;
}

body {
    margin: 0;
}

dl{
    margin: 0;
}

dd::before{
    content: '-';
}

aside {
    position: fixed;
    right: 0;
    top: 0;
    padding: 10px;
    background-color: rgba(56, 197, 207, 0.233);
    border-bottom-left-radius: 40px;
    border-left: solid;
    border-bottom: solid;
    box-shadow: 0px 0px 20px 0px;
}

/* aside[color="on"]{
    visibility: hidden;
} */

aside[color="off"]{
    visibility: hidden;
}

kbd {
    background-color: #eee;
    border-radius: 3px;
    border: 1px solid #b4b4b4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
    color: #333;
    display: inline-block;
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    white-space: nowrap;
}

#mouseContainer {
    position: fixed;
    /* width: 20px;
    height: 20px;
    background-color: aqua; */
}

main {
    display: flex;
    align-items: center;
    padding: 10px;
    min-height: calc(100vh - 10px * 2);
    height: fit-content;
    min-width: calc(100vw - 10px * 2);
    width: fit-content;
    overflow-x: hidden;

    z-index: 0;
}

main[color="on"] {
    background-color: gray;
}

main[color="off"] {
    background-color: white;
}

body::-webkit-scrollbar {
    display: none;
}

.taskBox>#placeTarget {
    display: flex;
    gap: 30px;
    flex-direction: column;
    z-index: 1;

    position: absolute;

    width: calc(var(--TaskBoxWidth) / 2);
    min-height: calc(var(--TaskBoxHeight) + (var(--border-size) * 2));
    height: fit-content;
    padding: 0 20px;
    /* padding-left: 10px; */
    /* border-right: double lightblue 20px; */
    transform-origin: center;
    transform: translate(230px, -86px);
    transition-duration: 0.75s;
    transition-timing-function: cubic-bezier(0, 1.3, 0, -0.3);
}

.taskBox>#placeTarget[color="off"] {
    background-color: rgba(255, 255, 255, 0);
}

.taskBox>#placeTarget[color="on"] {
    background-color: rgba(175, 215, 230, 0.4);
}

.taskBox:has(> #placeTarget[color="off"]) {
    border-left: solid black var(--border-size);
}

.taskForm>input {
    margin: 0;
    padding: 0;
    border: 0;
}

.taskForm>.name {
    grid-area: name;
    width: calc((var(--input-width) * 3) + var(--gab-size) * 2);
}

.taskForm>.number {
    grid-area: number;
    width: calc((var(--input-width) * 1.5) + var(--gab-size) * 0.5);
}

.taskForm>.length {
    grid-area: length;
    width: calc((var(--input-width) * 1.5) + var(--gab-size) * 0.5);
}

.taskForm>.FAZ {
    grid-area: FAZ;
    width: var(--input-width);
}

.taskForm>.FEZ {
    grid-area: FEZ;
    width: var(--input-width);
}

.taskForm>.FPZ {
    grid-area: FPZ;
    width: var(--input-width);
}

.taskForm>.SAZ {
    grid-area: SAZ;
    width: var(--input-width);
}

.taskForm>.GPZ {
    grid-area: GPZ;
    width: var(--input-width);
}

.taskForm>.SEZ {
    grid-area: SEZ;
    width: var(--input-width);
}

.taskForm {
    display: grid;
    grid-template-areas:
        "name name name name name name"
        "number number number length length length"
        "FAZ FAZ FPZ FPZ FEZ FEZ"
        "SAZ SAZ GPZ GPZ SEZ SEZ";

    gap: var(--gab-size);

    height: 100%;
}

.taskBox {
    overflow: visible;
    width: var(--TaskBoxWidth);
    height: var(--TaskBoxHeight);

    border: solid black var(--border-size);
    border-left: solid black 30px;

    margin: 20px;
    margin-left: 0;

    background-color: black;

    cursor: grab;
    transition-duration: 1s;

    z-index: 2;
}

#can {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;

    z-index: 3;

    pointer-events: none;
}