body {
    padding: 0;
    margin: 0;
    margin-top: auto;
    margin-bottom: auto;
    background-color: #c9c9c9;
    display: flex;
    flex-direction: row;
    position: fixed;
    width: 100%;
    height: 100%;
    font-family: "Trebuchet MS";
    font-size: 8vw;
    overflow: hidden;
    /* Disables double tap to zoom function on mobile */
    touch-action: manipulation;

    /* Disables text selection */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;

    /* Background image */
    background-image: url("Assets/Images/bg.png");
    background-size: 100%;
    background-repeat: repeat;
}

* {
    box-sizing: border-box;
}

button {
    font-size: 30%;
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 8vh;

    font-family: "Trebuchet MS";
    background-color: white;
    color: black;
    border: 0.25vw solid #787878;
    border-radius: 2vw;
    cursor: pointer;
    text-align: center;
    box-shadow: 0vw 0px 0.5vw #000;

    justify-content: center;
    align-items: center;

    transition: 0.15s ease-in-out;
}

button:hover {
    background-color: whitesmoke;
}

button:active {
    box-shadow: 0vw 0px 0.25vw #000;
    background-color: white;
    border-color: #b3b3b3;
}

canvas {
    box-shadow: 0vw 0vw 1vw #000;
}

input {
    width: 50%;
    padding: 0.5vw;
    box-sizing: border-box;
    font-size: 100%;
    background-color: white;
    border: 0.25vw solid #787878;
    border-radius: 2vw;
    box-shadow: 0vw 0px 0.5vw #000;
    transition: 0.15s ease-in-out;
}

input:hover {
    background-color: whitesmoke;
}

input:focus {
    border-color: #b3b3b3;
    background-color: white;
    outline: none;
}

textarea {
    width: 50%;
    padding: 0.5vw;
    box-sizing: border-box;
    font-size: 100%;
    background-color: white;
    border: 0.25vw solid #787878;
    border-radius: 2vw;
    box-shadow: 0vw 0px 0.5vw #000;
    transition: 0.15s ease-in-out;
    font-family: "Trebuchet MS";
}

textarea:hover {
    background-color: whitesmoke;
}

textarea:focus {
    border-color: #b3b3b3;
    background-color: white;
    outline: none;
}

.menuSideBar {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2vh;
    gap: 2vh;
}

.bottomButtons {
    gap: 2vh;
    padding: 2vh;
    position: absolute;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    width: 100%;
    right: 1%;
}

.filterSideBar {
    position: relative;
    height: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 2vh;
    justify-content: top;
}

.simulationSideBar {
    position: relative;
    max-height: 100vh;
    height: 100%;
    width: 100%;
    padding: 2vh;
    background-color: #d1d1d1;
    display: none;
    gap: 2vh;
    font-size: 100%;
    box-shadow: 0vw 0px 2vw #000;

    flex-direction: column;
    align-items: center;
}

.problemCreation {
    position: relative;
    max-height: 100vh;
    height: 100%;
    width: 100%;
    padding: 2vh;
    display: none;
    gap: 2vh;
    font-size: 100%;
    box-shadow: 0vw 0px 2vw #000;

    flex-direction: column;
    align-items: center;
}

.optionsBar {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: none;
}

.loadingClass {
    font-size: 50%;
    height: 100vh;
    width: 100vw;
    margin: 0px;
    background-color: #4f4f4f;
    color: #c4c4c4;
    text-align: center;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.creationPage {
    font-size: 80%;
    padding: 2vh;
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 2vh;
    width: 100%;
    height: 100%;
    background-color: #bababa;
    color: black;
    border-radius: 2vw;
    box-shadow: 0vw 0px 0.5vw #000;
}

.givensPage {
    font-size: 30%;
    display: block;
    padding: 3vh;
    width: 100%;
    background-color: #bababa;
    color: black;
    border-radius: 2vw;
    box-shadow: 0vw 0px 0.5vw #000;
}

.givens {
    font-size: 50%;
    width: 100%;
    color: black;
}

.inputsPage {
    font-size: 30%;
    display: block;
    padding: 3vh;
    width: 100%;
    background-color: #bababa;
    color: black;
    border-radius: 2vw;
    box-shadow: 0vw 0px 0.5vw #000;
}

.inputs {
    font-size: 50%;
    width: 100%;
    color: black;
}

.fullProblem {
    display: none;
    font-size: 20%;
    padding: 3vh;
    width: 100%;
    background-color: #bababa;
    box-shadow: 0vw 0px 0.5vw #000;
    color: black;
    border-radius: 2vw
}

.checkbox {
    display: flex;
    width: 4vh;
    height: 4vh;
    font-size: 20%;
    white-space: nowrap;
}