@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap');


/*let's initialise some colors*/
:root {
    --bg-purple: #351F43;
    --box-purple: #41284d;
    --off-white: #f5f2ef; /*it's a bit more orange. easier on the eyes*/
    --links-orange: #f1b69c;
    --links-pink: #f08dab;
    --shadows-pink: #c94692;
}

body {
    font-family: 'Atkinson Hyperlegible Mono', monospace;
    background-color: var(--bg-purple);
    color: var(--off-white);
    padding: 10px;
}

a {
    color: var(--links-orange); /*geeeeeeeenerally this one, but we could mix it up*/
    text-decoration: dotted underline 2px;
    text-underline-offset: 3px;
    transition: color 0.25s ease,
                text-shadow 0.5s ease;
}

a:hover {
    color: var(--links-pink);
    text-shadow: 0 0 10px var(--shadows-pink);
}

.sitenav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: fit-content;
}

.sitenav > p {
    font-size: 125%;
    margin: 1em;
}

.dotted-box {
    border: 2px dotted #f5f2ef40;
    border-radius: 10px;
    background-color: var(--box-purple);
    padding: 10px;
    margin: 10px;
    width: fit-content;
}

/* these remove a bit of clutter */
.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ugly code for mobile compatibility */
.portrait-embiggen {
    max-width: 75%;
    /* transition: max-width 0.5s ease; */
}

.portrait-show {
    max-width: 20%;
    display: none;
}

.portrait-resize {
    max-width: 1200px;
    margin: 30px;
}

@media (max-width: 1280px) {
  .portrait-hide {display: none}
  .portrait-embiggen {max-width: 100%}
  .portrait-resize {max-width: 750px}
  .portrait-show {display: flex}
}

@media (max-width: 850px) {
  .portrait-show {display: none}
  .portrait-resize {max-width: 600px}
}