#titlecard {
    font-family: var(--font2);
    height: 2rem;
    padding: 0.5rem;
}

input {
    font-family: var(--font);
    letter-spacing: 0.2px;
    border: none;
    background-color: var(--parameter-background);
    color: aliceblue;
}
/*MIXER*/
/*-----------*/
#mixer, #sim-output, #mixer-settings {
    display: flex; 
    margin-left: 5px;
    gap: 5px;
}
.resultant {
    width: var(--resultant-width);
    flex-shrink: 0;
}
.component {
    width: var(--component-width);
    flex-shrink: 0;
}
#mixer-settings {
    height: 3rem;
    width: 102%;
    margin-bottom: 0.5rem;
    margin-left: 0;
    background: rgb(24, 29, 41);
    border-radius: 6px;
}
#mixer-settings > label {
    display: flex; flex-direction: column;
    margin-top: 0.5rem;
    font-family: var(--font);
    font-size: 0.75rem;
    font-style: italic;
}
#mixer-settings > label > span {
    padding: 0.2rem 0rem;
    margin: 0;
}
input[type=radio] {
    margin: 0;
    border: 0px;
    width: 100%;
    height: 0.9rem;
    accent-color: #232323;
    
}

.cond {
    display: flex; 
    flex-direction: column;
}
.cond.resultant{
    width: calc(var(--resultant-width) - var(--resultant-margin));
    margin-right: var(--resultant-margin);
}
.omitted {
    opacity: 0.2;
}

para-type{
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}
para-type > parameter {
    margin-bottom: 0.4rem;
    border-left: 4px solid black;
    border-right: 4px solid black;
}
parameter {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem;
    height: 1.5rem;
    font-family: var(--font);
    font-size: 1.05rem;
    text-wrap: nowrap;
}
parameter.initial {
    background-color: rgba(0, 125, 187, 0.5);
}
parameter.final {
    background-color: rgba(0, 187, 100, 0.3);
}
parameter.constant {
    background-color: rgba(0, 189, 196, 0.3);
}
quan {
    display: inline-block;
    font-weight: 600;
    font-size: 0.96rem;
    width: 2rem;
    text-align: center;
}
.unit {
    font-weight: 400;
    font-size: 0.78rem;
}
.degree {
    font-size: 1.2em;
    width: 0.4rem;
    white-space: pre;
    margin-left: -0.3rem;
}
.anglesym {
    font-size: 1.2rem;
    margin-left: -0.2rem;
    margin-right: -0.3rem;
}
.output {
    display: inline-block;
}

parameter > input{
    width: 2.5rem;
    height: 0.9rem;
    padding: 0.2rem;
    padding-right: 0.4rem;
    text-align: center;
    color: aliceblue;
}
parameter > input.angle{
    width: 2em;
}
input:focus {
    outline: none;
    background-color: rgba(0, 255, 170, 0.300);
}
input:invalid {
    background-color: red;
}
input.solved {
    pointer-events: none;
    border-bottom: 3px solid rgb(238, 183, 5);
    border-radius: 2px;
}

/*SIMULATION OUTPUT*/
/*-----------*/
#sim-output {
    border-top: #1a1a1a 5px solid;
    margin-bottom: 1rem;
}
#msg-wrapper {
    position: absolute;
    width: 98%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    background-color: rgb(36, 36, 36, 0.7);
    z-index: 2;
}
#msg {
    width: inherit;
    height: fit-content;
    padding: 1rem 0.5rem;

    border-radius: 10px;
    background-color: #1b1b1b;
    font-size: 0.8rem;
    font-family: "Lucida Console", Courier, monospace;
    letter-spacing: -0.05rem;
}
.notif {
    border: solid 1px rgb(0, 195, 255)
}
.error {
    border: solid 1px red;
}

.cond-output.resultant {
    width: var(--resultant-width);
}
.cond-output > parameter {
    margin-left: 4%;
}
.curr {
    height: 1.5rem;
    width: fit-content;
    font-size: 0.95rem;
    padding: 0.6rem 0 0 0;
    color: #d1dfec;
    border-bottom: #aaaaaa57 2px solid;
}
.curr > quan {
    text-align: right;
    width: 2rem;
    padding-right: 0.4rem;
}
.curr > .output {
    text-align: right;
    width: 3.2rem;
}
.curr > .output-angle {
    text-align: left;
}


/*BUTTONS*/
/*-----------*/
#buttons-wrapper {
    display: flex; 
    gap: 10px;
    height: fit-content;
}
#buttons-wrapper > button{
    background-color: rgb(199, 206, 236);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 600;
    flex-shrink: 0;
}
#playpausebutt {
    height: 1.8rem;
    width: 1.8rem;
    padding-left: 0.1rem;
}
#playpausebutt > img {
    height: 1.2rem;
}
.chooseunkwn-box { 
    width: 2.5rem; 
    padding: 0.2rem; 
    padding-bottom: 0.1rem;
    font-size: 1rem; 
    text-align: center;
    border: 1px solid rgb(128, 128, 128);
}
.chooseunkwn-box > * {pointer-events: none;}

/*GRID-OPTIONS*/
/*-----------*/
#sim-mixer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 4.2rem;
    height: fit-content;
    background-color: #2a7b9b50;
    font-family: var(--font);
    font-size: 0.85rem;
    border-radius: 4px;
}
#coord-wrapper{
    position: relative;
    display: inline-flex;
    padding: 0.4rem 2rem;
    gap: 1rem;
}
.coord {
    display: flex;
    flex-flow: column;
    width: 5rem;
    gap: 2px;
    height: fit-content;
    text-align: center;
    font-size: 0.85rem;
}
.coord > input {
    height: 1.6rem;
    text-align: center;
    font-size: 0.9rem;
    color: aliceblue;
}
#grid-options {
    display: flex;
    flex-grow: 1;
    gap: 2.5rem;
    padding-left: 2rem
}
#grid-options > span {
    min-width: fit-content;
    padding-top: 0.8rem;
}

.num-input {
    display: inline-flex; flex-flow: row;
    height: 2rem;
}
.num-input > input{
    width: 2rem;
    padding-right: 0.4rem;
    text-align: right;
}

.num-input > .unit {
    line-height: 2rem;
    width: fit-content;
    padding-right: 0.4rem;
    background-color: var(--parameter-background);
    font-size: 0.8rem;
}
.num-input-butts {
    display: flex; flex-flow: column;
    gap: none;
}
.num-input-butts > div{
    font-size: 0;
    height: 50%;
    width: 60%;
    background-color: black;
}
.num-input-butts > div:hover{
    opacity: 50%;
}
.num-input-butts > div img:active{
    scale: 80%;
}
.num-input-butts > div img{
    height: 100%;
    width: 1.2rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}