:root {
    --text-default: #fefefe;
    --background-colour: #020107;
    --bar-default-colour: #415161;
    --bar-edge-colour: #56616d;
    --bar-hover-colour: #b4b586;
    --bar-edge-hover-colour: #dcdda4;

}
/* like 90% of this assignment was me in CSS doing things that were not at all required 👽 */
@font-face {
    font-family: "Bombadier";
    src: url("assets/Bombardier-Regular.ttf");
}

* {
    box-sizing: border-box;
    font-family: Bombadier;
}


body {
    background: var(--background-colour);
    /* ror colours wow */
}

header {
    background-color: var(--background-colour);
    padding: 10px;
    padding-left: 100px;
    text-align: left;
    color: var(--text-default);
}

/* Style the topnav */
ul.bar {
    display: flex;
    list-style-type: none;
    margin: 0;
    gap: 20px;
    padding-left: 60px;
}

/* Style links in topnav */
ul.bar li a {
    box-sizing: border-box;
    display: block;
    color: var(--text-default);
    background: var(--bar-default-colour);
    box-shadow: 0px 0px 1px 2px var(--bar-edge-colour) inset;
    padding: 14px 16px;
    text-decoration: none;
    outline: 0.1mm solid #8b8b8b;
}

.responsive-nav ul {
    display: none;
}

.responsive-nav .hamburger {
    box-sizing: border-box;
    color: var(--text-default);
    background: var(--bar-default-colour);
    box-shadow: 0px 0px 1px 2px var(--bar-edge-colour) inset;
    font-size: 1.5em;
    cursor: pointer;
    border: none;
    outline: 0.1mm solid #8b8b8b;
}

.responsive-nav .hamburger:hover {
    box-sizing: border-box;
    color: var(--text-default);
    font-size: 1.5em;
    cursor: pointer;
    border: none;
    background-color: var(--bar-hover-colour);
    animation: hoveranim 0.1s 1;
    box-shadow: 0px 0px 1px 2px var(--bar-edge-hover-colour) inset;
    outline: 2px var(--text-default) solid;
    outline-offset: 2px;
}

.apology {
    color: var(--text-default);
    font-size: 0.75em;
}

/* Change color on hover */
ul.bar li a:hover {
    box-sizing: border-box;
    background-color: var(--bar-hover-colour);
    box-shadow: 0px 0px 1px 2px var(--bar-edge-hover-colour) inset;
    padding: 14px 16px;
    color: var(--text-default);
    animation: hoveranim 0.1s 1;
    outline: 2px var(--text-default) solid;
    outline-offset: 2px;
}

.currentpage {
    box-sizing: border-box;
    border: 4px solid transparent;
    border-image: url(assets/activeborder.png) 16 round;
}

.noncurrentpage {
    box-sizing: border-box;
    border: 4px solid transparent;

}
/* I was beefing with borders for a while then i remembered Outlines exist */
@keyframes hoveranim {
    0% {
        outline-offset: 8px;
        background-color: var(--text-default);
    }

    100% {
        outline-offset: 2px;
    }
}

@keyframes hoveranimrev {
    0% {}

    100% {
        background-color: var(--text-default);
    }
}

main {
    display: block;
    margin: 20px;
    border: 1px solid #222934;
    height: fit-content;
    width: min-content;
    color: var(--text-default);
}


div a {

    color: var(--text-default);
    text-decoration: none;
    align-content: center;
    justify-content: center;
    width: 10%;
    display: flex;
    margin-left: 40px;
    box-shadow: inset 0px 0px 0px 2px;
    outline: 1px var(--text-default) solid;
    outline-offset: 2px;
    padding: 5px;
}

div a:hover {
    box-shadow: inset 0px 0px 0px 1px #2f2f2f;
    outline: 2px solid;
    outline-offset: 3px;
    animation: hoveranim 0.1s 1;
}

div a:not(:hover) {
    animation: hoveranimrev 0.1s 1;
}

section {
    width: 200%;
    background-color: #181c20;
    overflow: hidden;
}

div h3 {
    margin: 3px;
    text-align: center;
    border: solid 2px #3c3d53;
    background-color: #1c1a21;
}

div ul li {
    display: flex;
    align-items: center;
    padding-left: 3px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 0px;
    margin-bottom: 3px;
    border: solid 1px #2b3239;
    text-align: left;
    background-color: #191a1e;
    list-style-type: none;
}

div ul li p {
    color: #fafa93;
    margin-left: 0.5em;
}

div ul li img {
    margin-left: 1em;
    width: 20%;
}

div ul li:hover {
    border: solid 1px #484862;
    background-color: #3c3d53;
}

.eclipseIcon:not(.highest) {
    display: none;
}

.charName {
    font-size: 1em;
    width: 25%;
}

.charImg {
    width: 25%;

}

.eclipseIcon {
    width: 10%;

}

.incomplete {
    opacity: 25%;
}
/* I wonder how many of these things in here i even need  */
@media screen and (min-width: 600px) {
    main {
        display: flex;
        margin: 20px;
        border: 1px solid #222934;
        height: 400px;
        width: auto;
        color: var(--text-default);
    }

    .responsive-nav ul {
        display: flex;
    }

    .responsive-nav .hamburger {
        display: none;

    }

    .apology {
        display: none;
    }

    .charName {
        font-size: 1em;
        width: 25%;
    }

    .charImg {
        width: 25%;

    }

    .eclipseIcon {
        width: 10%;

    }

    .incomplete {
        opacity: 25%;
    }

    section {
        width: 200%;
        background-color: #181c20;
        overflow: scroll;
    }
    .eclipseIcon:not(.highest) {
    display: initial;
}
}
/* Theres definitely hella leftovers but im already a day late so Geremy you get to suffer ig */