html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: pixelFont, Helvetica, sans-serif;
    /* background-image: repeat;
    background-image: url(background.png);
    background-image: linear-gradient(to top, #150832, #771951, #d04747, #f89d18, #daff2a); */
}

#bgFront, #bgBack {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    background-size: cover;
    filter: brightness(75%);
    z-index: -1;
}

#bgFront {
    background-image: url(dreamfrontloop.png);
    background-size: cover;
    background-repeat: repeat-x;
    opacity: 0.5;
    animation: scrollLeft 360s linear infinite, hueShift 10s linear infinite
}

#bgBack {
    background-image: url(dreambackloop.png);
    background-color: #222022bf;
    background-size: cover;
    background-repeat: repeat-x;
    animation: scrollRight 360s linear infinite, hueShift 10s linear infinite
}

.transition {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@font-face {
    font-family: pixelFont;
    src: url(pkmn-font.ttf)
}

@keyframes scrollRight {
    0% {
        background-position: 0 0
    }
    to {
        background-position: 100% 0
    }
}

@keyframes scrollLeft {
    0% {
        background-position: 100% 0
    }
    to {
        background-position: 0 0
    }
}

@keyframes hueShift {
    0% {
        filter: hue-rotate(0deg)
    }
    to {
        filter: hue-rotate(360deg)
    }
}

#wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#container {
    display: flex;
    flex: 1;
    gap: 20px;
    padding: 0 0 1em 0;
}

header {
    color: #FFFFFF;
    text-align: center;
    font-size: 90px;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
}

nav {
    display: block;
    font-size: 2.5rem;
    text-align: center;
    padding: 0px;
}

nav a {
    text-decoration: none;
    padding: 8px 0px 8px 8px;
    display: block;
    max-width: 95%;
    color: #e4e4e4;
}

nav a:hover {
    color: #acacac;

}

nav ul {
    margin: 0px;
}

nav li {
    position: relative;
    display: block;
    text-align: left;
}

#navContainer {
    display: flex;
    background-color: #282828e8;
    padding: 0px;
    box-sizing: border-box;
    width: 20%;
    border-radius: 15px;
    border: 15px solid transparent;
    border-image: url(pmdtextbox.png) 43 round;
    margin-left: 2.5%
}

#cursor-icon {
  display: block;
  margin-right: 10px;
  padding: 8px 0px 8px 8px;
}

main {
    display: flex;
    text-align: center;
    font-size: 2.3rem;
    color: #FFFFFF;
    background-color: #282828e8;
    box-sizing: border-box;
    flex: 1;
    border-radius: 15px;
    border: 15px solid transparent;
    border-image: url(pmdtextbox.png) 43 round;
    margin-right: 2.5%;
}

main ul {
    list-style-type: none;
}

main a {
    color: #e4e4e4;
}

main a:visited {
    color: #acacac;

}

main > * {
    margin-left: auto;
    margin-right: auto;
}

main h2 {
    font-weight: normal;
}

.assignmentList {
    column-gap: 0.5rem;
    columns: 1;
}

footer {
    background-color: #282828e8;
    color: #FFFFFF;
    text-align: center;
    padding: 8px;
    font-style: italic;
    padding: 0.5em;
    border-radius: 15px;
    border: 15px solid transparent;
    border-image: url(pmdtextbox.png) 43 round;
    filter: hue-rotate(100deg);
    margin-left: 5%;
    margin-right: 5%;
}

table {
    border: 1px solid black;
    border-collapse: collapse;
    width: 50%;
}

th,
td {
    margin: 0px;
    padding: 3px;
}

tr:nth-child(even) {
    background-color: #F9F871;
}

img {
    margin-left: auto;
    margin-right: auto;
}