
body {
    background-color: #2A2B2A;
    margin: 0;
}

.subgrid{
    grid-template-columns: subgrid;
}

.grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;


}

header{
    grid-column-end: span 12;
}

h1 {
    font-family: "Bai Jamjuree", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 64px;
    color: white;
    margin: 1% 0px 1% 2%;
    
}

#headerLine {
    padding: 0px;
    border: 3px solid white;
}

div.gridDisp{
    display: grid;
}

#explainer{
    grid-column-end: span 12;
}

#explainer p{
    grid-column: 2/12;

    font-family: "Convergence", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.5em;

    color: white;
}

#userCalcs{

    grid-column: 2/8;
    border-radius: 25px;
    background: #D8FFDD;

    padding:5px 10px 20px 10px;

}

#strictSelector{

    grid-column: 2/8;
    border-radius: 25px;
    background: #E5446D;
    padding:5px 10px 20px 10px;

}


h2.inpTitle{
    font-family: "Dela Gothic One", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.5em;

    color: black;
}

h2.inpTitleB{
    font-family: "Dela Gothic One", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.5em;

    color: white;
}

#incomeInput, #incomeInput h2, #incomeInput p{
    grid-column: 1/4;

}

.inpTitleB{
    grid-column: 1/3;
}

#incomeInput h2, #expenseInput h2{
    margin-bottom: 0px;
}



#expenseInput, #expenseInput p{
    grid-column: 4/8;
}

#expenseInput h2, #expenseInput p{
    grid-column: span 3;
}

.inpCaption, .inpLabel{
    font-family: "Convergence", serif;
    font-weight: 400;
    font-style: normal;

}

.inpLabel{
    padding-top: 5px;
}

.marginTop{
    margin-top: 5px;
}

input[type=number] {
    padding: 5px;
    border: 0.5px solid black;
    border-radius: 10px;

    font-family: "Convergence", serif;
    font-weight: 400;
    font-style: normal;
}

#radioBttns {
    grid-column: 1/3;
}

#bttnNotes {
    grid-column: 3/8;
    margin: 20px 0px 0px 20px;
}

#bttnNotes h3{
    font-family: "Dela Gothic One", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    margin-bottom: 8px;

    color: white;
}

#bttnNotes p{
    font-family: "Convergence", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 0.8em;

    color: white;

}
/*https://stackoverflow.com/questions/76765475/format-radio-button-like-button-in-for-loop*/

#radioBttns input[type="radio"] {
    opacity: 0;
    width: 0;
    position: fixed;
    margin: 3px 0px 0px 0px;
}





#radioBttns label {
    display: inline-block;
    background-color: white;
    padding: 5px;
    font-family: "Convergence", serif;
    font-weight: 400;
    font-style: normal;
    color: #E5446D;
    border: 2px solid white;
    border-radius: 10px;
}

/* #radioBttns label:hover {
    background-color: #dfd;
} */

#radioBttns input[type="radio"]:focus+label {
    border: 2px solid #E5446D;
}
  
#radioBttns input[type="radio"]:checked+label {
    background-color: #E5446D;
    border-color: white;
    color: white;
}