* {
    border: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Google sans", "sans serif";
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0076ff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header h4 {
    text-align: center;
    font-size: 2em;
    display: block;
    margin: .5em;
    color: #fff;
    font-weight: 700;
}

.quadratic {
    width: 90%;
    padding: 1.2em;
    background: #fff;
    margin: 0 auto;
    text-align: center;
    margin: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 1em;
}

.quadratic h6 {
    font-size: 1.5em;
    color: #0076ff;
    margin: .5em auto;
}

.quadratic div {
    margin: .5em;
}

.quadratic input {
    width: 1.8em;
    height: 1.8em;
    border: 0.01em solid #000;
    text-align: center;
    outline: none;
    border-radius: 0.2em;
    font-size: 1.6em;
    transition: all ease .5s;
}

.quadratic input:hover {
    border: 0.1em solid #0076ff;
}

.quadratic span {
    font-size: 1.8em;
}

.quadratic #getResult {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #0076ff;
    border: 0.1em solid #0076ff;
    text-align: center;
    margin: 1em auto;
    border-radius: 0.2em;
    padding: 0.4em;
    font-size: 1.6em;
    transition: all ease .5s;
}

.quadratic #getResult:hover {
    background: #0076ff;
    border: none;
    color: #fff;
}

.quadratic #firstResult {
    font-size: 1.5em;
    margin: 0.5em;
    display: block;
}

.linear {
    width: 90%;
    padding: 1.2em;
    background: #fff;
    margin: 0 auto;
    text-align: center;
    margin: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 1em;
}

.linear h6 {
    font-size: 1.5em;
    color: #0076ff;
    margin: .5em auto;
}

.linear input {
    width: 1.8em;
    height: 1.8em;
    border: 0.01em solid #000;
    text-align: center;
    outline: none;
    border-radius: 0.2em;
    font-size: 1.6em;
    transition: all ease .5s;
}

.linear input:hover {
    border: 0.1em solid #0076ff;
}

.linear div > div {
    margin: 1em;
}

.linear span {
    font-size: 1.8em;
}

.linear #getEquationResult {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #0076ff;
    border: 0.1em solid #0076ff;
    text-align: center;
    margin: 1em auto;
    border-radius: 0.2em;
    padding: 0.4em;
    font-size: 1.6em;
    transition: all ease .5s;
}

.linear #getEquationResult:hover {
    background: #0076ff;
    border: none;
    color: #fff;
}

.linear #oneResult, .linear #twoResult {
    font-size: 1.5em;
    margin-top: .5em;
    display: block;
}

.threeLinear {
    width: 90%;
    padding: 1.2em;
    background: #fff;
    margin: 0 auto;
    text-align: center;
    margin: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 1em;
}

.threeLinear h6 {
    font-size: 1.5em;
    color: #0076ff;
    margin: .5em auto;
}

.threeLinear input {
    width: 1.8em;
    height: 1.8em;
    border: 0.01em solid #000;
    text-align: center;
    outline: none;
    border-radius: 0.2em;
    font-size: 1.5em;
    transition: all ease .5s;
}

.threeLinear input:hover {
    border: 0.1em solid #0076ff;
}

.threeLinear div > div {
     margin: .5em auto; 
}

.threeLinear span {
    font-size: 1.4em;
}

.threeLinear button#getThreeLinearRes  {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #0076ff;
    border: 0.1em solid #0076ff;
    text-align: center;
    margin: 1em auto;
    border-radius: 0.2em;
    padding: 0.4em;
    font-size: 1.6em;
    transition: all ease .5s;
}

..threeLinear button#getThreeLinearRes:hover {
    background: #0076ff;
    border: none;
    color: #fff;
}

.threeLinear label {
    font-size: 1.5em;
    margin-top: .5em;
    display: block;
}

footer {
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer > li {
    list-style: none;
    margin: 1.2em;
    background-color: transparent;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer li > a {
    color: #fff;
    font-size: 1.9em;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

footer > li a:hover {
    font-size: 2.3em;
 }
