@import url("https://fonts.googleapis.com/css2?family=Smooch+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap");

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::-webkit-scrollbar-track {
    background-color: transparent;
}

*::-webkit-scrollbar {
    height: 6px;
    width: 6px;
    background-color: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.6);
}


:root {
    --black-0: rgb(0, 0, 0);
    --black-1: rgb(29, 29, 29);
    --white-1: rgb(240, 240, 240);
    --gray-1: rgb(180, 180, 180);
}

body {
    position: relative;
    font-family: "Smooch Sans", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background-color: var(--black-1);
    color: var(--white-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--white-1);
}

button {
    margin: 0;
    padding: 0 0.5rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-align: inherit;
    color: inherit;
    background-color: transparent;
    outline: none;
    border: none;
    min-height: 1.8rem;
}

input,
select {
    min-height: 1.8rem;
    min-width: 8rem;
    margin: 0 2px;
    padding: 0.4rem 0.5rem;
    /* background-color: var(--white-1); */
    background: none;
    color: var(--white-1);
    border: 1px solid transparent;
    border-bottom: 1px solid var(--white-1);
}

input:focus,
select:focus {
    outline: none;
}

select {
    cursor: pointer;
}

select option {
    color: var(--black-1);
}

/* ============= LAYOUT =============== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    padding: 0 2.5%;
    background-color: var(--black-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

nav {
    display: flex;
    align-items: center;
}

nav form input[type="text"] {
    height: 2.3rem;
    outline: none;
    border: 1px solid transparent;
    border-bottom: 1px solid var(--white-1);
    background: none;
    caret-color: var(--white-1);
    color: var(--white-1);
    margin-right: 1rem;
}

nav a {
    border: 1px solid transparent;
    background-color: var(--white-1);
    color: var(--black-1);
    padding: 0.5rem;
    margin-left: 1rem;
    transition: all 0.2s ease;
}

nav a:hover,
nav a[data-active="true"] {
    border: 1px solid var(--white-1);
    background-color: transparent;
    color: var(--white-1);
    font-weight: 600;
    letter-spacing: 2px;
}

main {
    width: 100%;
    height: 100%;
    padding: 5rem 5% 6rem 5%;
}

footer {
    position: absolute;
    width: 100%;
    height: 4rem;
    bottom: 0;
    left: 0;
    font-weight: 200;
    padding: 0 2.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

footer p:nth-child(1) {
    padding-right: 2rem;
}

footer p:nth-child(2) {
    text-align: right;
    width: 20rem;
}

/* ============= COMMON =============== */

.label {
    padding: 0 0.4rem;
    border-radius: 0.25rem;
    font-weight: 700;
    user-select: none;
    color: var(--white-1);
}

.label.blue {
    background: rgb(2, 0, 36);
    background: linear-gradient(
            180deg,
            rgba(2, 0, 36, 1) 0%,
            rgba(9, 9, 121, 1) 61%,
            rgba(0, 138, 255, 1) 100%
    );
    white-space: nowrap;
}

.label.orange {
    background: rgb(138, 48, 0);
    background: linear-gradient(
            180deg,
            rgba(138, 48, 0, 1) 0%,
            rgba(255, 111, 0, 1) 72%,
            rgba(255, 149, 0, 1) 100%
    );
}

.label.purple {
    background: rgb(83, 1, 56);
    background: linear-gradient(
            180deg,
            rgba(83, 1, 56, 1) 0%,
            rgba(171, 0, 98, 1) 72%,
            rgba(255, 0, 181, 1) 100%
    );
    white-space: nowrap;
}

.dimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1;
    opacity: 1;
    pointer-events: all;
    transition: all 0.2s ease;
}

.dimmer.fixed {
    position: fixed;
    width: 100vw;
    height: 100vh;
}

.dimmer.hide {
    opacity: 0;
    pointer-events: none;
    user-select: none;
}

