@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/dependencies/IBM-Plex-Mono.woff2) format('woff2');
}

body {
    background-color: #222229;
    color: #EEEEEE;
    line-height: 1.3;
    margin: auto 3%;
    font-family: 'IBM Plex Mono', monospace;
}

p {
    font-size: 0.9rem;
}

main {
    max-width: 950px;
    margin-bottom: 70px;
    margin-top: 50px;
}

hr {
    border: 0;
    border-bottom: 1px solid #999999;
    margin: 0;
    width: 50%;
    max-width: 20rem;
}

code, pre {
    box-sizing: border-box;
    display: inline-block;
    padding: 0.5rem;
    background: #000000;
}

h3 {
    font-weight: 400;
    margin-top: 2rem;
}

h4 {
    margin-top: 2rem;
}

a {
    color: #FFFFFF;
}

/* Stupid hack to change color of dots in lists */

ul {
    list-style: none; /* Remove default bullets */
}

ul li::before {
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: #7060AA; /* Change the color */
    font-weight: bold; /* If you want it to be bold */
    font-family: monospace;
    display: inline-block; /* Needed to add space between the bullet and the text */
    font-size: 1rem;
    width: 1.33em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
}

li {
    padding-top: .33rem;
}

.menubtn {
    font-family: 'IBM Plex Mono', monospace;
    border: 0;
    border-radius: 0;
    padding: .5rem .9rem;
    font-size: .9rem;
    color: #DDDDDD;
    background-color: #505070;
    user-select: none;
    margin: -.25rem 0 .5rem;
}

.menubtn:hover {
    background-color: #7060AA;
}

.menubtn:active {
    background-color: #8050FF;
}

.brighter {
    background-color: #7050FF;
    color: white;
}

.no-decor {
    text-decoration: none;
}

.accent {
    color: #AA70FF;
}

.margin {
    margin-top: 2rem;
}

.field_input {
    border: 1px black solid;
    padding: 0.5rem;
    width: 12rem;
    max-width: 95%;
    margin-bottom: 0.5rem;
    color: #DDDDDD;
    background-color: #111111;
}

.text_input {
    padding: .5rem;
    border: 1px black solid;
    width: 40rem;
    max-width: 95%;
    height: 15rem;
    margin: auto auto 2rem;
    color: #DDDDDD;
    background-color: #111111;
}

.button {
    border: 1px black solid;
    border-radius: 0;
    padding: .75rem 1.2rem;
    color: #DDDDDD;
    background-color: #111111;
}

/* Animate */

.opacity-trans{
    opacity:1;
    transition: opacity 175ms ease-in;
}
.htmx-request .opacity-trans{
    opacity:0.1
}
.htmx-request.opacity-trans{
    opacity:0.1
}


/* Desktop */


@media (min-width: 900px) {

    main {
        display: grid;
        grid-template-columns: 9.5rem auto;
    }

    .layout-menu {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        width: 130px;
        border-right: 1px #404040 solid;
    }

    .layout-content {
        justify-self: left;
        justify-content: left;
        margin: 0;
        margin-top: -1.33rem;
    }

    .menubtn {
        margin: .5rem 0;
        width: 110px;
    }

}