@import url('https://fonts.googleapis.com/css2?family=Bungee+Spice&family=Inter:wght@100;300;400;500;600&family=Kablammo&family=Libre+Barcode+128+Text&family=Redacted+Script:wght@300;400;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,100;1,300;1,400&display=swap');

/* Variables */
:root{
    --color-primary: #ffffff;
    --color-secondary: #000000;

    --background-primary: #2D2D2D;
    --background-secondary: #4b4b4b;
    --background-tertiary: #808080;

    --background-primary-hover: #1b1b1b;
    --background-secondary-hover: #343434;
    --background-tertiary-hover: #575757;

    --background-primary-border: #3a3a3a;
    --background-secondary-border: #5f5f5f;
    --background-tertiary-border: #7c7c7c;

    --btn-primary: #0000ff;
    --btn-secondary: #2e2e2e;

    --input-color: #000000;
    --input-background: #ffffff;

    --error-background: #ff0000;
}

/* Scrollbar */
/* width */
::-webkit-scrollbar {
    width: 7px;
}
  
/* Track */
::-webkit-scrollbar-track {
    background: #858585;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #555555;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #2e2e2e;
}

html{
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    font-family: 'Redacted Script', cursive;
    font-family: 'Bungee Spice', cursive;
    font-family: 'Kablammo', cursive;
    font-family: 'Libre Barcode 128 Text', cursive;
    font-family: 'Roboto', sans-serif;
}

/* Main container */
body{
    height: 100vh;
    width: 100vw;
    background: var(--background-primary);
    display: flex;
    flex-direction: column;
}

.container{
    height: 100%;
    width: 95%;
    max-width: 1400px;
    margin: auto;
}

/* Form */
.form-container{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: initial;
}

.form-container .form{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 10px;
    background: var(--background-secondary);
}

.form-container .form div{
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-container .form div:last-child{
    margin-bottom: 0;
}

.form-container .form div label{
    color: var(--color-primary);
}

.form-container .form :is(input:not(:is([type=submit])),select){
    color: var(--input-color);
    background: var(--input-background);
    border-radius: 5px;
    font-size: 1.5rem;
    padding: .4rem;
}

.form-container .form select{
    cursor: pointer;
}

.form-container .form input:is([type=submit],[type=button]){
    width: fit-content;
    color: var(--color-primary);
    background: var(--btn-primary);
    border-radius: 5px;
    font-size: 1.5rem;
    padding: .4rem;

    width: 50%;
    text-align: center;
    margin: auto;
    margin-top: 1.5rem;
    float: right;

    cursor: pointer;
}

.error-msg{
    color: var(--color-primary);
    background: var(--error-background);
    padding: 0.3rem;
    text-align: center;
    border-radius: 4px;
    margin-top: 2px;
    font-size: 1.2rem;
}

/* Popup form */
.popup-form{
    position: fixed;
    top: 0;
    left: 0;
}

/* Divider */
fieldset {
    border-top: 1px solid #7c7c7c;
}

fieldset legend{
    color: #7c7c7c;
    margin: auto;
    padding: 0.5rem 1rem;
}

/* Generics */
.d-none{
    display: none !important;
}

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

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

@media screen and (min-width: 1200px) {
    html{
        font-size: 16px;
    }
}