@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@700&display=swap');

:root { 
  --default-highlight: #eeeeee;
}

@keyframes loading {
  0%{ content: ".\00a0\00a0"; }
  33% { content: "..\00a0"; }
  67% { content: "..."; }
  100% { content: "..."; }
}

div.page {
    --highlight: var(--default-highlight);
    border-top: 5px solid var(--highlight);
    transition: border-top-color 0.5s;
}

div.page.error {
    --highlight: var(--error, #ff0000);
}

p.url {
    font-family: IBM Plex Mono, monospace;
    font-weight: 400;
    color: #6c757d;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

output {
    font-family: IBM Plex Mono, monospace;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
}

output:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    vertical-align: -10%;
    background-color: var(--highlight);
    margin-right: 0.75em;
    transition: background-color 0.5s;
}


.loading output::after {
    content: "";
    animation: loading 3s steps(3) infinite;
}