:root {
    --primary-color: #ff7b7b;
    --secondary-color: #1f1f1f;
    --redstone-color: rgb(100,0,0);
    --background-color: #292929;
    --text-color: white;
}

body {
    display: flex;
    flex-direction: column;

    font-family: Arial, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    margin: 0px;

    min-height: 100vh;
}

a {
    text-decoration: underline;
    text-decoration-style: dashed;
}
a:link {
    color: #ff7b7b;
}
a:visited {
    color: #929292;
}
a:hover {
    color: #ffffff;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px;
    background: linear-gradient(to top, rgba(100,0,0,0.5), var(--secondary-color));
    border-bottom: 2px solid var(--primary-color);
}

.navbar-icon {
    width: 45px;
    height: 45px;
    margin: 4px;
    border-radius: 10%;
    filter: drop-shadow(0 0 5px black);

    transition: transform 0.2s ease, filter 0.2s ease;
}
.navbar-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.navbar button {
    border: 0;
    padding: 8px 16px;
    color: var(--text-color);
    text-decoration: dashed underline;
    background-color: rgba(0,0,0,0);
    background-image:
        linear-gradient(to right, var(--primary-color), var(--redstone-color)),
        linear-gradient(to right, #2c0000, rgba(0,0,0,0));
    background-repeat: no-repeat;
    background-position: left center, left center;
    background-size: 0% 100%, 100% 100%;

    filter: drop-shadow(0 0 5px black);
    transition: background-size 300ms ease, transform 200ms ease, filter 200ms ease;
}
.navbar button:hover {
    background-size: 100% 100%, 100% 100%;
    transform: translate(0, -2px);
    filter: drop-shadow(0 0 5px var(--primary-color));
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px 0px 16px 0px;
    background-color: #1f1f1f;
    margin-top: auto;
    border-top: 2px solid var(--primary-color);
}
.footer-note {
    font-size: 12px;
    font-style: italic;
    align-self: center;
}

main {
    display: flex;
    flex: 1 0 auto;
}

.main-iframe {
    width: 100vw;
    height: 100vh;
}

.page {
    display: none;
    flex-grow: 1;
    border: none;
}
.page.active {
    display: block;
}