html {
    height: 100%;
}

body {
  font-family: "Computer Modern Serif", sans-serif;
  background-color: white;
  color: black;
  height: 100%;
  margin: 0;
}

a {
    color : black;
}

.preview {
    background: rgba(107, 107, 107, 0.4);
    border-radius: 8px/8px;
    margin : 10px;
    width: 90%;
}

.preview > h2 {
    user-select: none;
    font-size: 30px;
    text-align: center;
}

.input {
    width: 80%;
}

.input > input {
    border-radius: 4px/4px;
    outline: none;
    border: none;
    background: rgba(104, 104, 104, 0.4);
    color: black;
    font-size: 1.4em;
    padding: 8px;
    min-width: 400px;
    width: calc(100% - 16px);
    transition: 0.2s;
}

.input > input::placeholder {
    color : rgb(255, 255, 255);
}

.input > input:focus {
    box-shadow: 0 0 10px rgba(104, 104, 104, 0.4);
}

.submitBtn {
    margin: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submitBtn button {
    background: rgb(63, 61, 61);
    color: white;
    outline: none;
    border-radius: 4px/4px;
    border : none;
    padding: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
}

.submitBtn button:hover {
    opacity: 0.8;
}

.submitBtn button:active {
    opacity: 0.6;
}

.globalWrapper {
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
    align-items: center;
}

.title {
    font-size: 300%;
    user-select: none;
}

.box {
    color: white ;
    text-decoration: none;
    width: 20%;
    aspect-ratio: 1 / 1;
    background: rgb(63, 61, 61);
    border-radius: 8px/8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
    transition: 0.2s;
    cursor: pointer;
    min-width: 200px;
}

.box > .icon {
    background-color: white;
    color : black;
    border-radius: 50%;
    height: 40%;
    aspect-ratio: 1 / 1;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box > .icon > .MathJax {
    scale: 1.2;
}

.box > .icon, .box > p {
    user-select: none;
}

.box:hover {
    box-shadow: 0 0 20px black;
}

.box:active {
    background-color: rgb(180, 180, 180);
}

.credits {
    position: fixed;
    margin: 2px;
    bottom: 4px;
    left: 8px;
    font-size: 20px;
    user-select: none;
}

.possibilities {
    display: flex;;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}