
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%;

    box-sizing: border-box;
    
}

#headerLine {
    padding: 0px;
    border: 3px solid white;
}

div.gridDisp{
    display: grid;
}

#explainer{
    grid-column: 1/8;
}

#explainer p{
    grid-column: 2/8;

    font-family: "Convergence", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.5em;

    color: white;
}

#imgDiv{
    grid-column: 8/12;
}

img {
    max-width: 100%;
    max-height: 100%
}



#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;
}

#calculatorStuff{
    grid-column: 8/12;
    grid-row-end: span 2;

    border-radius: 25px;
    border-style: solid;
    border-width: 5px;
    border-color:#E5446D;

    padding:5px 10px 20px 10px;
}



#inputBttn{
    height: 10vh;
    grid-column-end: span 4;

    margin-top: 6px;
    font-family: "Dela Gothic One", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 2em;
    color: white;
    border-radius: 25px;
    border-style: none;
    background-color: #E5446D;
    
}

#inputBttn:hover{
    color:#E5446D;
    background-color:white;

}

/*.calcLine{

    grid-column: 8/12;
    border-style: solid;
    border-color:#E5446D;


}*/

.calcText{

    grid-column: 1/5; /*Ok so I have NO CLUE why the calculator , which is supposed to act
    as a SUBGRID, is NOT following the main grid.*/
    font-family: "Convergence", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 3em;

    color: white;
    margin-top: 1px;
    margin-bottom: 1px;
}

.calcTextSpan{
    font-family: "Convergence", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 3em;
    color: white;
}

.calcH2, .calcH3, .pSpan{
    grid-column: 1/5;
}

.calcH2{
    font-family: "Dela Gothic One", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.5em;
    color: white;
    letter-spacing: 0.02rem;
}

.calcH3, .pSpan{
    font-family: "Convergence", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 0.8em;

    color: white;

}

footer {
    grid-column: 2/12;
}

#footerText{
    font-family: "Convergence", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 0.5em;
    text-align: center;
    color: #494a49;
    margin: 1%;
}