* {
    margin: 0;
    padding: 0;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

body {
    background-color: #222;
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    color: rgb(0, 102, 204);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    width: 100%;
    display: grid;
    place-items: center;
    height: 100px;
    border-top: 1px solid #bbb;
    margin-top: 20px;
    max-width: 1000px;
}

footer .links {
    display: flex;
    gap: 15px;
    justify-content: space-evenly;
}

footer .links a {
    color: #bbb;
}

.figure {
    width: 100%;
    display: grid;
    flex-direction: column;
    place-items: center;
    gap: 10px;
}

.figure img, .figure video {
    width: 80%;
}

.figure p {
    width: fit-content;
}

.equation {
    margin: 0 auto;
    font-size: 1.2rem;
    /* overflow: auto hidden; */
}

code {
    background-color: #111;
    color: #bbb;
    padding: 10px;
    width: calc(100% - 15px);
    position: relative;
}

code pre {
    overflow-x: auto;
    scrollbar-width: thin;
}

code button {
    background-color: #222;
    color: #bbb;
    outline: none;
    border: 1px solid #444;
    padding: 2px;
}

code button:hover {
    background-color: #333;
}