/* FONTS DEFINITIONS - LOCALLY HOSTED */
@font-face {
    font-display: swap;
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/roboto-mono-v23-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/roboto-v47-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/poppins-v22-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/poppins-v23-latin-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Squada One';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/squada-one-v18-latin-regular.woff2') format('woff2');
}

/* --- */



:root {
    --trebe-dark-blue: #031f46;
    --color: #031f46;
    --bg-color: #ffffff;
    --color-slider-off: #5f5f5f;
    --bg-color-slider-off: #c3c3c3;
    --bg-color-slider-on: #ededed;
    --unconfirmed-color: #5c5c5c;

    --font-family: "Poppins";
    --font-size: 1rem;
}


* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    color: var(--color);
}

html,
body {
    height: 100%;
    overflow: auto;
}

body {
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
}

.form-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

.form-wrap * {
    text-align: center;
}

.form-wrap>div {
    width: 50%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


.main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: center;
    padding: 1rem;
}

.header {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.logo {
    height: 6vh;
}

#config {
    font-size: 0.9rem;
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    justify-content: space-between;
    align-items: center;
}

#config>div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.simple-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 5%;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    box-sizing: border-box;
    border: 1px solid var(--color);
    border-radius: 0.5rem;
    flex: 1 1 0;
}

.simple-container.collapsed {
    flex-grow: 0;
}

.simple-container.collapsed .text-scroller {
    display: none;
}

.text-scroller {
    width: 100%;
    max-height: 100%;
    text-align: left;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0.5rem;
}

.text-scroller::-webkit-scrollbar {
    display: none;
}

.text-scroller>div {
    margin-top: calc(var(--font-size) * var(--zoom-factor));
    display: inline;
}

.unconfirmed {
    color: var(--unconfirmed-color);
}

.bar {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 1px var(--color);
}

.label {
    position: sticky;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: var(--bg-color);
    z-index: 2;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.btn {
    background-color: var(--bg-color);
    color: var(--color);
    border: 1px solid var(--color);
    border-radius: 0.375rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    body * {
        font-size: 1.15rem;
    }

    .label,
    .label * {
        font-size: 1rem;
    }

    .logo {
        height: 10vh;
    }

    .form-wrap>div {
        width: 90%;
    }

    .simple-container {
        min-height: calc(max(50px, 5%));
    }
}