html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-y: hidden;
    background:#303030;
    font-family: "Courier Prime", monospace, sans-serif;
}

 input, select, button {
    font-family: "Courier Prime", monospace, sans-serif;
 }

#container {
    display: flex;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    /* position: absolute; */
    /* margin-top: 20px; */
}

#contents {
    position: relative;
}

#canvas {
    /* position: absolute; */
    /* width: 100%;
    height: 100%; */
    z-index: 2;
}

.profile {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 50% 50%;
    background-color: rgba(150,150,150,0.8);
}

#profileDialog {
    border: none;
    border-radius: 12px;
    padding: 20px;
    width: 400px;
    background-color: rgba(220,220,220,0.8);
}

#profileDialog::backdrop {
    background: rgba(0,0,0,.5);
}

#profileForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.buttons button {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background-color: #555;
    color: #fff;
    cursor: pointer;
    font-family: "Courier Prime", monospace, sans-serif;
}

.cornerbutton {
    position: absolute;
    width: 20%;
    height: 20%;
    background-repeat: no-repeat;
    background-size: 50% 50%;
/* turn off button stuff */
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    display: flex;
}

#btn_TL{top: 0; left: 0;
    align-items: flex-start;     /* Top */
    justify-content: flex-start; /* Left */
}
#btn_TR{top: 0; right: 0; 
    align-items: flex-start;     /* Top */
    justify-content: flex-end;   /* Right */
    background-position: top right;
    background-image: url(../assets/icon_mono.png);}
#btn_BL{bottom: 0; left: 0; 
    align-items: flex-end;       /* Bottom */
    justify-content: flex-start; /* Left */    
    background-position: bottom left;
    background-image: url(../assets/icon_profiles.png);}
#btn_BR{bottom: 0; right: 0; 
    align-items: flex-end;       /* Bottom */
    justify-content: flex-end;   /* Right */    
    background-position: bottom right;
    background-image: url(../assets/icon_clock.png);}

.on-no-svg {
  fill-rule: evenodd;
  clip-rule: evenodd;
}

/* Circle background: your Affinity mint green when ON, light grey when NO */
.badge-bg {
  transition: fill 300ms ease;
  fill: rgb(96, 96, 96);
}

/* Lettering: constant dark grey, rotates 180deg around exact center (512, 512) */
.badge-letters {
  fill: rgb(96, 96, 96);
  transform-box: view-box;
  transform-origin: 512px 512px;
  transform: rotate(0deg);
  transition: transform 300ms ease;
}

/* Inactive ("NO") state */
/* .on-no-btn[aria-pressed="false"] .badge-bg {
  fill:rgb(186,186,186);
}
.on-no-btn[aria-pressed="false"] .badge-letters {
  transform: rotate(180deg);
  fill: rgb(94, 222, 153);
} */

#btn_TL[data-mode="on"] .badge-bg {
  fill:rgb(186,186,186);
}

#btn_TL[data-mode="on"] .badge-letters {
  transform: rotate(180deg);
  fill:rgb(186,186,186);
  /* fill: rgb(94, 222, 153); */
}