@font-face {
    font-family: "Nasa";
    src: url("/fonts/Nasa.otf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Computerist";
    src: url("/fonts/Computerist.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Disolve Regular";
    src: url("/fonts/disolveregular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Blastimo";
    src: url("/fonts/BLASTIMO.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Hanged";
    src: url("/fonts/Hanged.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Aurora";
    src: url("/fonts/AURORA.otf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "NewsPaper";
    src: url("/fonts/newspaper.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Pirat One";
    src: url("/fonts/Pirata_One/PirataOne-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Plaster";
    src: url("/fonts/Plaster/Plaster-Regular.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Jacquard 12";
    src: url("/fonts/Jacquard_12/Jacquard12-Regular.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Science Gothic";
    src: url("/fonts/Science_Gothic/ScienceGothic-VariableFont_CTRS,slnt,wdth,wght.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Titan One";
    src: url("/fonts/Titan_One/TitanOne-Regular.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Unifraktur Maguntia";
    src: url("/fonts/UnifrakturMaguntia/UnifrakturMaguntia-Regular.ttf") format("truetype");
    font-weight: 700;
}

:root{
    --bg: #313715;
    --items: #d16014;
    --divs: rgba(255, 255, 255, 0.15);
}

html{
    background: #3E3F4B;
    background-size: 100% 100%;
    background-repeat: repeat-y;
    user-select: none;
    -ms-touch-select: none;
}

body {
    display: flex;
    flex-direction: column;
    justify-content:start;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100dvh;
    padding: 0;
    margin: 0;
    background: #3E3F4B; 
    background-size: 100% 100%;
    font-size: 18pt;
    overflow: hidden;
    font-family: "Unifraktur Maguntia";
    box-sizing: border-box;
    scroll-behavior: smooth;
    user-select: none;
}

#container{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

.ecuation-input{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.function-form{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #2E2F3A;
    flex-wrap: nowrap;
    
    p{
        font-family: "Nasa";
        margin: 0 1% 0 0;
        background: transparent;
        color: aliceblue;
    }
}

small{
    width: 75%;
    margin: 2%;
    gap: 5%;
    padding: 2%;
    color: aliceblue;
    font-size: 8pt;
    font-family: "Nasa";
    position: absolute;
    bottom: 0%;
    background: transparent;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

Credits{
    font-family: "Computerist";
    font-size: 12pt;
    font-weight: 1500;
    color: white;
    word-spacing: 5px;
    text-align: center;
}

#graphic{
    top: 0%;
    position: sticky;
    width: 100%;
    background: #99999999;
    backdrop-filter: blur(35px);
}

textarea {
    text-align: start;
    width: 80%;
    min-height: 30px;
    height: 34px;
    line-height: 1.3;
    margin: 3% 0 3% 0;
    padding: 2%;
    font-size: 26px;
    background: #ffffff10;
    color: white;
    z-index: 1000;
    box-sizing: content-box;
    border: 1px solid var(--divs);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-family: 'Times New Roman', Times, serif;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 4px 4px 25px 3px #00000075, inset -2px -2px 20px 3px #ffffff40;
    overflow: hidden;
    resize: vertical;
    form-sizing: content;
    
    &:focus {
        outline: none;
        caret-color: indianred;
        transform: matrix(3);
    }
}

.manual{
    display: none;
    z-index: 1000;
    position: absolute;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 98%;
    margin: 1%;
    flex-direction: column;
    background: var(--divs);
    border: 1px solid var(--divs);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    box-shadow: inset 3px 3px 20px 5px #00000070, inset -3px -3px 20px 3px #ffffff60;
    transform: translateX(-150%);
    
    ul{
        display: flex;
        padding: 0;
        margin: 5%;
        background: transparent;
        list-style: none;
        
        li{
            font-family: "Nasa";
        }
    }
    
    .example{
        font-family: monospace;
        background: #00000035;
        padding: 2% 0 2% 0;
        border-radius: 5px;
    }
}

#logs{
    display: flex;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    color: red;
    flex-direction: column;
}

.axes{
    overflow-y: auto;
    position: fixed;
    display: none;
    justify-self: center;
    align-self: center;
    width: 50%;
    font-family: monospace;
    text-align: center;
    background: var(--divs);
    border: 1px solid var(--divs);
    border-radius: 10px;
    justify-content: center;
    border-collapse: collapse;
    box-sizing: border-box;
    align-items: center;
    
    td,th{
        padding: 5%;
        border: aliceblue 1px solid;
        width: 50%;
        border-radius: 5px;
        box-sizing: border-box;
    }
}

.actions{
    display: flex;
    width: 100%;
    flex-direction: row;
    padding: 2%;
    gap: 5%;
    user-select: none;
    box-sizing: border-box;
}

button {
    font-size: 10pt;
    padding: 8%;
    text-align: center;
    background: var(--divs);
    border: 1px solid var(--divs);
    border-radius: 10px;
    user-select: none;
    flex-basis: 30%;
    color: white;
    font-family: "Nasa";
    font-weight: 1000;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 25px 3px #00000070, inset 3px 3px 20px 5px #00000070, inset -3px -3px 20px 3px #ffffff60;
    transition: all .3s ease-in-out;
    
    &:active{
        transform: perspective(550px) scaleZ(5) rotateX(20deg);
        box-shadow: 0px 15px 25px 3px #00000070, inset 3px 3px 20px 5px #00000070, inset -3px -3px 20px 3px #ffffff60;
    }
}