

/*start of code pertaining to webapp base*/
:root{
    --orange: #E24C2B;
    --navy: #22262D;
    --green: #5EAC53;
    --yellow: #ECC33D;
    --greenBg: rgba(94, 172, 83, 0.25);
    --yellowBg: #ECC33D50;

    --textGn: #70C962;
    --textYw: #FBCA29;
}

html, body {
    margin: 0;
    background: linear-gradient(rgba(226, 76, 43, 0.20) 0%, rgba(34, 38, 45, 0.20) 63.62%), var(--navy);
    height: 100%;
    width: 100%;
    font-size: 10px;
}

#container{
    height: 100%;
    width: 100%;
    overflow: hidden;
}
/*end code pertaining to webapp base*/

/*beginning of ALL code peraining to index.html === === === === ===*/

/*start of logo code*/
#logoPng{
    display: block;
    margin: 3vh auto 0 auto;
}
/*end of logo code*/

/*start of home Buttons code*/
#homeBttns img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5vh;
}

#basicLssn{
    margin-top: 5vh;
}

#chartist{
    margin-top: 5vh;
}
/*end of home Buttons code*/

/*start of footer code*/
#homeFooter p{
    font-size: 1.2em;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}
/*end of footer code*/
/*end of ALL code peraining to index.html === === === === ===*/

/*start of font n' typography code*/
.roboReg, button {
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.joeSans{
    font-family: "Josefin Sans";
    font-optical-sizing: auto;
}

.italic{
    font-style: italic;
}

.thin{
    font-weight: 150;
}

.textGn{
    color: var(--textGn);
}

.textYw{
    color: var(--textYw);
}
/*end of font n' typography code*/

svg {
    width: 350px;
    height: 250px;

    margin: 5% auto 5% 8%;
}

.graphLabels{
    fill: white;
    font-family: "Josefin Sans";
    font-size: 1.4em;
    font-style: normal;
    font-weight: 300;
}

.yLabels{
    text-anchor: end;
}

.xLabels{
    text-anchor: middle;
}

/*code to specify only for basic lessons*/
#basicBgThing{
    background: var(--greenBg);
}

.bgGreenCWhite{
    background: var(--green);
    color: white;
}

.bgWhiteCGreen{
    background: white;
    color: var(--green)
}
/*end code to specify only for basic lessons*/

/*code to specify only for market lessons*/
#marketBgThing{
    background: var(--yellowBg);
}

.bgYelCWhite{
    background: var(--yellow);
    color: white;
}

.bgWhCY{
    background: #FFFFFF;
    color: var(--yellow);
}

/*end code to specify only for market lessons*/



.bgThing{
    display: grid;
    grid-template-rows: 40vh auto;
    height: 90vh;
    margin: 5vh 15px 5vh 15px;
    border-radius: 50px;
}

#funGraph{
    margin: 4vh 10px 2vh 10px;
    border-radius: 10px;
    background: rgba(34, 38, 45, 0.40);
}

#funGraph2{
    margin: 4vh 10px 0.5vh 10px;
    border-radius: 10px;
    background: rgba(34, 38, 45, 0.40);
}

.lessons{
    display: flex;
	width: 730%;
	box-sizing: border-box;	
}

#chartingThing{
    width: 698% !important;
}

.chartSwitcher{
    margin: 0 10px 5px 10px;
    border-radius: 10px;
    background: rgba(34, 38, 45, 0.75);
}

.chartSwitcher p{
    font-size: 2em;
    color: white;
    margin-left: 10px;
}

.chartBttns{
    grid-column: 1/9;
    margin: 0 10px 45px 10px;
    border-radius: 10px;
    background: rgba(34, 38, 45, 0.75);
}

.switching{
    width: 13.7%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 40vh auto;
    transition: all 0.7s;

}

.learnTxtBg{
    grid-column: 1/9;
    margin: 0 10px 0 10px;
    border-radius: 10px;
    background: rgba(34, 38, 45, 0.75);
}

.learnTxtBg p{
    color: white;
    font-size: 2em;
    font-weight: 350;
    margin-left: 0.75em;
    margin-right: 0.75em;
}

.learnBttn1, .learnBttnBack, .learnBttnCont, .learnBttnhome{
    border: none;
    border-radius: 50px;
    margin: 1vh 10px 2vh 10px;

    font-size: 3.2em;
    text-align: center;

}


.chartLead{
    border: none;
    border-radius: 50px;
    margin: 1vh 10px 2vh 10px;
    font-size: 3.2em;
    text-align: center;
    width: 84vw;

    color: white;
    background-color: var(--orange);
}

.learnBttn1{
    grid-column: 1/9;
}

.learnBttnBack{
    grid-column: 1/4;
}

.learnBttnCont, .learnBttnhome{
    grid-column: 4/9;
}

#funGraph img{
    margin-left: 3vw;
}

#chartBg{
    background-color: var(--greenBg);
}

.chartSwitcher p, #radioBttns{
    display: inline-block;
}


#homeBttn{
    text-align: center;
    margin-top: -40px;
}

#homeBttn a{
    color: white;
    text-decoration: none;
    font-weight: 100;
    font-size: 2em;
}

#radioBttns input[type="radio"] {
    opacity: 0;
    width: 0;
    position: fixed;
    margin: 3px 0px 0px 0px;
}

#radioBttns label {
    display: inline-block;
    background-color: white;
    padding: 0.5em;
    width: 23vw;

    text-align: center;
    font-size: 2em;
    font-family: "Josefin Sans", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--green);
    border: 3px solid var(--green);
    border-radius: 10px;
}

#radioBttns input[type="radio"]:focus+label {
    border: 3px solid var(--green);
}
  
#radioBttns input[type="radio"]:checked+label {
    background-color: var(--green);
    color: white;
    border: 3px solid var(--green);
}

form{
    margin: 1.5em;
    grid-column: 1/9;

    display: grid;
    grid-template-columns: subgrid;
}

.inlineB{
    display: inline-flex;
    flex-direction: column;
}

.firstHalf{
    grid-column: 1/4;
}

.secondHalf{
    grid-column: 5/9;
}

.fullWidth{
    grid-column: 1/9;
}

.everyP{
    display: inline-block;
    font-size: 2em;
    font-weight: 400;
    color: white;
}

.formParaA{
    margin-left: 0.7em;
    margin-right: 0.7em;
}

.formParaB{
    margin-left: -0.5em;
    margin-right: 0.5em;
    font-size: 1.8em;
}

.percSign{
    position: relative;
    left: -20px
}

#intRate{
    max-width: 15vw !important;
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
}

#etfType{
    max-width: 40vw !important;
}

form label, form input, form select, .percSign{
    font-family: "Josefin Sans";
    font-optical-sizing: auto;
    font-size: 2em;
}

form label{
    color: white;
    font-weight: 100;
}

form input[type="number"], form select{
    border-radius: 10px;
    border: none;
    padding: 1em;
    max-width: 30vw;
}

#recDS, #recDi{
    max-width: 20vw;
}