@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@900&display=swap');

* {
    font-size: 13px;
}

/* For Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

body {
    background-color: #ddddee;
    color: black;
    font-family: Verdana;
}

input {
    color: black;
    background-color: #eeeeee;
}

select {
    color: black;
    background-color: #eeeeee;
}

.calculators {
    display: flex;
    min-height: 40vh;
    min-width: 10vw;
    div {
        margin: 10px;
        border-radius: 3px;
    }

    #sixop {
        display: grid;
        background-color: #A0A4D3;
        outline: 2px solid #60627E;
        min-height: 40vh;
        min-width: 10vw;
        margin: 10px;
        padding: 20px;
    }

    #expression {
        display:grid;
        background-color: #A4D3A0;
        outline: 2px solid #627E60;
        margin: 10px;
        padding: 20px;
    }

    .exguide {
        background-color: #dddddd;
        color: black;
        font-size: 9px;
        padding: 3px;
        outline: 2px solid #cccccc;
    }

    #equation {
        display:flex;
        flex-direction: column;
        background-color: #D3A0A4;
        outline: 2px solid #7E6062;
        margin: 10px;
        padding: 20px;
    }

    #equation #x {
        height: 15px;
        width: 15px;
        padding: 1px;
    }


    input {
        color: black;
        background-color: #eeeeee;
    }

}






/*Special sidebar stuff ↓↓↓*/
.sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    padding: 10px;
    right: 0;
    top: 0;
    height: 100vh;
    width: 20vw;
    background-color: #222222;
    color: white;
    outline: 3px solid white;
}

.sidebar a {
    border-radius: 7px;
    margin: 5px;
    padding: 6px 8px 6px 16px;
    font-size: 1.4em;
    background-color: #444444;
    color: #888888;
    display: block;
}

.sidebar a:hover {
    color: white;
    background-color: #888888;
}

.title {
    display: block;
    border-radius: 7px;
    font-weight: bold;
    font-size: 1.5em;
}

.sidebar select {
    background-color: #333333;
    color: white;
}

.sidebar select:hover {
    background-color: #666666;
}

.sidebar .light {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

.catimg {
    display: block;
    height: 12.5vw;
    width: 12.5vw;
    outline: 2px solid white;
    border-radius: 3px;
}

.light #switch {
    background-color: #333333;
    color: white;
    margin-right: 10px;
    display: block;
    width: 100%;
}

.light #switch:hover{
    background-color: #666666;
}

.night {
    background-color: #00000f;
    .sixop {
        background-color: #15162d;
        outline: 2px solid #0e0f1f;
        color: white;
    }

    .expression {
        background-color: #162d15;
        outline: 2px solid #0f1f0e;
        color: white;
    }

    .exguide {
        background-color: #222222;
        outline: 2px solid #111111;
        color: white;
    }

    .equation {
        background-color: #2d1516;
        outline: 2px solid #1f0e0f;
        color: white;
    }

    select {
        background-color: #333333;
        color: white;
    }
    input {
        background-color: #333333;
        color: white;
    }
}

.canvas {
    border:2px solid black;
    border-radius: 3px;
    background-color: white;
    margin: 10px;
    min-width: 50vw;
    max-height: 40vh;
}
