@font-face {
    font-family: 'JetBrains Mono';
    src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures footer stays at the bottom */
    align-items: center;
    background-color: #212529;
}

.h1 {
    font-family: "JetBrains Mono";
    color: #DEE2E6;
}

.h2, .p {
    font-family: "JetBrains Mono";
    color: #DEE2E6;
}

.h2 {
    font-size: 1.3em;
}

.p {
    font-size: 1.1em;
}

.title {
    font-weight: 600;
    margin-top: 50px;
    padding-bottom: 10px;
}

.form {
    display: flex;
    flex-direction: column;
}

.input {
    background-color: #1A1D20;
    color:#DEE2E6;
    border-width: 0px;
    border-radius: 5px;
    outline: 1px solid white;
    padding: 5px;
}

.input:hover {
    background-color: #212529;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #1A1D20;
    border-radius: 5px;
    width: 90%;
    max-width: 350px;
}

.center {
    text-align: center;
    align-self: center;
}

.copyright {
    display: none;
}

.info-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.button {
    padding: 10px;
    background-color: #5BC0DE;
    color: #000;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.layout-btn {
    margin: 10px;
    width: 100%;
    height: 50px;
    font-size: 1.3em;
}

.button:hover {
    background-color: #51A8C2;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    padding: 10px 0;
    width: 100%;
}

/* PC-specific styles */
@media (min-width: 768px) {
    .content {
        margin-top: 20px;
        width: 60%;
        max-width: 600px;
        padding: 20px;
        margin-bottom: auto;
    }

    .info-btns {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .button {
        padding: 10px 20px;
    }

    .layout-btn {
        width: auto;
        height: auto;
        font-size: 1.2em;
        width: auto;
    }

    .copyright {
        display: block;
    }

    .mra {
        margin-right: auto;
    }

    .mla {
        margin-left: auto;
    }
}
