:root {
    --background: #000000;

    --container: #111111;
    --container-2: #1c1c1c;

    --container-hover: #222222;

    --button: #e9f6ff2f;
    --button-text: #ffffff;

    --button-hover: #e9f6ff;
    --button-hover-text: #0a1116;

    --input-bg: #000000;
    --input-text: #ffffff;

    --text: #ffffff;

    --accent: #71c9ff;
    --on-accent: #0f1a21;
}










/* GLOBAL ELEMENTS */
body {
    background-color: var(--background);
    margin: 0;
    padding: 0;
}




a {
    text-decoration: none;
}




button {
    position: relative;

    padding: 10px 15px;
    box-sizing: border-box;

    background-color: var(--button);
    border-radius: 5px;

    font-family: "Gabarito";
    font-weight: 400;
    font-size: 1rem;
    color: var(--button-text);

    outline: none;
    border: none;

    transition: all 0.2s ease;
}

button:hover {
    background-color: var(--button-hover);
    color: var(--button-hover-text);
    font-weight: 900;
    box-shadow: 0 0 20px 5px #0000008e;
    cursor: pointer;
}

button:focus {
    outline: 2px solid var(--accent);
}






input[type="text"],
input[type="number"],
select {
    position: relative;

    padding: 15px;
    box-sizing: border-box;

    background-color: var(--input-bg);
    border-radius: 5px;

    border: none;
    outline: none;

    font-family: "Gabarito";
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--input-text);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}









/* CUSTOM ELEMENTS */
.pageFrame {
    position: absolute;

    width: 100svw;
    height: 100svh;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 10px;
}

.pageFrame.center {
    align-items: center;
    justify-content: center;
}






.checkbox {
    position: relative;

    width: 30px;
    height: 30px;

    background-color: #ffffff7e;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.check {
    display: none;
}

.checkbox.checked .check {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 3px;
    box-sizing: border-box;

    background-color: var(--accent);
    fill: var(--on-accent);

    display: flex;
    align-items: center;
    justify-content: center;
}












::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}













.popupContainer {
    position: absolute;

    top: 0px;
    left: 0px;

    width: 100svw;
    height: 100svh;

    display: none;
    align-items: center;
    justify-content: center;
}

.popupOverlay {
    position: absolute;

    top: 0px;
    left: 0px;

    width: 100svw;
    height: 100svh;

    opacity: 0;

    background-color: #000000c9;
    backdrop-filter: blur(0px);

    transition: all 0.4s ease;
}

.popupOverlay.visible {
    opacity: 1;
    backdrop-filter: blur(10px);
}

.popup {
    position: relative;

    min-width: 700px;

    margin-top: 100px;
    opacity: 0;

    background-color: var(--container);
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;

    overflow: hidden;

    transition: all 0.2s ease-out;
}

.popup.visible {
    margin-top: 0px;
    opacity: 1;
}

.popHead {
    position: relative;

    width: 100%;
    height: 50px;

    background-color: var(--container-2);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popTitle {
    position: relative;

    padding: 20px;

    font-family: "Gabarito";
    font-weight: 400;
    font-size: 1rem;
    color: var(--text);
}

.popXBtn{
    position: relative;
    
    height: 100%;
    aspect-ratio: 1/1;

    background-color: #ffffff1b;
    border-radius: 0px;

    fill: #ffffff;

    padding: 10px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
}

.popXBtn:hover {
    background-color: #ff0000;
    cursor: pointer;
}

.popXBtn:focus {
    outline: none;
}

.popContent {
    position: relative;

    width: 100%;
    max-height: 70svh;
    overflow: auto;

    padding: 30px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}














/* FONT FAMILYS */

@font-face {
    font-family: "Gabarito";
    src: url("/assets/fonts/gabarito/Gabarito-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Gabarito";
    src: url("/assets/fonts/gabarito/Gabarito-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Gabarito";
    src: url("/assets/fonts/gabarito/Gabarito-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Gabarito";
    src: url("/assets/fonts/gabarito/Gabarito-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Gabarito";
    src: url("/assets/fonts/gabarito/Gabarito-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Gabarito";
    src: url("/assets/fonts/gabarito/Gabarito-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}