@import url(utils.css);
@import url(tokens.css);

@import url(header.css);

/* ======================================== GENERAL =================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    position: relative;
    box-sizing: border-box;
    font-family: var(--sr-font-primary);
    font-size: 16px;
    background-color: var(--sr-color-black);
}

main {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    height: fit-content;
    width: 100%;
    padding: 1.5rem;
    padding-top: calc(var(--sr-header-height) + 1.5rem);
    background-color: var(--sr-color-black);
}

@media screen and (max-width: 992px) {
    html {
        font-size: 14px;
    }

    main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 12px;
    }

    main {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ======================================== BUTTONS =================================== */
button {
    font-family: var(--sr-font-secondary);
    font-size: var(--sr-text-normal);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
}

button.active,
button:hover {
    background-color: var(--sr-color-orange);
    color: var(--sr-color-black);
    box-shadow: 0 0.25rem 0.75rem var(--sr-color-orange-40);
}

article {
    background-color: var(--sr-color-white-10);
    color: var(--sr-color-white);
    border: 1px solid var(--sr-color-cyan);
    border-radius: 1rem;
    padding: 1.5rem;
}

input {
    font-family: var(--sr-font-secondary);
    font-size: var(--sr-text-normal);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    outline: none;
    width: 100%;
}

pre {
    background: var(--sr-color-black);
    color: var(--sr-color-green);
    padding: 10px;
    height: 200px;
    overflow: auto;
}