:root {
    --color-bg: #322842;
    --color-ts: rgb(101, 13, 137);
    --color-logo: #ce4f4a;
    --color-link: #ff3bf5;
    --color-hover: rgb(249, 200, 14);
}

@font-face {
    font-family: "ArchivoBlack";
    src: url('/fonts/ArchivoBlack-Regular.ttf');
}
@font-face {
    font-family: "Inconsolata";
    src: url('/fonts/Inconsolata.ttf');
}

html, body {
    margin: 0;
    border: 0;
    height: 100%;
    min-height: 100%;
}

.holder {
    display: flex;
}
.column {
    flex-direction: column;
}
.filler {
    flex: 1;
}

body {
    background-color: var(--color-bg);
    font-family: 'Inconsolata', Arial, Helvetica, sans-serif;
    color: white;
    min-width: 1024px;
}

a {
    font-weight: 100;
    color: var(--color-link);
    text-decoration: none;
    border-bottom: 1px dotted transparent;
}

#logo {
    cursor: default;
}
#logo-l1 {
    font-family: 'ArchivoBlack';
    font-size: 2.5rem;
    line-height: 3rem;
    color: white;
    position: relative;
    z-index: 10;
}
#logo-l1::before{
    content: "FEROSSA";
    position: absolute;
    top: 3px;
    left: -2px;
    color: rgb(0, 255, 255);
    z-index: -1;
}
#logo-l1::after {
    content: "FEROSSA";
    position: absolute;
    top:3px;
    left: 2px;
    color: rgb(255,0,255);
    z-index: -2;
}
#logo-l2 {
    display: block;
    color: var(--color-logo);
    font-family: 'Inconsolata';
    text-align: center;
    letter-spacing: 1.5rem;
    padding-left: 1.5rem;
    margin-top: -0.5rem;
    z-index: 10;
}

nav {
    padding: 1rem 3rem;
    display: flex;
}
.mi a {
    display: block;
    margin: 0.5rem 0.5rem 0.25rem;
}
.mi a.active {
    color: var(--color-hover);
}

.mi:hover > a,
.mi:focus-within > a {
    border-bottom: 1px dotted var(--color-link);
    outline: none;
}

.dd {
    display: none;
    position: absolute;
    background-color: var(--color-bg);
    padding-bottom: 0.5rem;
}
.dd .mi {
    display: flex;
    border-left: 1px solid rgb(0, 255, 255);
}
.dd .mi a {
    margin: 0.25rem 0.5rem 0rem;
}

.mi:hover > .dd,
.mi:focus-within > .dd,
.mi .dd:hover,
.mi .dd:focus {
    display: block;
}

main {
    margin: 0 auto 1rem auto;
    width: 900px;
    /*overflow: auto;*/
}

footer {
    text-align: center;
    font-family: 'Inconsolata';
    color: white;
}

.breadcrumbs {
    text-align: right;
}

h1 {
    font-size: x-large;
    font-weight: lighter;
    padding: 0;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    text-align: center;
    border-top: 1px solid var(--color-ts);
}

/* pageboard */
.pageboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2rem;
}

.pagecard {
    padding: 0 0.5rem;
}

.pagecard a, .pagecard img {
    display: block;
    border-radius: 0.5rem;
}

.pagecard a {
    border: 1px solid var(--color-ts);
    position: relative;
    display: inline-block;
    height: 200px;
    width: 282px;
}

.pagecard img {
    filter: grayscale();
}

.pagecard a:hover img {
    filter: none;
}

.pagecard a div {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: center;
    padding: 0.5rem;
    color: white;
    background-color: rgba(23, 23, 23, 0.5);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    text-shadow: 0 0 4px black;
}

/* cardboard */
.cardboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 2rem;
}
.card-title, .card-subtitle, .card-action {
    padding: 0 0.5rem;
}
.card-image div, .card-image img {
    border-radius: 0.5rem;
}
.card-image div {
    border: 1px solid var(--color-ts);
    display: inline-block;
}
.card-image img {
    display: block;
}
.card-image img.completed {
    filter: grayscale();
}
.card-action input {
    float: left;
}
.card-action .holder {
    height: 26px;
    vertical-align: middle;
}
.card-action label {
    padding-left: 0.5rem;
    height: 20px;
    margin: 3px;
}

/* inputs */
input[type="checkbox"] {
    position:relative;
    width:40px;
    height:20px;
    appearance: none;
    outline: none;
    border-radius: 10px;
    cursor: pointer;
    /*background: linear-gradient(0deg, #70a1ff, #1e90ff);*/
    background: rgb(84, 13, 110);
    box-shadow: 0 0 0 2px var(--color-ts), inset 0 0 10px rgba(0,0,0,1);
}

input[type="checkbox"]:before {
    content:'';
    position:absolute;
    top:1px;
    left:1px;
    width:18px;
    height:18px;
    background: linear-gradient(0deg, var(--color-link), var(--color-ts));
    border-radius: 10px;
    box-shadow: 0 0 0 1px #232323;
  }

  input:checked[type="checkbox"]:before {
    left:20px;
  }

  input[type="checkbox"]:after {
    content: "x";
    position:absolute;
    left: 7px;
    top: 2px;
    color: var(--color-bg);
  }
  input:checked[type="checkbox"]:after {
    content: "v";
    left: 26px;
  }
  label {
    line-height: 20px;
  }