:root {
    --main-color: #0a6f79;
    --bck-main-color: #121212d8;
    --bck-main-color-no-inv: #121212;
    --bck-main-color2: #1a1a1a;
    --bck-surface-color: #171717f0;
    --bck-surface-color2: #3f3d3d;
    --bck-surface-color3: #858585d8;
    --text-primary-color: #e0e0e0;
    --text-secondary-color: #a0a0a0;
    --text-secondary-color2: #acacac;
    --text-interactive-color: #4db8c1;
    --text-redirect-color: #5773c7;
    --text-redirect-color2: #2b489d;
    --text-header-color: #d0cccc;
    --text-success-color: #35df12;
    --button-submit-color: #607f4ed8;
    --border-inverse-color: #ddd;
    --cookie-accept-button-color: #4dc01f;
}
:root.light-mode {
    --bck-main-color: #fffffffc;
    --bck-main-color-no-inv: #ffffff;
    --bck-main-color2: #eeeded;
    --bck-surface-color: #f5f5f5f0;
    --bck-surface-color2: #fcf9f9;
    --bck-surface-color3: #a2a2a2d8;
    --text-primary-color: #000000;
    --text-secondary-color: #a0a0a0;
    --text-secondary-color2: #acacac;
    --text-interactive-color: #067031;
    --text-redirect-color: #5773c7;
    --text-redirect-color2: #2b489d;
    --text-header-color: #fafafa;
    --text-success-color: green;
    --button-submit-color: #b3cda4d8;
    --border-inverse-color: #232323;
    --cookie-accept-button-color: #29790a;
}

html, body {
    margin: 0;
    height: 100%;
    min-height: 100vh;
    background-color: var(--bck-main-color);
    color: var(--text-primary-color);
}

a {
    color: var(--text-redirect-color);
}
a:hover {
    color: var(--text-redirect-color2);
    text-decoration: underline;
}

button {
    cursor: pointer;
}

.main-screen {
    display: flex; 
    min-height: 100vh; 
    flex-direction: column;
    background-color: var(--bck-main-color-no-inv);
}

.header-screen {
    width: 100%; 
    padding-bottom: 1rem;
}

.yield-screen {
    width: 100%; 
    flex: 1 1 0%; 
    padding: 1rem;
    box-sizing: border-box;
    max-width: 100%;
}

.footer-screen {
    width: 100%; 
    padding-top: 1rem;
}

.title-text {
    font-size: 28px;
    font-weight: 700;
}

.sub-title-text {
    font-size: 24px;
    font-weight: 200;
}

.plain-text {
    font-size: 18px
}

.responsive-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.sm-separator {
    padding: 1rem;
}


.scroll-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    z-index: 100;
    width: 54px;
    height: 54px;
    transition: opacity .3s ease, visibility .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;

    button {
        background-color: var(--bck-surface-color3);
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0,0,0,.3);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.scroll-to-top.hidden {
    opacity: 0;
    visibility: hidden;
}

@media (max-height: 400px) {
    .title-text {
        font-size: 1rem;
        font-weight: 800;
    }
}